Let’s Get Certified
Module 04 / 12 · Core data concepts

Separate operational writes from analytical scans

Use the unit of work, access pattern and freshness requirement to distinguish OLTP and analytics.

Checkout slows at month end

A dashboard computes regional sales by scanning the live order tables. During the scan, checkout takes longer. The dashboard can be an hour behind. Which workload can move?

Transactional workloads

OLTP serves many short, concurrent operations against current records, often by key. A transfer that debits one account and credits another needs a transaction with an atomic outcome. Indexes can support lookups but also add work to writes.

Analytical workloads

An analytical workload scans and aggregates many historical rows to answer questions across time, products or regions. A warehouse or lakehouse can separate these reads from customer-facing updates. Specify how fresh the analytical copy must be.

Work through the decision

Compare your reasoning

Keep point updates and order commits on the operational store. Copy changes into an analytical platform at a cadence that meets the freshness target. Confirm the dashboard’s totals against the source, accounting for late updates.

Change one constraint

A payment fails between the debit and credit. What property protects the operational record?

Check your answer

The two writes must commit together or roll back together. The dashboard’s refresh frequency does not establish that guarantee.

Revisit the recording

The first teaching block compares data types, schemas, keys, normalization, files and analytical workloads. Separate the structure of a catalog record from the contents of the object it describes. Data Concepts · 0:10:12.

Classify two queries against the same sales

The recording compares transactions with historical analytics. Retrieving the current status for order 17 is a selective lookup. Comparing weekly return rates across three years requires a larger scan and aggregation. Both questions use order data, so identify the workload from the operation, freshness and row count. Watch at 2:01:48.

Sources and further practice

Microsoft exam objectives · Microsoft documentation for this case.

Build and check a grouped report · SQL querying with SQLite · Return to the study map.

Knowledge check

Separate operational writes from analytical scans quiz

Answer 5 questions. Check each answer for an explanation.