Databricks Data Engineer Associate · Sample questions
10 real questions from the CertifyDeck Databricks Data Engineer Associate bank, spread across the domains of the official Databricks Certified Data Engineer Associate skills outline, with the correct answer and a full explanation of why the other options are wrong. They are original questions written from the public syllabus, not exam dumps, and they are the same style you will find in the practice tests and mock exams.
Correct answer: D. Define a job parameter for the path and pass it with --params on bundle run
Answer each question before opening the explanation, and write down why you discarded the other options. On Databricks Data Engineer Associate, most mistakes come from choosing an option that is technically possible but does not meet every requirement in the scenario.
These 10 questions are a taste of the format, not a diagnostic. To know which domains you fail, practice by domain for free and take a timed mock exam that mirrors the official weights and duration.
Start for free, no sign-up or card. Every question includes an explanation like the ones above, and the mock exam reproduces the official Databricks Data Engineer Associate format.
Bundle variables are deployment-time variables: a run uses the previously deployed job with the values of that deployment, so changing a variable for the run does not apply. Values that vary per run are passed as job parameters, for example with databricks bundle run --params. Setting BUNDLE_VAR_ or variable-overrides.json still only changes the value for the next deployment, and bundle validate checks the configuration without deploying anything.
Correct answer: A. An external table whose LOCATION is inside a registered external location
Dropping a Unity Catalog external table removes only its metadata and leaves the data files in place, and Databricks recommends external tables when non-Databricks clients that lack other access patterns need direct access to the files. Dropping a managed table deletes its data files after the recovery period, and path-based access to managed tables is not supported.
Correct answer: D. Serverless compute for jobs
Serverless jobs compute is the recommended compute for notebook tasks: Databricks provisions and scales it automatically, so there is no infrastructure to manage and idle time is minimized. All-purpose compute is not recommended for production jobs and stays on until it terminates, and SQL warehouses run SQL and dbt tasks rather than Python notebook tasks.
Correct answer: A. Run dbutils.library.restartPython() after the install
%pip commands do not restart the Python process automatically, so after installing or updating a package you may need dbutils.library.restartPython() to see the new version. Detaching the notebook or restarting the cluster ends the session, and notebook-scoped libraries must be reinstalled after that, which fails the requirement. A library included in Databricks Runtime cannot be uninstalled with %pip.
Correct answer: D. spark.conf.set("spark.sql.autoBroadcastJoinThreshold", "-1")
spark.sql.autoBroadcastJoinThreshold sets the maximum size of a table that is broadcast to all worker nodes for a join, and setting it to -1 disables broadcasting. Raising it to 100MB lets even larger tables be broadcast, which increases memory pressure. Turning off skew join handling and changing shuffle partitions do not affect the broadcast decision.
Correct answer: C. A view registered in a Unity Catalog schema
Creating a view does not process or write any data: only the query text is registered in the schema, and the logic is evaluated when the view is queried, so results always reflect the current Silver data without a second copy. A materialized view with a daily schedule stores a copy and can be up to a day stale, and a CREATE TABLE AS SELECT table is a static copy that also needs storage and reloads.
Correct answer: B. The pro SQL warehouse
The SQL task requires Databricks SQL and a serverless or pro SQL warehouse, and its warehouse_id field is required, so the pro SQL warehouse is the valid choice. The classic SQL warehouse is the tempting option but it is not a supported warehouse type for SQL tasks, and clusters, whether all-purpose or job clusters, cannot run a SQL task.
Correct answer: D. SHOW EFFECTIVE POLICIES ON TABLE prod.sales.orders
SHOW EFFECTIVE POLICIES also includes policies from parent scopes, such as catalog- or schema-level policies that affect the table, and viewing them does not require permissions on the parent catalog or schema. SHOW POLICIES lists only the policies defined on the named object, so on the catalog it would miss schema-level policies. INFORMATION_SCHEMA.COLUMN_MASKS shows table-level masks, not ABAC policies.
Correct answer: B. Add the notebook as a task that depends on the pipeline task in the job created for the schedule
For each schedule added to an ingestion pipeline, Lakeflow Connect creates a job in which the pipeline is a task, and more tasks can be added to that job, so a dependent notebook task runs as soon as ingestion completes. A separate job on a time offset breaks when ingestion runs long. ALTER statements cannot change the schedule or trigger of a managed ingestion pipeline, and continuous mode does not by itself coordinate the notebook.
Correct answer: C. rescue
In rescue mode Auto Loader never evolves the schema, the stream does not fail on schema changes, and all new columns are recorded in the rescued data column for later inspection. The none mode also keeps the stream running, but it ignores new columns and does not rescue their data unless a rescued data column is set separately. addNewColumns changes the table schema, and failOnNewColumns stops the stream.