Courseiva
Describe an analytics workload on AzuremediumMultiple ChoiceObjective-mapped

DP-900 Describe an analytics workload on Azure Practice Question

A marketing team wants to analyze social media sentiment in near real-time. They will use Azure Event Hubs to capture tweets and need to aggregate sentiment scores over 5-minute windows. The aggregated results must be stored in Azure Blob Storage for later analysis. Which Azure service should they use to perform the stream processing?

⚠ Common exam trap

Many exam-takers confuse Azure Data Factory or Azure Synapse Analytics as stream processing tools, but Data Factory is batch-only and Synapse is primarily a data warehouse, not a real-time stream processor.

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 a real-time stream processing engine designed to ingest data from sources like Azure Event Hubs, apply temporal aggregations (e.g., 5-minute tumbling windows), and output results directly to Azure Blob Storage. It provides built-in support for windowed functions and exactly-once delivery semantics, making it ideal for near-real-time sentiment analysis without requiring custom code.

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 stream-processing engine that ingests events directly from Azure Event Hubs or IoT Hub, applies SQL-like queries with temporal windows such as tumbling, hopping, and sliding, and emits results to Blob Storage or other sinks. This gives the marketing team near-real-time sentiment analytics without provisioning clusters or writing distributed-streaming logic. Its low-latency, event-time-aware processing is exactly what this social media sentiment scenario requires.

  • Azure Data Factory

    Why it's wrong here

    Azure Data Factory is a data-integration and orchestration service designed for batch pipelines, using activities like Copy, Stored Proc, and custom .NET/Spark, often on a scheduled trigger rather than continuous event arrival. It can move batches of sentiment data to storage, but it does not perform per-event or windowed stream processing with second-level latency from Event Hubs. Relying on it would introduce significant delay and require additional components to simulate streaming, making it unsuitable for near-real-time analysis.

    When this WOULD be correct

    A question where the requirement is to orchestrate and schedule batch data movement from Event Hubs to Blob Storage, or to transform data in a batch manner using mapping data flows, without needing real-time processing.

  • Azure Databricks

    Why it's wrong here

    Azure Databricks can run Spark Structured Streaming to process incoming tweets, but it demands an active compute cluster, configuration of checkpoint directories and schema management, plus development in Python, Scala, or SQL. For a simple recurring sentiment aggregation, this is unnecessarily heavy—overhead in both cost and complexity—and a senior engineer would need to manually handle exactly-once and event-time processing. Stream Analytics provides the same capability with a declarative query and has no infrastructure to manage, making it the pragmatic choice here.

    When this WOULD be correct

    A question where the team needs to perform complex, custom machine learning transformations on streaming data (e.g., using a trained sentiment model in Python) and also requires collaborative notebook development. For example: 'A data science team wants to build and deploy a custom sentiment analysis model on streaming tweets, with the ability to iterate on the model interactively.'

  • Azure Synapse Analytics

    Why it's wrong here

    Azure Synapse Analytics is a cloud-scale analytics platform that combines dedicated SQL pools, serverless SQL, and Apache Spark for querying and processing large volumes of data, but it is not a real-time event processor. While Synapse can consume data from Event Hubs via a Spark notebook or SQL external table, doing so requires explicit code, checkpointing, and stream coordination, and its primary engines were built for interactive batch queries and workloads. This makes Synapse a valuable downstream store for aggregated results, not the service that should calculate the sentiment windows.

    When this WOULD be correct

    A question asks: 'You need to run complex T-SQL queries on large datasets stored in Azure Blob Storage and create a reporting dashboard. Which service provides a serverless SQL pool for querying data lakes?' In that scenario, Azure Synapse Analytics is correct.

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 is a fully managed stream-processing engine that ingests events directly from Azure Event Hubs or IoT Hub, applies SQL-like queries with temporal windows such as tumbling, hopping, and sliding, and emits results to Blob Storage or other sinks. This gives the marketing team near-real-time sentiment analytics without provisioning clusters or writing distributed-streaming logic. Its low-latency, event-time-aware processing is exactly what this social media sentiment scenario requires.

Azure Data FactoryWrong answer — click to see why

Why this is wrong here

Azure Data Factory is an ETL and data orchestration service, not a real-time stream processing engine. It cannot perform near real-time aggregation over 5-minute windows from Event Hubs.

★ When this WOULD be the correct answer

A question where the requirement is to orchestrate and schedule batch data movement from Event Hubs to Blob Storage, or to transform data in a batch manner using mapping data flows, without needing real-time processing.

Why candidates choose this

Candidates may confuse Data Factory's data movement and transformation capabilities with stream processing, or think it can handle streaming data because it can ingest from Event Hubs in batch mode.

Azure DatabricksWrong answer — click to see why

Why this is wrong here

Azure Databricks is a big data analytics platform that can process streams, but it is not the simplest or most cost-effective choice for near real-time sentiment aggregation over 5-minute windows from Event Hubs to Blob Storage. Azure Stream Analytics provides a purpose-built, serverless SQL-based solution for such streaming ETL tasks.

★ When this WOULD be the correct answer

A question where the team needs to perform complex, custom machine learning transformations on streaming data (e.g., using a trained sentiment model in Python) and also requires collaborative notebook development. For example: 'A data science team wants to build and deploy a custom sentiment analysis model on streaming tweets, with the ability to iterate on the model interactively.'

Why candidates choose this

Candidates may associate Databricks with stream processing due to its Structured Streaming capabilities and think it is always the best choice for real-time analytics, overlooking simpler services like Stream Analytics for straightforward aggregation tasks.

Azure Synapse AnalyticsWrong answer — click to see why

Why this is wrong here

Azure Synapse Analytics is a data warehousing and analytics service, not a real-time stream processing engine. It cannot directly process streaming data from Event Hubs over 5-minute windows and output to Blob Storage without additional tools.

★ When this WOULD be the correct answer

A question asks: 'You need to run complex T-SQL queries on large datasets stored in Azure Blob Storage and create a reporting dashboard. Which service provides a serverless SQL pool for querying data lakes?' In that scenario, Azure Synapse Analytics is correct.

Why candidates choose this

Candidates may confuse Synapse Analytics with a stream processing service because it supports real-time analytics through its Spark pools, but the question specifically requires near real-time stream processing with windowed aggregation, which is not Synapse's primary function.

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?”

Quick reference

Azure Blob Storage Tier Comparison

TierStorage CostRetrieval CostLatencyUse Case
HotHighestLowestImmediateActive data, frequent reads
CoolLowerHigherImmediateData accessed < once / month
ColdLower stillHigherImmediateData accessed < once / quarter
ArchiveLowestHighest + rehydration delayHoursLong-term compliance retention

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 →

How Courseiva writes practice questions · Editorial policy

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.