DP-900 Describe an analytics workload on Azure Practice Question
A company ingests streaming data from thousands of devices into Azure Event Hubs. They need to transform and aggregate the data in real time before storing it in Azure Data Lake Storage Gen2. Which Azure service should they use between Event Hubs and ADLS Gen2?
⚠ Common exam trap
Test-takers frequently confuse Azure Stream Analytics with Azure Functions or Azure Databricks for real-time processing, but Stream Analytics is the only service that provides a fully managed, low-latency, SQL-based streaming pipeline without requiring custom code or cluster management.
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 Stream Analytics
Azure Stream Analytics is purpose-built for real-time data processing and analytics, allowing you to define SQL-like queries to transform and aggregate streaming data from Event Hubs before outputting it directly to Azure Data Lake Storage Gen2. It provides exactly-once delivery semantics and low-latency processing, making it the ideal service for this ingestion-to-storage pipeline.
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 Functions
Why it's wrong here
Azure Functions is a serverless compute service designed to execute short-lived, event-driven code in response to a trigger, such as a single Event Hubs message or batch. It has no built-in temporal windowing, stateful stream aggregation, or SQL-like query engine, so continuously aggregating thousands of IoT device streams would require manually implementing window state and exactly-once semantics in code. That makes it appropriate for per-event reactions like alerting or enrichment, not sustained low-latency analytical aggregates.
- ✗
Azure Databricks
Why it's wrong here
Azure Databricks is a powerful analytics platform for complex data engineering, machine learning, and data science, including processing streaming data with Spark. However, for straightforward real-time transformations and aggregations, it introduces the overhead of managing Spark clusters, which is not ideal for a simple, continuous, low-latency pipeline. It would be the correct choice if the scenario required advanced analytics, machine learning inference, or highly complex, stateful stream processing beyond basic aggregations.
- ✓
Azure Stream Analytics
Why this is correct
Azure Stream Analytics is a fully managed stream-processing engine built precisely for real-time, high-throughput IoT telemetry. It reads directly from Event Hubs or IoT Hub and runs declarative SQL-like queries that support tumbling, hopping, sliding, and session windows for continuous in-memory aggregation. Because the service handles checkpointing, scaling, and fault tolerance automatically, it delivers consistent sub-second results without the operational burden of managing clusters or writing custom stateful code.
- ✗
Azure Data Factory
Why it's wrong here
Azure Data Factory is a cloud data integration and orchestration service centered on scheduled pipelines, batch ETL, and copy activities across stores. It lacks an engine for unbounded streams and time-windowed queries, so feeding it thousands of live device events would mean either creating stop-gap micro-batches with noticeable latency or wiring it to another streaming service first. Its natural role is periodic batch movement, not always-on real-time aggregation.
Go deeper
Related to this question
Learn chapter
Data Roles and Core Concepts
Key term
Service
A service is a software component or system that performs a specific function and is available to be used by other programs or users over a network.
Key term
Data lake
A data lake is a centralized storage repository that holds vast amounts of raw data in its native format until it is needed for analysis.
About these practice questions
This DP-900 question is part of Courseiva's 820-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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-900 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-900 exam.