Databricks Certified Data Engineer Associate · Difficulty

Hard Databricks Data Engineer Associate practice questions

Challenge — multi-step scenarios, trade-offs, and subtle distinctions. 5 hard questions available — no sign-up, always free.

Question 1 of 5

A data engineering team manages a Databricks Asset Bundle that deploys a job to both a staging and a production workspace. When they promote a new release, they want the production job to always run the code from a specific, immutable Git tag rather than from files copied into the production workspace. Which approach best supports this requirement?

Reviewed for accuracy · Report an issue
Question 2 of 5

A data engineer is writing a MERGE statement to update a Delta table of customer accounts. Business rules require that when a matched record has a status of 'CLOSED' in the source, the target row should be deleted; for all other matched records, the target row should be updated with the new balance. Which MERGE clause construction correctly implements both behaviors?

Reviewed for accuracy · Report an issue
Question 3 of 5

A data engineer defines a Lakeflow Declarative Pipeline (Delta Live Tables) table with two expectations on a single dataset: one uses @dlt.expect_or_drop for a 'valid_amount' rule and another uses @dlt.expect (warn only) for a 'complete_customer' rule. During an update, a record fails the 'valid_amount' rule but passes 'complete_customer', while a second record passes 'valid_amount' but fails 'complete_customer'. What happens to these two records in the target table?

Reviewed for accuracy · Report an issue
Question 4 of 5

A data engineer maintains a Silver customer table in Delta Lake. Each micro-batch of change data contains one or more rows per customer_id, and the goal is to keep only the latest state per customer: update existing customers, insert new ones. Which approach correctly and idempotently applies these updates in a single command?

Reviewed for accuracy · Report an issue
Question 5 of 5

A data engineer runs OPTIMIZE on a Delta table daily to improve query performance. A colleague asks to be able to query the table as it existed 10 days ago using time travel. However, the engineer recently ran VACUUM my_table RETAIN 48 HOURS on the table. What is the outcome when the colleague attempts the 10-day-old time travel query?

Reviewed for accuracy · Report an issue