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 Code | 23 |
| Cost and Performance | 15 |
| Ingestion and Acquisition | 12 |
| Data Manipulation | 12 |
| Monitoring and Alerting | 10 |
| Debugging and Deploying | 10 |
| Security and Compliance | 8 |
| Governance | 5 |
| Data Modeling | 5 |
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
| Environment | Dependencies go in |
|---|---|
| Serverless | The environment (wheels from /); no init scripts |
| Classic job | Compute-scoped libraries; one job cluster per job |
| Pipeline | Its Environment settings |
| Bundle | artifacts build + task libraries |
%pip | This 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 → apply · spark. = 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 _, _ (null = current) · TRACK HISTORY ON * EXCEPT (. Python: dp..
Jobs
For each: {{input}}, concurrency default 1, no nesting · If/else on {{tasks. · run-specific values from outside: Jobs API run-now with job_.
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
assert, assert (pyspark.) · chain steps with df. · unit = one function, synthetic data; integration = stages end to end.
Streaming state
| Mode | Window aggregates |
|---|---|
| Append | Once, after watermark passes window end |
| Update | As rows change |
| Complete | Whole table; state never dropped |
foreach is at least once: txn + txn = batch 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 → binary · Kafka value is binary: cast to string before from_ · 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
| Need | Use |
|---|---|
| Databricks partner | D2D share (no token) |
| Any platform | Open share: bearer token or OIDC |
| Streaming / time travel | ADD TABLE … WITH HISTORY |
| Joint analysis, no raw rows | Clean Room (≤ 10, sees columns only) |
| Query in place | Federation: connection + foreign catalog, UC grants, read-only |
3. Data Manipulation12% of the exam
Windows
Top N → ROW_ + QUALIFY · LAG/LEAD · 7-day → ROWS BETWEEN 6 PRECEDING AND CURRENT ROW · RANGE groups equal ORDER BY values · explode_ keeps null arrays · filter(.
VARIANT
parse_ (fails) vs try_ (NULL) · v:a. · variant_ · DBR 15.4+ · not a clustering, partition or Z-order key; can't be grouped or sorted.
AI functions
Any prompt → ai_ · fixed tasks → ai_, ai_, ai_, ai_ · not on classic warehouses.
Expectations
Warn (default, kept) · DROP ROW / expect_ · FAIL UPDATE / expect_ · expect_: any failed rule drops · quarantine = inverted rules to a second table.
4. Monitoring and Alerting10% of the exam
System tables
| Question | Table |
|---|---|
| Cost | billing. × billing. |
| Who read a table | access. (Preview) |
| Job reliability | lakeflow. |
| Spill, pruning per query | query. |
| Clusters | compute. |
Signals
Pipeline health and expectations → event log, flow_ · 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..
5. Cost and Performance Optimization15% of the exam
Layout
| Situation | Use |
|---|---|
| New table, known filters | CLUSTER BY ( |
| Unknown or shifting filters | CLUSTER BY AUTO |
| Partitioned today | REPLACE PARTITIONED BY WITH CLUSTER BY (18.1+) |
| Small, frequent DML | Deletion 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.: may go stale. CDF: delta., table_, _ incl. update_/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 ( → 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_.
8. Debugging and Deploying10% of the exam
Diagnose
Skew, spill → Spark UI stages · won't start → compute event log · collect( crash → driver OOM · Concurrent → 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_ · 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(.
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 diagnosticStudy guide
The full study guide: every domain explained, with snippets and diagrams.
Open the study guideSpotted something out of date? Email support@certlake.com. CertLake is not affiliated with Databricks, Inc.