Databricks Data Engineer Associate · Section 6 · 10% of the exam
Understand the features of Liquid Clustering and predictive optimization.
One of the objectives of the Databricks Certified Data Engineer Associate exam, in the section “Troubleshooting, Monitoring, and Optimization”. Here is what it covers, the points to remember and a question to try.
What it covers
How Delta Lake turns Parquet files into reliable tables: the transaction log and ACID, schema enforcement and evolution, time travel and RESTORE, UPDATE/DELETE/MERGE, OPTIMIZE, Z-ORDER vs liquid clustering, VACUUM, deletion vectors, Change Data Feed and clones.
Points to remember
- Delta = Parquet data files +
_delta_log(JSON commits + Parquet checkpoints); ACID via optimistic concurrency control. - Schema enforcement rejects mismatched writes;
mergeSchemaadds columns on append,overwriteSchemareplaces the schema on overwrite. - Time travel:
VERSION AS OF,TIMESTAMP AS OF,@v3;RESTORE TABLE ... TO VERSION AS OF nis itself a new commit. DESCRIBE HISTORY= audit of operations;DESCRIBE DETAIL= location, file count, size, properties.- MERGE = upsert / SCD Type 1; duplicate source keys make it fail — deduplicate first.
Try a question
A liquid-clustered table receives a nightly MERGE of changed rows and continuous Structured Streaming appends during the day, with default settings. Query performance degrades steadily between maintenance runs. What is the best explanation?
- A
MERGEstatements silently drop the clustering keys from the table definition - BLiquid clustering only reorganizes data files when
VACUUMruns after the retention period ends - C
MERGEand default streaming writes don't cluster on write; new data waits forOPTIMIZE - DStreaming writes to clustered tables are converted into partitioned writes
Show the answer
C. Only some operations cluster on write: INSERT INTO, CTAS/RTAS, COPY INTO from Parquet and DataFrame appends, above size thresholds. Streaming writes do not cluster by default, and MERGE is not in the cluster-on-write list, so recent data accumulates unclustered. Regular incremental OPTIMIZE, or predictive optimization on a managed table, keeps the layout healthy.
Written for practice in the style of the exam: never a question from the real exam.
In the course
2 lessons teach this objective: Delta Lake Fundamentals, Liquid Clustering & Predictive Optimization (about 95 minutes), and 18 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.
More in this section
- Identify trends in job performance using the Lakeflow Jobs run history view to compare current execution times against historical baselines.
- Use the Lakeflow Jobs UI to monitor pipeline health by interpreting job statuses, viewing DAG-based task graphs to spot upstream blockers, and tracking pipeline run times and failure rates.
- Identify common performance bottlenecks such as data skew, shuffling, and disk spilling by interpreting stage-level metrics in the Spark UI.
- Diagnose cluster startup failures, library conflicts, and out-of-memory issues.