Skip to content
datastudyguides

DP-900 · 4.2.1 · Describe an analytics workload

Batch versus streaming data

Describe the difference between batch and streaming data

handles a collected group of records at once; handles each event as it arrives.

Batch

Microsoft Learn batch example: cars in a parking lot are counted together, afterward.

Visual: Microsoft Learn.

collects records first and processes the whole group together, on a schedule or once enough data has arrived. A monthly credit card statement is a batch result.

Streaming

Microsoft Learn streaming example in which passing cars are counted immediately in rolling time windows.

handles each event as it arrives, continuously. Each car is counted as it passes, and a rolling total stays up to date. A smoke detector must work this way.

How they differ

  • Data scope
    The whole dataset
    Typically hours
    Analysis
    Complex, exploratory
    Triggered by
    A schedule or a threshold
  • Data scope
    Recent data or a time window
    Latency
    Seconds or milliseconds
    Analysis
    Simple aggregates, rolling calculations
    Triggered by
    Every new event
Batch against streaming

Using both

Microsoft Learn lambda architecture combining a real-time stream path with batch processing and historical analytics.

Visuals: Microsoft Learn.

A has a real-time path for live and alerts, and stores the same events for batch analysis together with historical data.

On the exam, scheduled or a monthly report signals batch; as it happens or immediate alert signals streaming.

Key points

  • : collect records, process the group on a schedule or trigger
  • : process each event continuously, in near real time
  • Scope: batch sees the whole dataset, streaming a recent window
  • : batch takes hours, streaming seconds or milliseconds
  • Analysis: batch suits complex work, streaming simple rolling aggregates
  • : a real-time path and a batch path on the same data

Click an underlined term for a one-line explanation, or see them all in the glossary .

Exam trap

Data that arrives continuously does not require . If the business needs complex analysis over everything, not an instant response, fits better.

Sources · 1 Microsoft Learn page Show ▾

Checked on October 4, 2026. Report a problem

Go deeper on Microsoft Learn

Checked against Microsoft Learn on October 4, 2026. Report a problem with this card

How well do you know this?