Domain 3 of 4

Prepare and process data

Domain · 32.4% of the DP-750 exam

One governed pipeline, four decisions between raw files and a table you can trust

A batch of order files lands in cloud storage every hour, and before a single query against them can be trusted, four decisions stand between those files and a governed table. That is the shape of the whole domain: every path here reads a source and writes rows into Unity Catalog (UC), the governance layer built into Azure Databricks, as a Delta Lake table, the default table format that adds ACID (atomic, all-or-nothing) transactions and time travel to plain Parquet files. Hold that one model and the domain's recurring trap dissolves, because most questions are really asking which of the four decisions you are on and what the governed default is for it, not which clever command happens to exist. The four decisions run in order: model the target, ingest the data, cleanse and transform and load it, then constrain its quality.

The domain unfolds in four steps, one subtopic each

Walk the four in order and you have the through-line of the domain. First, Data Modeling in Unity Catalog decides the destination's shape before any data moves: Delta as the default and required format, a managed table (Databricks owns the files and their maintenance) versus an external one, liquid clustering as the default layout, and how history is kept, whether a durable slowly changing dimension (SCD) Type 2 table or bounded time travel. Second, Ingesting Data into Unity Catalog copies source rows in, and the bookkeeping each method keeps (a COPY INTO file-load ledger, an Auto Loader checkpoint of discovered files, a Lakeflow Connect managed cursor) is what lets a re-run load only new data. Third, Cleanse, Transform, and Load Data turns raw rows into correctly typed, deduplicated rows and loads them idempotently, so a retry cannot double-load. Fourth, Data Quality Constraints in Unity Catalog decides which rules are guaranteed at write time and which are only documented.

When two answers both work, pick the governed, incremental, write-time one

Across every stage the exam rewards the same instinct. Prefer the option that keeps data inside Unity Catalog governance over one that lands an ungoverned copy outside it. Prefer the option that processes only new data over one that reprocesses all history, because a full reload with CTAS (CREATE TABLE AS SELECT) or CREATE OR REPLACE keeps no record of what it loaded and so cannot be incremental. And prefer the option that acts at write time, an enforced NOT NULL or CHECK constraint or a MERGE that corrects rows in one atomic transaction, over one that only hides a problem at read time or merely advises, such as a filtering view or an informational PRIMARY KEY that Unity Catalog never enforces. Governed, incremental, write-time is the tie-breaker.

The four stages of preparing data, and the subtopic that owns each

StageThe decision it ownsKey tools and constructsDrill into
Model the targetThe destination's shape before any data moves: format, table type, layout, and how history is keptDelta (default and required), managed vs external tables, liquid clustering, SCD Type 1 and Type 2, time travelData Modeling in Unity Catalog
IngestHow raw rows are copied in, and what bookkeeping makes a re-run incrementalCOPY INTO, Auto Loader, Structured Streaming, Lakeflow Connect, AUTO CDC INTOIngesting Data into Unity Catalog
Cleanse, transform, loadHow raw rows become correctly typed, deduplicated rows, loaded without double-loadingType casts, DISTINCT or dropDuplicates, null handling, set-based SQL, MERGE, REPLACE WHERE, INSERT OVERWRITECleanse, Transform, and Load Data
Constrain qualityWhich rules are guaranteed at write time versus only documentedEnforced NOT NULL and CHECK, informational PK/FK/UNIQUE, schema enforcement and evolution, pipeline expectationsData Quality Constraints in Unity Catalog

Subtopics in this domain