dp-203 Practice Question 1949
Exam: dp-203
Domain: Design and develop data processing
Topic: Develop a stream processing solution
Difficulty: medium
In a scenario where you need to analyze real-time data from an Azure Event Hub to detect anomalies in sensor readings every 5 minutes, which Azure service should you use for the stream processing, and what type of window should you apply?
Answer Options
A
Azure Functions with Blob Storage
B
Azure Stream Analytics with Tumbling Windows
C
Apache Spark with Sliding Windows
D
Azure Logic Apps with Time-Based Triggers
Correct Answer
B: Azure Stream Analytics with Tumbling Windows
Explanation
Azure Stream Analytics is the appropriate service for this scenario as it can process real-time data streams. Tumbling windows are ideal for this case because they divide the data into fixed-size intervals without overlap, making them suitable for detecting anomalies over a specific time period (every 5 minutes). Hopping windows would not be suitable as they introduce overlapping intervals, which could lead to redundant or missed detections.