Free cheat sheet

Databricks Data Engineer Professional

Two pages of the design rules, defaults, syntax and traps the Databricks Data Engineer Professional exam tests, organised by the October 2026 exam guide's nine domains.

Aligned to the October 2026 exam guide · checked against the Databricks docs on 31 October 2026 · certlake.com/exam/data-engineer-professional/cheat-sheet

Exam at a glance

The exam

60 scored questions · 120 min · Python and SQL · October 2026 guide, live from 9 October 2026. Assumes the Associate basics.

Weights

Domain%
Developing Code23
Cost and Performance15
Ingestion and Acquisition12
Data Manipulation12
Monitoring and Alerting10
Debugging and Deploying10
Security and Compliance8
Governance5
Data Modeling5

New names

Asset Bundles → Declarative Automation Bundles · DLT → Lakeflow pipelines · APPLY CHANGES → AUTO CDC · Delta Sharing → OpenSharing · Repos → Git folders · Delta cache → disk cache.

1. Developing Code for Data Processing23% of the exam

Libraries

EnvironmentDependencies go in
ServerlessThe environment (wheels from /Volumes/…); no init scripts
Classic jobCompute-scoped libraries; one job cluster per job
PipelineIts Environment settings
Bundleartifacts build + task libraries
%pipThis notebook only
Private index--index-url, or an admin-set default repo

Never install PySpark on serverless; bump the version of a changed wheel.

UDFs

Built-in first · governed, from SQL anywhere → UC function (LANGUAGE SQL/PYTHON, EXECUTE) · fast Python → pandas UDF (Arrow) · per-group pandas → applyInPandas · spark.udf.register = this session only.

ST or MV

Append-only, once per row, low latency → streaming table. Must reflect later dimension changes, BI aggregates → materialized view. Updates/deletes in source → AUTO CDC.

AUTO CDC

KEYS · SEQUENCE BY (out-of-order events; no nulls) · APPLY AS DELETE WHEN · STORED AS SCD TYPE 1|2 · SCD 2 adds __START_AT, __END_AT (null = current) · TRACK HISTORY ON * EXCEPT (…). Python: dp.create_auto_cdc_flow.

Jobs

For each: {{input}}, concurrency default 1, no nesting · If/else on {{tasks.t.values.k}} · run-specific values from outside: Jobs API run-now with job_parameters.

Serverless jobs

Standard mode: cheaper, ~4–6 min startup · Performance optimized: time-sensitive · auto-optimization retries: turn off for at-most-once tasks · high memory (Preview): notebooks, 32 GB.

Tests

assertDataFrameEqual, assertSchemaEqual (pyspark.testing) · chain steps with df.transform(f) · unit = one function, synthetic data; integration = stages end to end.

Streaming state

ModeWindow aggregates
AppendOnce, after watermark passes window end
UpdateAs rows change
CompleteWhole table; state never dropped

foreachBatch is at least once: txnAppId + txnVersion = batchId for idempotent Delta writes; MERGE from a stream needs it. One checkpoint per query.

2. Data Ingestion and Acquisition12% of the exam

Sources

Raw files → binaryFile · Kafka value is binary: cast to string before from_json · Iceberg → CREATE TABLE … USING ICEBERG (managed) · many files → file notification with file events.

CDC

CDC feed → AUTO CDC · SQL Server, MySQL (Preview), PostgreSQL (Preview) → Lakeflow Connect: gateway (classic, continuous, to a staging volume) + pipeline (serverless); history tracking = SCD 2.

Sharing and federation

NeedUse
Databricks partnerD2D share (no token)
Any platformOpen share: bearer token or OIDC
Streaming / time travelADD TABLE … WITH HISTORY
Joint analysis, no raw rowsClean Room (≤ 10, sees columns only)
Query in placeFederation: connection + foreign catalog, UC grants, read-only

3. Data Manipulation12% of the exam

Windows

Top N → ROW_NUMBER() + QUALIFY · LAG/LEAD · 7-day → ROWS BETWEEN 6 PRECEDING AND CURRENT ROW · RANGE groups equal ORDER BY values · explode_outer keeps null arrays · filter(a, x -> x > 80).

VARIANT

parse_json (fails) vs try_parse_json (NULL) · v:a.b::double · variant_get(v, '$.a', 'string') · DBR 15.4+ · not a clustering, partition or Z-order key; can't be grouped or sorted.

AI functions

Any prompt → ai_query(endpoint, prompt) · fixed tasks → ai_analyze_sentiment, ai_classify, ai_extract, ai_summarize · not on classic warehouses.

Expectations

Warn (default, kept) · DROP ROW / expect_or_drop · FAIL UPDATE / expect_or_fail · expect_all_or_drop: any failed rule drops · quarantine = inverted rules to a second table.

4. Monitoring and Alerting10% of the exam

System tables

QuestionTable
Costbilling.usage × billing.list_prices
Who read a tableaccess.audit (Preview)
Job reliabilitylakeflow.job_run_timeline
Spill, pruning per queryquery.history
Clusterscompute.clusters

Signals

Pipeline health and expectations → event log, flow_progress · run failed or slow → job notifications · stream behind → backlog threshold · metric threshold → SQL alert · gate a job on it → SQL alert task + If/else · from a script → SDK jobs.list_runs.

5. Cost and Performance Optimization15% of the exam

Layout

SituationUse
New table, known filtersCLUSTER BY (≤ 4 keys)
Unknown or shifting filtersCLUSTER BY AUTO
Partitioned todayREPLACE PARTITIONED BY WITH CLUSTER BY (18.1+)
Small, frequent DMLDeletion vectors
Partition at all?Only > 1 TB, ≥ 1 GB each

Clustering ✗ partitioning or Z-order · OPTIMIZE incremental, OPTIMIZE FULL reclusters all.

Upkeep

Predictive optimization: OPTIMIZE, VACUUM, ANALYZE on managed tables only; default for accounts from 11 Nov 2024; ALTER CATALOG … ENABLE PREDICTIVE OPTIMIZATION.

Cache and CDF

Disk cache: local copies, sees changed files · df.cache(): may go stale. CDF: delta.enableChangeDataFeed, table_changes(t, 5, 10), _change_type incl. update_preimage/postimage; with the (legacy) property, only changes after enabling.

Query profile

No skipping → cluster on filter (stats on first 32 columns) · sort-merge with small side → broadcast · spill → more partitions · one slow task → skew (AQE, salting).

6. Data Security and Compliance8% of the exam

Controls

Jobs: run and cancel only → CAN MANAGE RUN · ABAC: account-level governed tags + policy on catalog/schema covers future tables; needs MANAGE (or owner) + EXECUTE · Data Classification auto-tags PII → ABAC mask.

Techniques

Hash (irreversible, joinable) · tokenize (reversible via vault) · suppress · generalize · mask.

Erasure

DELETE → REORG TABLE … APPLY (PURGE) → VACUUM after retention (7 days default).

7. Data Governance5% of the exam

Inheritance and metadata

Catalog or schema grant covers current and future objects; still needs USE CATALOG + USE SCHEMA · create table = those + CREATE TABLE · COMMENT ON, SET TAGS; column tags don't inherit · reports from information_schema.

8. Debugging and Deploying10% of the exam

Diagnose

Skew, spill → Spark UI stages · won't start → compute event log · collect() crash → driver OOM · ConcurrentModificationException → conflicting writers · checkpoint-incompatible change → new checkpoint.

Repair and deploy

Repair run: unsuccessful tasks + dependants, current settings, parameter overrides. bundle deploy -t prod --var="k=v" · BUNDLE_VAR_k · CI as a service principal · mode: development prefixes names, pauses schedules.

9. Data Modeling5% of the exam

Models

Cluster facts on filter/join keys · optimized writes + auto compaction · star or snowflake, avoid 3NF · MVs precompute · metric views define measures once: SELECT d, MEASURE(m) … GROUP BY d.

Know it, or just recognise it?

The free diagnostic shows which domains you'd lose marks on, in about 10 minutes and without signing up.

Take the free diagnostic

Study guide

The full study guide: every domain explained, with snippets and diagrams.

Open the study guide

Spotted something out of date? Email support@certlake.com. CertLake is not affiliated with Databricks, Inc.