Databricks Data Engineer Associate · 10% practice allocation

Databricks Data Engineer Associate: Troubleshooting, Monitoring, and Optimization Practice Questions

5 free sample questions from the Troubleshooting, Monitoring, and Optimization domain, with answers and explanations. The full Data Engineer Associate bank has 300 questions across 7 domains. Questions are scenario-based and written from the official Databricks exam guide.

1.

Which command permanently removes data files no longer referenced by a Delta table (respecting the retention window) to reclaim storage?

  • A. VACUUM✓ Correct
  • B. OPTIMIZE
  • C. CREATE TABLE
  • D. MERGE INTO
Explanation

VACUUM deletes files no longer referenced by the table beyond the retention threshold, reclaiming storage. OPTIMIZE (B) compacts, MERGE (D) upserts, and CREATE TABLE (C) makes a table.

2.

A streaming ingest has produced millions of tiny files, slowing queries. Which Delta maintenance command compacts them into larger files?

  • A. REFRESH TABLE
  • B. DESCRIBE HISTORY
  • C. OPTIMIZE✓ Correct
  • D. VACUUM
Explanation

OPTIMIZE compacts many small files into fewer larger ones, improving read performance. VACUUM (D) removes old unreferenced files, DESCRIBE HISTORY (B) shows the commit log, and REFRESH (A) reloads metadata.

3.

Queries frequently filter a large Delta table by a high-cardinality column. Which technique co-locates related data to speed those filters?

  • A. Z-ORDER (or liquid clustering) on that column✓ Correct
  • B. Converting the table to CSV
  • C. Running VACUUM with a 0-hour retention
  • D. Dropping the column
Explanation

Z-ORDER (or liquid clustering) co-locates related values so filters skip more files (data skipping). Dropping the column (D), aggressive VACUUM (C), and CSV conversion (B) don't improve filtered reads.

4.

A scheduled job failed on its third task due to a transient error. What is a reasonable first step to recover without rerunning successful tasks?

  • A. Rewrite all the code from scratch
  • B. Use 'Repair run' to rerun only the failed (and downstream) tasks✓ Correct
  • C. Delete the entire job
  • D. Disable Unity Catalog
Explanation

Repairing a run reruns only the failed and dependent tasks, reusing successful results. Deleting the job (C), rewriting everything (A), and disabling UC (D) are not appropriate first steps.

5.

Where can a data engineer see how long each task took and read the error/output logs for a job run?

  • A. The job run details and task logs in the Jobs UI✓ Correct
  • B. The Delta transaction log only
  • C. A random notebook cell
  • D. The cluster's billing invoice
Explanation

The Jobs UI shows per-task durations, statuses, and logs for each run, which is where you diagnose failures. The Delta log (B) tracks table commits, and options C/D don't hold run logs.

Test yourself across every Data Engineer Associate domain

The free Data Engineer Associate practice test mixes about 20 questions weighted like the exam. The full 300-question bank adds instant grading, flashcards and a timed mock exam.

Study this domain

Troubleshooting, Monitoring, and Optimization study guide (Data Engineer Associate) →

Other Data Engineer Associate domains

← All Databricks Data Engineer Associate study resources