Question 231 of 760
Achieving Exactly-Once Semantics with Azure Stream Analytics for Dedicated SQL Pool
You are designing a data processing solution in Azure Synapse Analytics. The solution must process streaming data from Azure Event Hubs and store the results in a dedicated SQL pool. The solution must support exactly-once semantics and handle late-arriving data. Which Azure service should you use to implement this solution?
Quick Answer
Azure Stream Analytics is the correct choice because it natively delivers exactly-once semantics when streaming to a dedicated SQL pool, using checkpointing and output deduplication to ensure no data is lost or duplicated even during failures. This service also handles late-arriving data through configurable late arrival tolerance windows and out-of-order event policies, making it ideal for the scenario described. On the DP-203 exam, this question tests your understanding of how Azure Stream Analytics integrates with Event Hubs and Synapse dedicated SQL pools, often appearing as a trap where candidates mistakenly choose Azure Data Factory or Spark Structured Streaming—but those lack the native, built-in exactly-once guarantees for this specific pipeline. Remember the key: for streaming to a dedicated SQL pool with exactly-once and late-arrival handling, Azure Stream Analytics is the only first-party service that does it all out of the box. Memory tip: “ASA for ASA” — Azure Stream Analytics for Always Safe Arrival.
⚠ Common exam trap
Many exam-takers confuse batch-oriented services like Azure Data Factory with streaming solutions, or assume that any event-driven compute (like Azure Functions) can provide exactly-once semantics and late-arriving data handling without understanding the specialized streaming engine requirements.
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 natively integrates with Azure Event Hubs and dedicated SQL pools, supports exactly-once semantics through checkpointing and output deduplication, and provides built-in handling for late-arriving data via configurable late arrival tolerance windows and out-of-order event policies.
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 with tumbling window trigger.
Why it's wrong here
Azure Data Factory is designed for batch processing, not real-time streaming.
- ✓
Azure Stream Analytics.
Why this is correct
Azure Stream Analytics provides exactly-once semantics and handles late-arriving data.
- ✗
Azure Functions with Event Hubs trigger.
Why it's wrong here
Azure Functions does not guarantee exactly-once processing without additional logic.
- ✗
Azure HDInsight Spark Structured Streaming.
Why it's wrong here
Spark Structured Streaming requires custom checkpointing and sink implementation for exactly-once.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Same concept, more angles
2 more ways this is tested on DP-203
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. You are designing a data processing solution in Azure Synapse Analytics. The solution must process streaming data from Azure Event Hubs and store the results in a dedicated SQL pool. You need to choose the most appropriate service for near real-time ingestion with minimal latency. What should you use?
medium- A.Azure Databricks with Structured Streaming
- ✓ B.Azure Stream Analytics
- C.Azure Data Factory
- D.Azure Functions with Event Hub trigger
Why B: Azure Stream Analytics is the correct choice because it is purpose-built for near real-time stream processing with sub-second latency, directly integrates with Azure Event Hubs as an input source and dedicated SQL pool as an output sink, and provides a SQL-like query language for defining transformations. This minimizes architectural complexity and latency compared to other services.
Variation 2. You are developing a data processing solution in Azure Synapse Analytics. The solution must support both batch and streaming data ingestion into a dedicated SQL pool. You need to ensure that data from streaming sources is available for queries within 5 seconds. Which approach should you use?
hard- ✓ A.Use Azure Stream Analytics with a custom SQL function that writes directly to the dedicated SQL pool
- B.Use Azure Databricks with Structured Streaming, write to Data Lake Storage, and then use PolyBase to load into SQL pool
- C.Use Azure Data Factory with tumbling window triggers to load data from Event Hubs every 5 seconds
- D.Use Event Hubs Capture to write to Data Lake Storage, then use PolyBase to load into the SQL pool every 5 seconds
Why A: Azure Stream Analytics can output directly to Azure Synapse Analytics dedicated SQL pool using the built-in Azure Synapse Analytics output adapter, which supports high-throughput, low-latency writes. This enables streaming data to be available for queries within seconds, meeting the 5-second latency requirement without intermediate storage or batch processing steps.
Last reviewed: Jun 24, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.