Try a sample question
This is an original sample question written by itmoshi based on the exam objectives.
Factory equipment sends a temperature sensor reading every second. There are two requirements: (1) notify the person responsible within 10 seconds when the temperature exceeds a threshold; (2) produce a monthly report of equipment operation. Which data processing approach is suited to requirement (1)?
- AStream processing that handles each reading as it arrives
- BBatch processing that handles a day's data together overnight
- CHourly loads into a data warehouse followed by aggregation
- DOLAP analysis that aggregates all data at the end of the month
Show answer and explanation
Answer:A To process data as it arrives and get results within seconds, use stream processing.
Why it is correct
Stream processing handles data as it is generated, one event at a time or in short windows of a few seconds, so results are available in near real time. Requirement (1), notifying within 10 seconds of a threshold breach, means each reading must be evaluated as soon as it arrives, which is what stream processing does. On Azure, services such as Azure Stream Analytics work this way.
The other options
- ✗ B This option collects a day's data and processes it overnight, so results arrive the next morning at the earliest and a 10-second notification is impossible. It suits large aggregations where delay is acceptable, such as the monthly report in requirement (2).
- ✗ C Hourly loads are still small batches, with up to an hour of delay, so the requirement is not met. Use them for analysis where data a few hours old is good enough.
- ✗ D This option aggregates all data only once, at month-end, so nothing is evaluated when the threshold is crossed; it cannot provide instant detection. It suits trend analysis by period, as in requirement (2).
Key takeaway
Choose by when you need the result. React within seconds → stream processing. Aggregate large volumes accurately even if it takes time → batch processing (then analyze the results with OLAP or reports).
Try 29 questions like this for free
itmoshi is an unofficial study service and is not affiliated with Microsoft or any exam provider.