Databricks Data Engineer Professional Certification Sample Questions
The purpose of this Sample Question Set is to provide you with information about the Databricks Certified Data Engineer Professional exam. These sample questions will make you very familiar with both the type and the difficulty level of the questions on the Data Engineer Professional certification test. To get familiar with real exam environment, we suggest you try our Sample Databricks Data Engineer Professional Certification Practice Exam. This sample practice exam gives you the feeling of reality and is a clue to the questions asked in the actual Databricks Certified Data Engineer Professional certification exam.
These sample questions are simple and basic questions that represent likeness to the real Databricks Certified Data Engineer Professional exam questions. To assess your readiness and performance with real-time scenario based questions, we suggest you prepare with our Premium Databricks Data Engineer Professional Certification Practice Exam. When you solve real time scenario based questions practically, you come across many difficulties that give you an opportunity to improve.
| Exam | Databricks Certified Data Engineer Professional |
|---|---|
| Number of questions | 60 |
| Duration | 120 minutes |
| Time per question | about 2.0 minutes |
| Passing score | 70% |
| Exam fee | USD 200 |
Databricks Data Engineer Professional Sample Questions:
01. A bank runs a serverless job whose notification task sends one message to a payments network for each confirmed wire transfer. The task is not idempotent. During an earlier incident, a transient failure was followed by an automatic retry, and customers received duplicate notifications.
The task must run at most once per job run.
Which setting should the team change?
a) Disable serverless auto-optimization
b) Enable Performance optimized for the serverless job
c) Repair failed runs to resend only the missing notifications
d) Add a duration-threshold notification so operators can cancel retries
Answer: a - Disable serverless auto-optimization Explanation: Serverless auto-optimization is on by default and can retry failed tasks. Turning it off is the documented step for workloads that must run at most once.Show answerHide answer
02. An airline counts gate delays per gate with a streaming aggregation. A Delta table must hold one row per gate, updated as counts change, without rewriting the whole table on every trigger. Writing the stream with outputMode("update") to the Delta table is rejected.
Which approach meets the requirement?
a) Write with complete output mode
b) Use foreachBatch to MERGE each batch's changed counts into the table
c) Use append mode with an event-time watermark
d) Keep update mode and write the stream to a new Delta path rather than to the table
Answer: b - Use foreachBatch to MERGE each batch's changed counts into the table Explanation: Delta sinks support append and complete output modes but not update. MERGE inside foreachBatch applies only the changed gate counts, giving update-like results without full rewrites.Show answerHide answer
03. A primary insurer keeps policy exposure tables in Unity Catalog. Its reinsurance partner does not use Databricks and will read the data from its own analytics platform. The insurer will share the tables through OpenSharing.
How should the insurer set up the recipient?
a) As a Databricks-to-Databricks recipient identified by the partner's metastore sharing identifier
b) As a Databricks-to-Databricks recipient sent a credential file
c) As a Databricks-to-Open recipient using a bearer-token credential file
d) Through a Lakehouse Federation connection that the partner's platform queries
Answer: c - As a Databricks-to-Open recipient using a bearer-token credential file Explanation: A recipient on another platform uses Databricks-to-Open sharing. Databricks generates a credential file and an activation link that the provider sends over a secure channel (OIDC federation is the alternative), and Databricks recommends setting the token to expire.Show answerHide answer
04. A pharmacy-claims pipeline runs in continuous mode. The flow into claims_valid uses expect_or_fail, and claims_daily reads from claims_valid. A claim arrives that violates the expectation.
What happens?
a) The record is written with a warning and the claims_valid flow keeps running
b) claims_valid and all its dependent flows stop
c) As in a triggered run, claims_valid fails and every other flow, claims_daily included, completes
d) claims_valid fails, while claims_daily keeps processing the rows already written
Answer: b - Explanation: In a continuous pipeline, an expectation failure stops the flow and all flows that depend on it, so claims_daily stops with claims_valid and manual intervention is needed.Show answerHide answer
claims_valid and all its dependent flows stop
05. A stock exchange's surveillance pipeline was fully refreshed last week, which cleared a streaming table and caused a reporting gap. Compliance asks who started that full refresh and when. The team writes:SELECT timestamp, details FROM event_log('<pipeline-id>')WHERE event_type = ____
Which event type belongs in the blank?
a) 'flow_progress', which carries per-flow metrics and data quality
b) 'autoscale', which records cluster resizing
c) 'user_action', which records actions taken by users
d) 'update_progress', which records each update's status changes
Answer: c - Explanation: user_action events record actions users take on a pipeline, such as starting an update, with who acted, so filtering on them shows who launched the full refresh and when.Show answerHide answer
'user_action', which records actions taken by users
06. A smart-home company enables change data feed on its thermostat_settings table, which already holds two million rows. An engineer starts a new stream with the following code and sets no starting version:spark.readStream.option("readChangeFeed", "true").table("thermostat_settings")
What will the stream return first?
a) An error, because a change feed stream must be given a starting version
b) Only changes committed after the stream starts, because existing rows are skipped
c) Every change since the table was created, including those made before the feed was enabled
d) The table’s current snapshot, emitted as insert records, followed by every change committed after the stream starts
Answer: d - The table’s current snapshot, emitted as insert records, followed by every change committed after the stream starts Explanation: On its first start with no starting version, a change-feed stream returns the table’s current snapshot as INSERT records. After that it emits each later change, so the two million existing rows arrive first.Show answerHide answer
07. A fraud-scoring notebook builds an expensive DataFrame by joining card transactions to merchant and device profiles:scored = txns.join(merchants, "merchant_id").join(devices, "device_id")
The notebook then runs five different aggregations over scored in the same session. The cluster has the disk cache enabled, yet each aggregation recomputes both joins.
Which approach makes the joins compute only once for the session?
a) Rely on the disk cache, which keeps the joined result after the first aggregation
b) Call scored.cache() before the aggregations and unpersist() when they finish, keeping the joined result in memory
c) Run OPTIMIZE on the transactions table so the joins read fewer, larger files
d) Increase spark.sql.shuffle.partitions so that each repeated join runs across more tasks and completes sooner on the existing cluster
Answer: b - Call Explanation: Spark cache is in-memory, works on any DataFrame and must be triggered manually. Caching scored computes the joins once for all five aggregations, and unpersist() frees the memory afterward.Show answerHide answer
scored.cache() before the aggregations and unpersist() when they finish, keeping the joined result in memory
08. A metro transit authority will deliver a dataset from its trip records to a university for a ridership study. The table has card_id, birth_date, home_address, home_district and exact trip start and end times. The contract requires that no one, including the authority itself, can re-identify a rider from the delivered dataset, while the university still analyzes trip volumes by age group, home district and hour of day.
Which approach meets the requirement?
a) Deliver trip counts by age band, home_district and hour, with small counts suppressed and no identifiers
b) Replace card_id with a keyed hash whose key stays with the authority, and generalize birth_date to age bands
c) Tokenize card_id through a lookup table the authority holds, and suppress the home_address column
d) Deliver the table with column masks that hide card_id and home_address from the university
Answer: a - Deliver trip counts by age band, Explanation: Counts by age band, district and hour carry no identifier, key or lookup, and suppressing small cells matters because a count of 1 can still single out a rider, so the study keeps its breakdown.Show answerHide answer
home_district and hour, with small counts suppressed and no identifiers
09. A data engineer at an agricultural cooperative must tag the table coop.harvest.yields, which another team owns. The engineer holds USE CATALOG on coop and USE SCHEMA on coop.harvest, and runs:ALTER TABLE coop.harvest.yields SET TAGS ('Crop_Season' = '2026');
The statement fails with a permission error. The tag is free-form, not governed, and the cooperative's existing reports look it up by the key crop_season.
Which change lets the engineer tag the table so that the existing reports find it?
a) Obtain APPLY TAG on the table and keep Crop_Season, since tag keys match regardless of case
b) Obtain MODIFY on the table and then rename the key to crop_season, since the tag keys are case sensitive
c) Obtain APPLY TAG on the table and rename the key to crop_season, since tag keys are case sensitive
d) Obtain ASSIGN on the tag and keep Crop_Season, since tag keys match regardless of case
Answer: c - Obtain APPLY TAG on the table and rename the key to Explanation: Without ownership, tagging a table takes APPLY TAG on it plus USE SCHEMA and USE CATALOG on its parents, and the engineer already holds both usage privileges. Tag keys are case sensitive, so the key has to be written as Show answerHide answer
crop_season, since tag keys are case sensitivecrop_season for the existing reports to match it.
10. An insurer's actuarial team develops pricing notebooks in personal Git folders on feature branches and merges them through reviewed pull requests. The production Git folder that scheduled jobs read from must change only when a pull request merges into the release branch.
How should the production Git folder be kept up to date?
a) Grant the actuarial group CAN MANAGE on the production folder so any member can pull after a merge
b) Automation calls the Repos API on each merge to update the folder to the release branch; only admins and service principals can edit it
c) Have an engineer copy the merged notebooks into the production folder through the workspace UI after each merge, keeping edit rights for the whole actuarial team
d) Point the scheduled jobs at each developer's personal Git folder instead, so merged work is picked up without needing any production folder at all
Answer: b - Automation calls the Repos API on each merge to update the folder to the release branch; only admins and service principals can edit it Explanation: Production Git folders are updated only by automation when pull requests merge into deployment branches, by calling the Repos API to move the folder to that branch. Limiting edit rights to admins and service principals stops anyone changing production by hand.Show answerHide answer
Databricks Data Engineer Professional practice questions vs. exam dumps
Searching for Databricks Data Engineer Professional dumps or braindumps? Leaked questions break Databricks' exam rules and can cost you the certification, so practice the real topics instead: Developing Code for Data Processing using Python and SQL (23%), Cost & Performance Optimization (15%) and Data Ingestion & Acquisition (12%), plus 6 more. The Databricks Data Engineer Professional exam has 60 questions in 120 minutes; each question above shows its answer with an explanation.
More on this exam: Databricks Data Engineer Professional syllabus and exam details.
Note: For any error in Databricks Certified Data Engineer Professional certification exam sample questions, please update us by writing an email on feedback@certfun.com.
- Data Engineer Professional Questions |
- Data Engineer Professional Quiz |
- Data Engineer Professional |
- Databricks Data Engineer Professional Certification |
- Databricks Data Engineer Professional Question Bank |
- Data Engineer Professional Sample Questions |
- Databricks Data Engineer Professional Practice Test Free |
- Data Engineer Professional Mock Exam |
- Data Engineer Professional Certification Sample Questions
