mediumMultiple ChoiceObjective-mapped
DP-203 Practice Question: Design a near-real-time data processing solution…
You need to design a near-real-time data processing solution that ingests IoT telemetry data from millions of devices. The data must be aggregated per minute and stored in Azure Cosmos DB for low-latency queries. Which Azure service combination should you use?
⚠ Common exam trap
The trap here is that candidates often over-engineer the solution by adding a big-data processing layer (like HDInsight or Databricks) when a simpler, fully managed stream analytics service (Azure Stream Analytics) is the correct choice for fixed-window aggregation and direct Cosmos DB output.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Azure Event Hubs -> Azure Stream Analytics -> Azure Cosmos DB
Azure Stream Analytics provides native, low-latency windowed aggregation (e.g., TumblingWindow for per-minute aggregates) directly on data ingested from Event Hubs, and it has a built-in output sink to Azure Cosmos DB. This combination meets the near-real-time requirement without needing an intermediate compute or storage layer, minimizing end-to-end latency.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Azure Event Hubs -> Azure HDInsight (Kafka) -> Azure Cosmos DB
Why it's wrong here
Overengineered for this scenario.
- ✓
Azure Event Hubs -> Azure Stream Analytics -> Azure Cosmos DB
Why this is correct
Stream Analytics provides near-real-time aggregation.
- ✗
Azure IoT Hub -> Azure Databricks (Structured Streaming) -> Azure Cosmos DB
Why it's wrong here
Databricks streaming can work but is less straightforward.
- ✗
Azure Event Hubs -> Azure Data Factory -> Azure Cosmos DB
Why it's wrong here
Data Factory is not real-time.
Go deeper
Related to this question
About these practice questions
One of 760 original DP-203 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This DP-203 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DP-203 exam.