Courseiva
Describe an analytics workload on AzuremediumMultiple ChoiceObjective-mapped

Real-Time Stream Processing with Azure Stream Analytics

A retail company wants to analyze customer clickstream data in real-time to detect patterns and trigger personalized offers. They also store the raw clickstream data in Azure Data Lake Storage for later batch analysis. Which Azure service should they use for the real-time processing component?

Quick Answer

Azure Stream Analytics is the correct choice because it is purpose-built for real-time stream processing, enabling the retail company to analyze clickstream data as it arrives, detect patterns with SQL-like queries, and trigger personalized offers with sub-second latency. This service ingests data from sources like Azure Event Hubs, processes it continuously, and can output results to storage or downstream actions, perfectly matching the need for immediate pattern detection. On the Microsoft Azure Data Fundamentals DP-900 exam, this question tests your understanding of which Azure service handles real-time versus batch workloads—a common trap is confusing Azure Stream Analytics with Azure Data Lake Storage or Azure Synapse Analytics, which are designed for batch or historical analysis. Remember the memory tip: “Stream for streaming, Lake for later”—Azure Stream Analytics processes live data, while Data Lake stores raw data for future batch jobs.

⚠ Common exam trap

A common mix-up: candidates confuse Azure Data Factory (a batch ETL tool) with real-time processing, or they assume Azure Data Lake Analytics can handle streaming data because it works with Data Lake Storage, but it is strictly a batch service.

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 the correct choice because it is designed for real-time data processing and analytics on streaming data, such as clickstream events. It can ingest data from sources like Azure Event Hubs, apply SQL-like queries to detect patterns, and output results to triggers or storage, all with sub-second latency. This matches the requirement for real-time pattern detection and personalized offer triggering.

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 Data Factory

    Why it's wrong here

    Azure Data Factory is primarily an orchestration and data movement service for batch and scheduled pipelines, not for real-time stream processing.

    When this WOULD be correct

    A company needs to ingest and transform clickstream data from multiple sources into Azure Data Lake Storage on a nightly schedule, with monitoring and alerting on pipeline failures.

  • Azure Stream Analytics

    Why this is correct

    Azure Stream Analytics processes streaming data in real time using SQL-like queries, making it suitable for real-time analytics and event-driven responses.

  • Azure Batch

    Why it's wrong here

    Azure Batch is for running large-scale batch computing workloads, not real-time stream processing.

    When this WOULD be correct

    A company needs to run a massive parallel job to process terabytes of historical clickstream data stored in Azure Blob Storage, using custom code (e.g., Python or C++) that can be distributed across many VMs. Azure Batch would be the correct service for this batch computing workload.

  • Azure Data Lake Analytics

    Why it's wrong here

    Azure Data Lake Analytics is a batch query service for data stored in Data Lake Storage; it does not process real-time streaming data.

    When this WOULD be correct

    A company needs to run complex, ad-hoc queries and transformations on large volumes of data stored in Azure Data Lake Storage, such as analyzing historical clickstream data to identify long-term trends, without requiring real-time processing.

Option-by-option analysis

Why each answer is right or wrong

Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The DP-900 exam frequently reuses these exact scenarios with slightly different constraints.

Azure Stream AnalyticsCorrect answer

Why this is correct

Azure Stream Analytics processes streaming data in real time using SQL-like queries, making it suitable for real-time analytics and event-driven responses.

Azure Data FactoryWrong answer — click to see why

Why this is wrong here

Azure Data Factory is an orchestration and data movement service for batch and scheduled data pipelines, not designed for real-time stream processing of clickstream data.

★ When this WOULD be the correct answer

A company needs to ingest and transform clickstream data from multiple sources into Azure Data Lake Storage on a nightly schedule, with monitoring and alerting on pipeline failures.

Why candidates choose this

Candidates may confuse Data Factory's data movement capabilities with real-time processing, or think it can handle streaming because it integrates with various data stores.

Azure BatchWrong answer — click to see why

Why this is wrong here

Azure Batch is designed for large-scale parallel batch computing jobs, not for real-time stream processing. The question requires real-time analysis of clickstream data, which Azure Batch cannot handle as it lacks native streaming capabilities.

★ When this WOULD be the correct answer

A company needs to run a massive parallel job to process terabytes of historical clickstream data stored in Azure Blob Storage, using custom code (e.g., Python or C++) that can be distributed across many VMs. Azure Batch would be the correct service for this batch computing workload.

Why candidates choose this

Candidates may confuse 'batch' processing with the ability to handle large volumes of data, or they might think Azure Batch can process streaming data because it can run continuously, but it is fundamentally a batch-oriented service.

Azure Data Lake AnalyticsWrong answer — click to see why

Why this is wrong here

Azure Data Lake Analytics is designed for batch processing of large data sets using U-SQL, not for real-time stream processing. The question requires real-time analysis of clickstream data, which Data Lake Analytics cannot provide.

★ When this WOULD be the correct answer

A company needs to run complex, ad-hoc queries and transformations on large volumes of data stored in Azure Data Lake Storage, such as analyzing historical clickstream data to identify long-term trends, without requiring real-time processing.

Why candidates choose this

Candidates may confuse Data Lake Analytics with a real-time analytics service because its name includes 'Analytics' and it works with data in Data Lake Storage, which is mentioned in the question.

Analysis generated from the official DP-900blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”

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 →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

2 more ways this is tested on DP-900

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A company plans to implement a near-real-time analytics solution for streaming IoT sensor data. Which Azure service should they use to ingest and process the data streams?

easy
  • A.Azure Data Factory
  • B.Azure Synapse Analytics
  • C.Azure Data Lake Storage Gen2
  • D.Azure Stream Analytics

Why D: Azure Stream Analytics is a real-time event processing engine designed to ingest, process, and analyze high-velocity streaming data from sources like IoT sensors. It supports SQL-based queries to transform and route data streams to outputs such as Power BI or Azure Synapse, making it ideal for near-real-time analytics.

Variation 2. A company needs to analyze streaming data from IoT devices in real time. They want to identify anomalies and trigger alerts. Which Azure service should they use as the core processing engine?

easy
  • A.Azure Stream Analytics
  • B.Azure Synapse Analytics
  • C.Azure Databricks
  • D.Azure Data Lake Storage

Why A: Azure Stream Analytics is purpose-built for real-time stream processing, allowing you to define SQL-like queries that run continuously against streaming data from sources like IoT Hub. It can detect anomalies and trigger alerts on the fly, making it the correct core processing engine for this IoT scenario.

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.