InterviewStack.io LogoInterviewStack.io

IoT and Edge Device System Architecture Questions

Designing systems for large fleets of connected devices: device connectivity and provisioning, telemetry ingestion at scale, edge-versus-cloud processing splits, intermittent connectivity, and firmware/config rollout. Covers the constraints of constrained devices and the ingestion pipeline behind them. Distributed architecture where the edge is physical hardware.

EasyTechnical
40 practiced

Outline a complete device to cloud data flow for a battery powered environmental sensor connected via a local gateway to the internet. Include data sampling, local buffering, aggregation, protocol translation, authentication, and cloud ingestion steps. Specify what the gateway should validate locally and when data should be uploaded versus stored until connectivity returns.

MediumSystem Design
39 practiced

Design the end-to-end architecture to support 10,000 IoT devices sending telemetry via MQTT over TLS to cloud services. Cover broker selection/scaling, authentication and per-device credentials, QoS levels to use, offline buffering on device and gateway, topic naming conventions, and an approach to deliver OTA updates to targeted subsets of devices.

MediumSystem Design
43 practiced

Propose an architecture to deliver low-latency cloud-to-device commands to 500k devices that sit behind NATs. Discuss session management, persistent connection strategies, message routing and partitioning across brokers, security and authentication, and how you would scale the broker layer and state for client sessions.

HardTechnical
63 practiced

You have a device with 32KB RAM and limited flash. Propose a concrete strategy to run a tinyML anomaly detection model locally. Cover model selection and compression (quantization, pruning), memory mapping and buffer management, inference runtime choice, periodic model updates, and fallback behavior to cloud inference when necessary.

HardSystem Design
43 practiced

Design a deterministic pipeline to sample an analog sensor at 10 kHz, run fixed-point digital filtering (e.g., FIR or IIR), and publish aggregated results every 10 ms on an MCU without FPU and limited CPU cycles. Include DMA usage, buffer management, double-buffering strategies, fixed-point scaling considerations, WCET analysis, and how to bound jitter to meet deadlines.

Unlock Full Question Bank

Get access to all IoT and Edge Device System Architecture interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.