DP-900 Describe an analytics workload on Azure Practice Question
A retail company collects streaming clickstream data from its website into Azure Event Hubs. They need to aggregate the data in real-time to count page views per product every minute and store the results in Azure SQL Database for a live dashboard. Which Azure service should they use to perform this real-time aggregation?
⚠ Common exam trap
A common mix-up: candidates confuse Azure Stream Analytics with Azure Data Factory or Synapse Pipelines because both can move data, but only Stream Analytics provides native, low-latency stream processing with temporal windowing for real-time aggregation.
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 stream processing, allowing you to define a query that aggregates clickstream data from Event Hubs using a tumbling window of one minute to count page views per product. The result can be written directly to Azure SQL Database, enabling a live dashboard without additional orchestration.
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 Stream Analytics
Why this is correct
Azure Stream Analytics is a fully managed, serverless stream-processing engine that executes continuous, SQL-based queries over unbounded data. It provides built-in temporal windowing functions (tumbling, hopping, and sliding windows) that are ideal for analyzing clickstream events in near real time, and it can write results directly to Azure SQL Database or Power BI with minimal configuration. Unlike a batch tool, it maintains long-running, stateful queries with sub-minute latency, and its per-streaming-unit cost model makes it the simplest and most cost-effective choice for this retail clickstream scenario.
- ✗
Azure Data Factory
Why it's wrong here
Azure Data Factory is designed for batch-oriented data integration and orchestration, using pipelines to copy, transform, and load data on scheduled triggers (for example, hourly or daily). Its activities execute finite workloads that read bounded datasets, so it does not offer a continuous query engine capable of processing an infinite event stream like live clickstream data. To handle streaming with ADF you would need to add a separate streaming service upstream, which makes it the wrong direct answer for real-time clickstream processing.
- ✗
Azure Synapse Pipelines
Why it's wrong here
Azure Synapse Pipelines are built on the same engine as Azure Data Factory, so they inherit the same batch-centric design: they orchestrate flows that run on a fixed schedule or in response to discrete events, acting on bounded datasets rather than processing data continuously. Synapse Pipelines do not provide built-in streaming windows, event-time handling, or stateful aggregation that a live clickstream feed requires. Consequently, while Synapse can move and transform stored clickstream aggregates, it is not the appropriate service for the real-time streaming portion of this scenario.
- ✗
Azure Databricks
Why it's wrong here
Azure Databricks does support real-time ingestion and Structured Streaming through Spark's micro-batch processing, but using it for this task requires provisioning and managing clusters, writing PySpark or Scala code, and explicitly implementing checkpointing and output sinks. This operational overhead, along with per-hour cluster costs, makes Databricks far more complex and expensive than a purpose-built, serverless SQL-based streaming service for the simple task of aggregating clickstream data. Therefore, while it is technically feasible, it is not the simplest or most cost-effective choice, which is why Stream Analytics is the correct answer.
Go deeper
Related to this question
Learn chapter
Data Roles and Core Concepts
Key term
Azure SQL Database
Azure SQL Database is a fully managed relational database-as-a-service (DBaaS) in Microsoft Azure, based on the SQL Server engine, that handles scaling, backups, patching, and high availability automatically.
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.
About these practice questions
One of 820 original DP-900 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-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.