Configuring Out-of-Order and Late Arrival in Stream Analytics
You are building a real-time processing solution using Azure Stream Analytics. The solution must handle out-of-order events and late arrivals. Which THREE mechanisms should you configure in the Stream Analytics job?
Quick Answer
The answer is to configure the Out-of-order tolerance window, the Late arrival tolerance window, and an output adapter that supports exactly-once delivery. The Out-of-order tolerance window defines the maximum time difference Azure Stream Analytics will reorder events before marking them as late, while the Late arrival tolerance window sets how long the system waits for events that arrive after the event’s timestamp. These two mechanisms work together to handle event ordering in real-time processing, ensuring accurate windowed aggregations even when data arrives out of sequence or delayed. On the DP-203 exam, this topic tests your understanding of Stream Analytics event ordering mechanisms and how to balance latency with correctness. A common trap is forgetting that exactly-once delivery is an output-side requirement, not an input setting—you must choose a compatible sink like Azure SQL or Event Hubs. Memory tip: think “Tolerance for order, tolerance for delay, and exactly-once for the output way.”
⚠ Common exam trap
Test-takers frequently confuse scaling mechanisms (like Streaming units) or storage features (like Event Hubs Capture) with event ordering controls, which are specifically designed to manage temporal anomalies in streaming data.
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
✓
Set an 'Out-of-order tolerance' window in the event ordering settings.
Azure Stream Analytics allows you to configure an 'Out-of-order tolerance' window in the event ordering settings. This window defines the maximum time difference that out-of-order events can be reordered before being considered late. By setting this tolerance, you ensure that events arriving slightly out of sequence are still processed correctly, which is critical for real-time analytics where event order matters.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Set an 'Out-of-order tolerance' window in the event ordering settings.
Why this is correct
This defines how late events can be reordered.
- ✗
Adjust the 'Streaming units' to handle higher throughput.
Why it's wrong here
Streaming units scale performance but do not handle event ordering.
- ✓
Configure a 'Late-arrival tolerance' window.
Why this is correct
This determines how late events are still accepted.
- ✗
Enable 'Event hub capture' to store raw events for reprocessing.
Why it's wrong here
Capture stores events but does not affect processing order within Stream Analytics.
- ✓
Choose an output adapter that supports exactly-once delivery.
Why this is correct
Exactly-once semantics help ensure consistency despite late events.
Go deeper
Related to this question
About these practice questions
This DP-203 question is part of Courseiva's 760-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 →
Same concept, more angles
1 more way 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. Your team is building a real-time dashboard using Azure Stream Analytics. The data source is an Azure Event Hub that receives clickstream events. You need to output aggregated data (counts per page per minute) to an Azure SQL Database for reporting. The query must handle late-arriving events and ensure exactly-once semantics. Which Stream Analytics feature should you use?
easy- A.Use a temporal window function with a 'late arrival' policy specified in the query.
- ✓ B.Use the Input Order section in the Stream Analytics job configuration to set a late arrival tolerance window.
- C.Define a watermark in the query to specify a maximum out-of-order tolerance.
- D.Set the event ordering policy to 'Adjust' to reorder events within a certain time window.
Why B: The Input Order section in Azure Stream Analytics job configuration allows you to set a late arrival tolerance window, which handles late-arriving events by buffering them for a specified duration. This ensures that events arriving after their timestamp are still included in the correct window for aggregation, supporting exactly-once semantics when combined with checkpointing and idempotent output to Azure SQL Database.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.