Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 13h 13m 41s Coupon code: 50OFF

Databricks-Certified-Professional-Data-Engineer Exam Questions & Answers (November 2026)

Databricks Certified Data Engineer Professional exam questions with 16 free practice questions and explained answers. Updated November 21, 2026. · See all Databricks exams

Answer 16 scenario questions on this page and see your score as you go. No sign-up needed.

Exam Details

Exam Code
Databricks-Certified-Professional-Data-Engineer
Vendor
Databricks
Questions
59 scored
Duration (minutes)
120
Languages
English, 日本語, Português BR, 한국어
Delivery
Online or test center
Question Types
Single Choice
Official Page
View Exam Page
1

Databricks Tooling

20% of the exam

This topic covers how Delta Lake records committed changes and handles concurrent writes. Candidates must choose suitable clone behavior and apply table layout and file optimization techniques to improve query performance.

Question 1 of 16 Single Choice

A scheduled job overwrites a Delta table after writing replacement data files to cloud storage. The driver process then terminates before it records a successful commit. Several dashboards read the table during and after the failure, and the operations team confirms that no later job has written to the table. The team needs to know what data readers will see.

What should the data engineer expect readers to see after the failed operation?

Show Answer

Correct Answer

A

Option A is correct because Delta readers use the transaction log, and the failed operation did not commit a new log version. Option B is not correct because files without a committed log entry are not part of the table snapshot. Option C is not correct because the previous committed version remains visible. Option D is not correct because Delta does not guarantee immediate cleanup of uncommitted files.

Question 2 of 16 Single Choice

Two independent jobs run against the same Delta table, which is partitioned by business date. Both jobs read the same date partition and update different customer records within that partition. The first job commits while the second is still processing. The team wants to predict how Delta Lake handles the second job's commit rather than allowing an unnoticed lost update.

What is the most likely outcome for the second job?

Show Answer

Correct Answer

B

Option B is correct because both jobs update rows in the same partition, so their transactions overlap on data files and Delta Lake can reject one commit with a concurrency conflict. Option A is not correct because Delta does not queue all writes automatically. Option C is not correct because conflicts can occur during updates. Option D is not correct because the last transaction does not silently replace a conflicting committed change.

Question 3 of 16 Single Choice

A team needs a retained copy of a Delta table for a separate analytics workspace. The source table is scheduled for regular VACUUM operations, and the retained copy must remain readable even if source data files are later removed. The team wants a clone rather than a separate export and needs to choose the clone behavior that satisfies this storage requirement.

Which clone type best meets the requirement?

Show Answer

Correct Answer

C

Option C is correct because a deep clone copies the table data, so the retained table does not rely on source files that may be removed by VACUUM. Option A is not correct because a shallow clone references source data files. Option B is not correct because a shallow clone does not copy the full source history. Option D is not correct because sharing source files describes a shallow clone.

2

Data Processing

30% of the exam

This topic covers processing and transforming data with Spark, Spark SQL, Delta Lake, and Structured Streaming. Candidates must choose suitable execution strategies and reason about how streaming state and event time affect results.

Question 4 of 16 Single Choice

A delivery company processes mobile scan events with a Structured Streaming query. The query groups events into five-minute tumbling windows, applies a ten-minute watermark to the event-time column, and writes in append mode. Devices sometimes upload buffered scans after reconnecting, while the query continues to receive newer event timestamps from other devices.

Which behavior should the pipeline expect when it uses append output mode?

Show Answer

Correct Answer

A

Option A is correct because append mode emits a window result after the event-time watermark passes the window end, and the watermark limits how late accepted events can be. Option B describes repeated updates rather than append output. Option C incorrectly measures from the first event. Option D compares arrival time with event time instead of the watermark.

Question 5 of 16 Single Choice

A retail analytics job joins a 2 TB Delta fact table to a 25 MB product dimension on product_id. The dimension fits comfortably in executor memory, but the current physical plan performs a shuffle on both inputs and spends most of its runtime moving data across the cluster. The query must keep the same join result and cannot filter out fact rows.

Which change is most likely to reduce network shuffling for this join?

Show Answer

Correct Answer

A

Option A is correct because the 25 MB dimension fits the available executor memory, and broadcasting it avoids shuffling the 2 TB fact table for the join. Option B still shuffles both inputs. Option C attempts to broadcast the much larger fact table. Option D changes shuffle parallelism but does not remove the shuffle.

3

Data Modeling

20% of the exam

This topic covers designing Delta table schemas and organizing stored data for the queries that use it. Candidates must choose suitable column types, partition layouts, and optimization methods based on data volume and filter patterns.

Question 6 of 16 Single Choice

A finance team is designing a Delta table for invoice line items. Unit prices can reach 99,999,999.99, while negotiated rates can contain four fractional digits. Analysts must aggregate these values without introducing rounding differences, and the table schema should represent them as numeric data rather than requiring string parsing.

Which column type best meets the stated precision and aggregation requirements?

Show Answer

Correct Answer

B

Option B is correct because DECIMAL(18,4) stores the required fractional digits exactly and has ample integer capacity for the stated values. Option A is not correct because DECIMAL(10,2) cannot represent four fractional digits. Option C is not correct because DOUBLE uses binary floating-point approximation. Option D is not correct because STRING is not a numeric type for reliable arithmetic and aggregation.

Question 7 of 16 Single Choice

A team is modeling a Delta table that receives about 1.5 TB of events each day and retains three years of data. Most dashboard queries filter on one event day or a short range of days. The table has a high-cardinality customer_id and an event timestamp recorded to the millisecond. The team wants partitions to support common filters without creating large numbers of small partitions.

Which partitioning design best fits the table and its query workload?

Show Answer

Correct Answer

A

Option A is correct because the daily date column supports partition pruning for the dominant day and date-range filters, and the stated daily volume avoids tiny partitions. Option B is not correct because customer_id would create excessive high-cardinality partitions. Option C is not correct because event timestamps create near-row-level partitions. Option D is not correct because monthly partitions are too coarse for frequent single-day queries.

Question 8 of 16 Single Choice

A team is creating a large Delta table on a Databricks Runtime that supports liquid clustering. Queries commonly filter by customer_id and event_date, but the relative importance of those filters changes across reporting periods. The table is new, has no requirement for physical partitions, and must avoid a separate partition for each customer while allowing its data organization to adapt.

Which table layout is the best fit for the stated workload?

Show Answer

Correct Answer

D

Option D is correct because liquid clustering organizes the new Delta table around both common filter columns without creating a partition for each customer, and its clustering keys can change as access patterns shift. Option A is not correct because customer partitioning creates excessive partitions. Option B is not correct because date-only partitions omit customer locality. Option C is not correct because fixed Z-ordering is less suited to the stated changing priorities.

4

Security and Governance

10% of the exam

This topic covers authentication, authorization, access controls, and governance in Databricks. Candidates must be able to choose secure identities and permissions that meet data access requirements while limiting unnecessary access.

Question 9 of 16 Single Choice

A team has registered a cloud-hosted Delta table in Unity Catalog. A consumer group already has USE CATALOG and USE SCHEMA on the table's namespace, and its members must query the table through Databricks SQL. Company policy prohibits this group from reading the underlying cloud files directly or administering the table. The table is backed by an external location.

Which grant should the administrator add?

Show Answer

Correct Answer

A

Option A is correct because SELECT on the governed table, together with the existing namespace privileges, permits SQL queries without granting direct path access. Option B is not correct because READ FILES enables file access through the external location. Option C is not correct because storage credential access is broader and does not replace table SELECT. Option D is not correct because MANAGE allows administration rather than query-only access.

Question 10 of 16 Single Choice

A company stores customer records in a Unity Catalog table that includes a region field and personal email addresses. Each regional support group may see only customers assigned to its region, and email addresses must be masked in every result. The groups use SQL, and the security team requires that restrictions remain effective even when users write their own queries.

Which design best enforces both restrictions?

Show Answer

Correct Answer

A

Option A is correct because the view can apply the regional filter and email masking before exposing results, while withholding SELECT on the base table prevents direct queries against it. Option B is not correct because query instructions do not enforce restrictions. Option C is not correct because it leaves email values visible. Option D is not correct because MODIFY is not a read-control mechanism and the templates are not enforced.

Question 11 of 16 Single Choice

A scheduled Databricks workflow reads from an existing Unity Catalog source table and writes results to an existing target table. It currently runs as the engineer who created it, and the workflow stops when that engineer's account is suspended. The job needs no table-creation or catalog-administration privileges, and the company requires production jobs to use durable, non-human identities.

How should the workflow identity and permissions be configured?

Show Answer

Correct Answer

A

Option A is correct because the service principal provides a non-human job identity, and table-specific grants allow the workflow to perform only its required operations. Option B is not correct because the job remains dependent on an employee account. Option C is not correct because a personal token ties access to that employee and embeds a credential in the notebook. Option D is not correct because account-wide administration exceeds the job's needs.

5

Monitoring and Logging

10% of the exam

This topic covers monitoring Databricks workloads with execution metrics, query profiles, and logs. Candidates must interpret these signals to locate performance bottlenecks and configure log retention when cluster logs are needed after a run.

Question 12 of 16 Single Choice

A nightly aggregation runs on a Databricks job cluster and has recently exceeded its runtime target. In the Spark UI, most tasks in the slow stage finish quickly, but a few run for several minutes. Those long-running tasks also show much higher shuffle read sizes than the other tasks. The job is not reporting executor failures or data source errors.

Which conclusion is best supported by the stage metrics?

Show Answer

Correct Answer

C

Option C is correct because the Spark UI shows that only a few tasks read much more shuffle data and run much longer than the rest. Option A is not correct because the task durations are not uniformly high. Option B is not supported because the tasks are processing data. Option D is not supported because the uneven task metrics point to skew, not scheduling overhead.

Question 13 of 16 Single Choice

A reporting team runs the same Databricks SQL query against a production table each morning. The query profile shows that most of its execution time is attributed to a table scan, with a large number of bytes read and relatively few rows returned. The profile shows little time in shuffle operators, and the warehouse was already running before the query started.

Which conclusion is best supported by the query profile?

Show Answer

Correct Answer

A

Option A is correct because the profile attributes most execution time to scanning and reports many bytes read for few returned rows. Option B is not correct because the profile does not show shuffle as the dominant cost. Option C is not supported by the operator metrics. Option D is not correct because the recorded query profile describes execution after the query began.

Question 14 of 16 Single Choice

A data engineering team uses ephemeral job clusters for a workflow that occasionally fails overnight. Engineers need the driver and worker logs after the clusters terminate, but they currently find only the workflow run status and notebook output. The team wants the cluster logs written to durable storage without keeping the job clusters running longer.

What should the engineer configure to retain the cluster logs after termination?

Show Answer

Correct Answer

A

Option A is correct because cluster log delivery sends cluster logs to the configured storage destination, where they remain available after the ephemeral cluster terminates. Option B concerns Spark event logs, not the driver and worker log files described here. Option C does not archive cluster logs. Option D provides query records, not cluster log files.

6

Testing and Deployment

10% of the exam

This topic covers testing Spark application changes and deploying them through controlled development workflows. Candidates must be able to use version control, automated checks, and staged releases to reduce the risk of deploying untested code.

Question 15 of 16 Single Choice

A data engineering team deploys a Databricks job that uses a shared Python library from an internal package index. The application configuration allows any library version at or above a minimum, and job clusters install dependencies when they start. A newer library release recently changed transformation behavior without an application code change. The team needs repeatable runs across environments and a reliable way to restore the prior behavior.

Which deployment change best makes application behavior reproducible and supports a reliable rollback?

Show Answer

Correct Answer

B

Option B is correct because an exact library version and the same immutable artifact prevent environment-specific dependency changes and allow the released version to be redeployed. Option A is not correct because the newest package can change between runs. Option C is not correct because independent resolution can install different library versions. Option D is not correct because manual installation is not a repeatable deployment method.

Question 16 of 16 Single Choice

A team maintains a Spark transformation that receives DataFrames and returns a transformed DataFrame. Production inputs contain tens of millions of rows, while the continuous integration runner has no workspace credentials or access to production tables. A recent change to null handling caused incorrect output, but the existing test checked only that the job completed. The team wants a fast test that detects similar regressions before deployment.

Which test should the team add to catch regressions in the transformation logic before deployment?

Show Answer

Correct Answer

A

Option A is correct because a deterministic fixture containing null values can verify the changed behavior and the resulting schema without requiring production data. Option B is not correct because it depends on production access and runs an unnecessarily large workload. Option C is not correct because matching row counts do not verify output values. Option D is not correct because mocked operations cannot validate actual Spark transformation behavior.

Continue Your Databricks-Certified-Professional-Data-Engineer Preparation

You have seen 16 questions from a full set of 285. Prepare with the Databricks-Certified-Professional-Data-Engineer dumps PDF and the Web-Based Practice Test.

PDF

  • Compatible with All Devices
  • Printable Format
  • No Download Limits

Practice Test

  • Check your timing and weak areas
  • No Practice Limits
  • Regularly Updated
Get Full Access
  • 100% Money-Back Guarantee
  • 90 Days Free Updates
  • Instant Access

Frequently Asked Questions

Why do Structured Streaming questions require more than knowing the Spark APIs?

You need to reason about how event time and streaming state affect the results, not simply recognize an API. A choice that appears valid for batch processing may not suit a stream with late events or stateful operations. Review how event-time handling changes outputs, then trace a small example through each processing step. The Exam4Success PDF can support topic review away from a lab, while you focus on the underlying reasoning.

How should I handle the breadth of topics within the 120-minute exam?

The exam has 59 scored questions across data processing, tooling, modeling, security, monitoring, and deployment. Data Processing accounts for 30 percent, while Databricks Tooling and Data Modeling each account for 20 percent. That spread makes it risky to spend all your preparation time on Spark transformations. Practise deciding among relevant approaches, and review your pace with the Exam4Success Practice Test so you can identify topics that need more attention.

Why can Delta Lake concepts feel clear in notes but difficult to apply?

The challenge is often choosing the right behavior for a concrete situation. Committed changes, concurrent writes, clone behavior, table layout, and file optimization are related, but they solve different needs. Memorizing terms alone may not help you select an appropriate option for a workload. For each concept, write down the problem it addresses and a condition that would change your choice. The Exam4Success PDF is useful for revisiting these distinctions when you are away from a Databricks environment.

What commonly makes preparation for monitoring and logging less effective?

Candidates can spend time learning where metrics and logs appear without practising what those signals mean. This exam expects you to use execution metrics, query profiles, and logs to locate performance bottlenecks, as well as understand log retention when cluster logs are needed after a run. Practise starting from a symptom and identifying which signal would help investigate it. Use the Exam4Success Practice Test to find whether monitoring questions or another topic remains a weak area.

What practical engineering skills does this certification assess?

The topics reflect work involved in building and operating data pipelines on Databricks. You are expected to transform data with Spark, Spark SQL, Delta Lake, and Structured Streaming, while also making decisions about schemas, storage layouts, access controls, performance, and deployment. That makes preparation useful for candidates seeking to strengthen their data engineering practice, rather than only reviewing syntax. Choose a pipeline you know and map its design choices to the exam topics.

How can this exam help me develop beyond writing Spark transformations?

Its coverage extends into operational and team practices. Security and governance includes choosing identities and permissions that limit unnecessary access. Monitoring and logging asks you to interpret workload signals, and Testing and Deployment covers version control, automated checks, and staged releases. These areas broaden the skills you can demonstrate alongside data processing. As you study, connect each operational topic to a specific decision in a data pipeline you maintain or plan to build.

What should I study first if my background is mainly SQL?

Begin with the Data Processing objectives, since they include both Spark SQL and Spark-based transformations, then make time for Structured Streaming and its event-time and state behavior. After that, connect your SQL knowledge to Data Modeling by reviewing Delta table schemas, column types, partitions, and optimization choices for different filter patterns. Use the Exam4Success guide to organize these topics, and test yourself on decisions rather than relying only on familiar SQL syntax.

How can I judge whether I am ready to schedule the exam?

Check whether you can explain and apply decisions across the full blueprint, rather than focusing only on Data Processing. You should be able to reason about concurrent Delta writes, table layout, permissions, workload bottlenecks, log retention, and staged deployment. Then work through representative questions under the exam’s 120-minute time limit and review every uncertainty. The exam is available online or at a test center in English, Japanese, Brazilian Portuguese, and Korean.

Exam4Success is an independent exam preparation provider and is not affiliated with or endorsed by Databricks.