DP-900 Study Guide: Batch vs. Stream Processing and Late Events
Use this DP-900 Azure Data Fundamentals study guide to compare batch and stream processing with an original delivery analytics exercise.
For DP-900 analytics questions, start with how quickly the business needs an answer. Use batch processing for a bounded collection and stream processing when continuously arriving data needs low-latency analysis.
Turn a business request into a processing requirement
A delivery company receives shipment updates throughout the day. Supervisors need to spot a sudden backlog within a few minutes. Finance needs a daily count of completed deliveries for reconciliation. Both teams use the same underlying events, but a few minutes of delay matters more to supervisors than it does for the daily accounting view.
For the supervisor's view, design a streaming process that reads incoming events and updates short-window indicators. For the daily report, run a batch job over the relevant day's data after an agreed cutoff. Separate the publication time and data coverage of each result so stakeholders understand why two numbers can temporarily differ. Document which timezone defines the accounting day.
Use event time to reason about delayed arrivals
A driver completes a shipment at 11:58 p.m., but the phone is offline and sends the event at 12:04 a.m. Event time describes when the delivery happened. Arrival time describes when the analytics pipeline received it. A report grouped by event time assigns the delivery to the earlier day. A report grouped by arrival time may assign it to the next one.
Choose the definition with the stakeholder and specify how late records affect previous results. The supervisor might accept a dashboard that updates immediately and later corrects a recent window. Finance might use a defined cutoff and a revision procedure for late updates. An implementation should be able to explain what has been counted as of a given time.
Keep ingestion, processing, and reporting roles distinct
In an Azure design, a service such as Event Hubs may receive a continuous flow of device or application events. A stream-processing component can read those events and compute counts by time window. Storage can retain the source records for scheduled reconciliation or replay. A report presents the results to a user and can display the time at which they were last updated.
When studying, draw arrows from producer to ingestion, then to processing and destination. Label which component makes the business calculation. If a question changes only the reporting deadline from monthly to every minute, decide which parts of the design must change. The difference usually starts with latency, event volume, and whether the team needs ongoing corrections.
Work a DP-900 scenario with duplicate input
The shipment system sends the same completion event twice. Predict the effect on a simple event counter and on a count reconciled by a stable event identifier. A pipeline can accept duplicate input while producing a single business result if its processing rules identify and reconcile retries. Test that assumption by providing two distinct shipment identifiers and one repeated event.
For a final review, write the answers you expect for today's supervisor view and yesterday's final report when a delivery arrives late. Point to the rule that explains each answer. Then change one constraint, such as a tighter reporting deadline or a longer offline period, and identify the most likely design change.
Use a three-column check sheet with the event identifier, event time, and arrival time. Work through a handful of rows by hand and reconcile the total. This helps you see exactly which records changed a window before you choose an Azure service.
Your next steps
- Choose a processing pattern using the reporting deadline.
- Distinguish event time from arrival time.
- Decide how late and duplicate events affect the published number.
Sources & official resources
Linked resources checked on 2026-12-01. Technical behavior and provider guidance can change; check the documentation for the version you use.
About this guide and its recommendations
Published by Prep With Proof with AI-assisted drafting. Study routines and examples are editorial suggestions, not official exam instructions or claims of a learner's personal results. Cited provider facts are linked; ownership of recommended Prep With Proof products is disclosed. No competitor endorsement or guaranteed certification outcome is implied.
Suggest a correction →