cert
cert-1
cert-2

Pass Databricks Certified Data Engineer Professional Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
Certified Data Engineer Professional Exam - Verified By Experts
Certified Data Engineer Professional Premium Bundle
$14.99

Certified Data Engineer Professional Premium Bundle

$74.99
$89.98
  • Premium File 339 Questions & Answers. Last update: Oct 30, 2026
  • Training Course 33 Video Lectures
 
$89.98
$74.99
accept 91 downloads in last 7 days
block-screenshots
Purchase Databricks Certified Data Engineer Professional Exam Training Products Individually
Databricks Certified Data Engineer Professional Premium File
Premium File 339 Q&A
$76.99$69.99
Databricks Certified Data Engineer Professional Video Training Course
Training Course 33 Lectures
$21.99 $19.99
Databricks Certified Data Engineer Professional Practice Test 14

Question 130

An architecture review at Redwood Civic Services covers a workload where a streaming source may resend a message with the same event ID. The unresolved constraint is: A plain dropDuplicates retains state without a practical bound for never-ending keys. Which design is most appropriate?

  1. Choose fail semantics for non-negotiable constraints
  2. Choose a watermark and event-ID dedup policy aligned with allowed lateness
  3. Rank events by business key, event time and a deterministic tie-breaker
  4. Use a left join plus a documented fallback label for unmatched keys

Explanation

Correct Answer

B:

Choose a watermark and event-ID dedup policy aligned with allowed lateness. This design addresses a plain dropDuplicates retains state without a practical bound for never-ending keys. Watermarked streaming deduplication can bound retained duplicate state under an explicit lateness policy. It establishes the right contract or architecture before execution changes.

Incorrect Answers

A:

Choose fail semantics for non-negotiable constraints. This design action addresses a different case (expectation fail action), where the pipeline continues despite critical null records. Fail-on-violation expectations stop updates rather than silently filtering rows. In the stated problem, a plain dropDuplicates retains state without a practical bound for never-ending keys; this choice would not establish the required streaming dedup watermark decision.

C:

Rank events by business key, event time and a deterministic tie-breaker. This design action addresses a different case (latest-per-key with ties), where two events have the same event time and yield different surviving rows. A deterministic tie-breaker is required in a per-key window ranking. In the stated problem, a plain dropDuplicates retains state without a practical bound for never-ending keys; this choice would not establish the required streaming dedup watermark decision.

D:

Use a left join plus a documented fallback label for unmatched keys. This design action addresses a different case (conditional enrichment), where an unconditional inner join discards rows with missing region codes. A left join with explicit CASE logic preserves rows while enriching those that match. In the stated problem, a plain dropDuplicates retains state without a practical bound for never-ending keys; this choice would not establish the required streaming dedup watermark decision.

Question 131

A data engineer at Orion Capital must troubleshoot this case: a stateful stream holds hundreds of millions of unexpired keys. Evidence: Executor memory pressure grows even though input rate is stable. What should be inspected first to confirm the failure mechanism?

  1. Inspect input size variation and worker utilization over time
  2. Inspect file count and size distribution before tuning
  3. Inspect watermark, state operator metrics and checkpoint size
  4. Inspect repeated lineage and memory availability for the reference data

Explanation

Correct Answer

C:

Inspect watermark, state operator metrics and checkpoint size. This checks the specific evidence behind executor memory pressure grows even though input rate is stable. State retention and checkpoint state-store configuration affect memory requirements. The investigation distinguishes the mechanism from an unrelated operational symptom.

Incorrect Answers

A:

Inspect input size variation and worker utilization over time. This diagnose action addresses a different case (autoscaling right-size), where a fixed high-worker count wastes resources on quiet days. Supported autoscaling can adapt worker count within configured bounds. In the stated problem, executor memory pressure grows even though input rate is stable; this choice would not establish the required streaming state growth decision.

B:

Inspect file count and size distribution before tuning. This diagnose action addresses a different case (small file compaction), where read overhead grows because query plans open excessive small files. OPTIMIZE can compact compatible Delta files without changing logical table contents. In the stated problem, executor memory pressure grows even though input rate is stable; this choice would not establish the required streaming state growth decision.

D:

Inspect repeated lineage and memory availability for the reference data. This diagnose action addresses a different case (cache reuse), where repeated recomputation dominates each branch's execution. Persistence can avoid repeated work if reused data fits the memory budget. In the stated problem, executor memory pressure grows even though input rate is stable; this choice would not establish the required streaming state growth decision.

Question 132

An architecture review at Meadowland Software covers a workload where a Kafka stream is processing more slowly than incoming messages. The unresolved constraint is: Consumer lag grows while microbatch intervals appear stable. Which design is most appropriate?

  1. Define freshness SLO based on end-to-end observed lag
  2. Define a stable fingerprint and runtime baseline for the query
  3. Report violation rate as an explicit quality indicator
  4. Set backlog thresholds and remediation based on sustained processed rate

Explanation

Correct Answer

D:

Set backlog thresholds and remediation based on sustained processed rate. This design addresses consumer lag grows while microbatch intervals appear stable. Backlog growth reveals insufficient sustainable processing throughput. It establishes the right contract or architecture before execution changes.

Incorrect Answers

A:

Define freshness SLO based on end-to-end observed lag. This design action addresses a different case (end-to-end sla), where operators monitor compute uptime rather than data freshness. SLA monitoring should measure source event time to published table availability. In the stated problem, consumer lag grows while microbatch intervals appear stable; this choice would not establish the required streaming backlog decision.

B:

Define a stable fingerprint and runtime baseline for the query. This design action addresses a different case (sql query history), where no baseline is available for the warehouse query execution. Query history/system query records support comparison of execution time and workload. In the stated problem, consumer lag grows while microbatch intervals appear stable; this choice would not establish the required streaming backlog decision.

C:

Report violation rate as an explicit quality indicator. This design action addresses a different case (expectation monitoring), where analysts confuse successful pipeline status with zero rejected records. Quality metric events reveal input and dropped records separately from update status. In the stated problem, consumer lag grows while microbatch intervals appear stable; this choice would not establish the required streaming backlog decision.

Question 133

A data engineer at Cedar Brook Commerce must troubleshoot this case: a job should run data repair only after a quality check reports failure. Evidence: Both the normal and repair tasks run despite a branching requirement. What should be inspected first to confirm the failure mechanism?

  1. Inspect task dependency edges and condition outcome values
  2. Inspect pip resolution output and the installed dependency tree
  3. Inspect wheel contents, import paths and the task's installed package version
  4. Inspect task invocation mode and module entrypoint expectations

Explanation

Correct Answer

A:

Inspect task dependency edges and condition outcome values. This checks the specific evidence behind both the normal and repair tasks run despite a branching requirement. Lakeflow Jobs condition tasks can route downstream execution based on a result. The investigation distinguishes the mechanism from an unrelated operational symptom.

Incorrect Answers

B:

Inspect pip resolution output and the installed dependency tree. This diagnose action addresses a different case (library version pinning), where a transitive dependency updated to an incompatible version. Explicit compatible dependency versions improve reproducibility across new compute environments. In the stated problem, both the normal and repair tasks run despite a branching requirement; this choice would not establish the required conditional task branches decision.

C:

Inspect wheel contents, import paths and the task's installed package version. This diagnose action addresses a different case (python wheel packaging), where a refactor broke a notebook-relative import in the deployed job. A properly packaged versioned wheel gives Python code stable import paths outside notebooks. In the stated problem, both the normal and repair tasks run despite a branching requirement; this choice would not establish the required conditional task branches decision.

D:

Inspect task invocation mode and module entrypoint expectations. This diagnose action addresses a different case (python task entrypoints), where the task exits before setting up its argument parser. A standard Python entrypoint and explicit arguments avoid notebook runtime assumptions. In the stated problem, both the normal and repair tasks run despite a branching requirement; this choice would not establish the required conditional task branches decision.

Question 134

At Oak Valley Retail, a platform team requires automated incident creation on failed jobs. Observed issue: Only personal email notifications are configured. Before applying a fix, which investigation is most directly relevant?

  1. Inspect run status, task IDs and time windows in supported jobs system tables
  2. Inspect allowed notification-destination types and current run triggers
  3. Inspect the unit-coverage query and expected threshold
  4. Inspect stage summary, shuffle read sizes and longest task duration

Explanation

Correct Answer

B:

Inspect allowed notification-destination types and current run triggers. This checks the specific evidence behind only personal email notifications are configured. Supported job notification destinations can integrate workflow status with an incident system. The investigation distinguishes the mechanism from an unrelated operational symptom.

Incorrect Answers

A:

Inspect run status, task IDs and time windows in supported jobs system tables. This diagnose action addresses a different case (job operational history), where operators only see the most recent run in the Jobs UI. Jobs system records support historical analysis of runs and tasks. In the stated problem, only personal email notifications are configured; this choice would not establish the required job webhook destination decision.

C:

Inspect the unit-coverage query and expected threshold. This diagnose action addresses a different case (sql alert threshold), where the current dashboard has no automated alert for missing units. SQL alerts can evaluate a query result against a configured threshold. In the stated problem, only personal email notifications are configured; this choice would not establish the required job webhook destination decision.

D:

Inspect stage summary, shuffle read sizes and longest task duration. This diagnose action addresses a different case (spark ui shuffle metrics), where operators only monitor cluster-wide CPU and miss skewed task durations. Spark UI stage metrics reveal shuffle, spill and task skew. In the stated problem, only personal email notifications are configured; this choice would not establish the required job webhook destination decision.

Question 135

At Northfield Analytics, a reusable notebook job processes several regional feeds. A change was deployed to address: Code contains hard-coded region IDs and catalog names. Which test result provides the strongest evidence that the requirement is now met?

  1. Compare normalized outputs including Unicode and null samples
  2. Compare outputs on edge cases and measure stage time on representative data
  3. Run two regional jobs with distinct parameters and compare target outputs
  4. Verify production tasks receive the production catalog and input paths

Explanation

Correct Answer

C:

Run two regional jobs with distinct parameters and compare target outputs. This tests the expected result against code contains hard-coded region IDs and catalog names, not simply whether a job or object exists. Task parameters allow runtime-specific values without changing notebook source.

Incorrect Answers

A:

Compare normalized outputs including Unicode and null samples. This validate action addresses a different case (avoid python udf for sql), where the Python UDF creates an avoidable cross-language execution boundary. Built-in Spark SQL functions can execute in optimized expressions without Python UDF overhead. In the stated problem, code contains hard-coded region IDs and catalog names; this choice would not establish the required job parameters decision.

B:

Compare outputs on edge cases and measure stage time on representative data. This validate action addresses a different case (vectorized udf), where row-by-row Python invocation dominates stage runtime. Pandas UDFs process batches through Arrow rather than per-row Python calls. In the stated problem, code contains hard-coded region IDs and catalog names; this choice would not establish the required job parameters decision.

D:

Verify production tasks receive the production catalog and input paths. This validate action addresses a different case (bundle target overrides), where development job arguments were deployed into the production target. Bundle targets can override environment-specific variables and resource settings. In the stated problem, code contains hard-coded region IDs and catalog names; this choice would not establish the required job parameters decision.

Question 136

An architecture review at Harborline Utilities covers a workload where a consumer group needs sales totals but not transaction-level customer IDs. The unresolved constraint is: Granting SELECT on the raw fact table violates minimization. Which design is most appropriate?

  1. Plan secret rotation with a new value and safe rollback
  2. Use a row filter keyed to approved region mapping
  3. Apply a governed column mask while preserving needed analytic access
  4. Publish a secure aggregate view at the permitted reporting grain

Explanation

Correct Answer

D:

Publish a secure aggregate view at the permitted reporting grain. This design addresses granting SELECT on the raw fact table violates minimization. A governed aggregation view can expose only approved derived information. It establishes the right contract or architecture before execution changes.

Incorrect Answers

A:

Plan secret rotation with a new value and safe rollback. This design action addresses a different case (credential rotation procedure), where the hard-coded service password has not rotated for a year. Secret management and controlled rotation reduce long-lived credential exposure. In the stated problem, granting SELECT on the raw fact table violates minimization; this choice would not establish the required secure view sharing decision.

B:

Use a row filter keyed to approved region mapping. This design action addresses a different case (unity catalog row filter), where a shared table currently returns all regions to every reader. Unity Catalog row filters can restrict row visibility through governed policies. In the stated problem, granting SELECT on the raw fact table violates minimization; this choice would not establish the required secure view sharing decision.

C:

Apply a governed column mask while preserving needed analytic access. This design action addresses a different case (column masking), where a raw SELECT on an approved table exposes plaintext email. Unity Catalog column masks can transform sensitive values at read time. In the stated problem, granting SELECT on the raw fact table violates minimization; this choice would not establish the required secure view sharing decision.

Question 137

At Redwood Civic Services, an engineer can edit every shared notebook in a production workspace. A change is required because: The team needs read-only access for most users. Which implementation action most directly corrects the configuration?

  1. Remove overly broad edit access and grant view permission to readers
  2. Grant only required read privileges on the external location
  3. Configure the approved network access control for the workspace
  4. Revoke unnecessary production ownership and grant task-specific roles

Explanation

Correct Answer

A:

Remove overly broad edit access and grant view permission to readers. This directly changes the feature or logic behind the team needs read-only access for most users. Workspace object permissions can restrict who can edit or manage shared code. It is the concrete configuration for the stated incident.

Incorrect Answers

B:

Grant only required read privileges on the external location. This implement action addresses a different case (storage credential scope), where engineers propose a credential allowing access to all company buckets. Unity Catalog storage credentials and external locations can constrain storage access. In the stated problem, the team needs read-only access for most users; this choice would not establish the required workspace object acl decision.

C:

Configure the approved network access control for the workspace. This implement action addresses a different case (ip-based workspace restrictions), where a Unity Catalog table grant does not restrict web-console network entry. Workspace access controls and data-object privileges address different security layers. In the stated problem, the team needs read-only access for most users; this choice would not establish the required workspace object acl decision.

D:

Revoke unnecessary production ownership and grant task-specific roles. This implement action addresses a different case (separation of duties), where all developers currently own production catalogs and can grant access. Separate deploy and governance roles reduce accidental privilege escalation. In the stated problem, the team needs read-only access for most users; this choice would not establish the required workspace object acl decision.

Question 138

Operations at Harborline Utilities owns a workload where a shared ETL project uses development and production Lakeflow Jobs. The previously identified issue was: Development job arguments were deployed into the production target. Which metric or audit check best detects drift?

  1. Monitor job run arguments for unexpected target or region values
  2. Alert on unexpected target drift after CI deployments
  3. Detect unmanaged changes to deployed job resources
  4. Alert when the deployed checkpoint path differs from baseline

Explanation

Correct Answer

B:

Alert on unexpected target drift after CI deployments. This watches the failure mode described by development job arguments were deployed into the production target. Bundle targets can override environment-specific variables and resource settings. It supplies a regression signal after remediation.

Incorrect Answers

A:

Monitor job run arguments for unexpected target or region values. This monitor action addresses a different case (job parameters), where code contains hard-coded region IDs and catalog names. Task parameters allow runtime-specific values without changing notebook source. In the stated problem, development job arguments were deployed into the production target; this choice would not establish the required bundle target overrides decision.

C:

Detect unmanaged changes to deployed job resources. This monitor action addresses a different case (databricks cli resource updates), where production configuration drifts from repository source definitions. Declarative deployment describes resources as reviewed version-controlled artifacts. In the stated problem, development job arguments were deployed into the production target; this choice would not establish the required bundle target overrides decision.

D:

Alert when the deployed checkpoint path differs from baseline. This monitor action addresses a different case (streaming checkpoint identity), where a newly selected checkpoint location makes the stream reread historical input. Streaming checkpoint metadata records progress and state for restart continuity. In the stated problem, development job arguments were deployed into the production target; this choice would not establish the required bundle target overrides decision.

Question 139

Operations at Redwood Civic Services owns a workload where data engineers need access to a shared external cloud storage prefix. The previously identified issue was: Raw cloud permissions bypass central catalog governance. Which metric or audit check best detects drift?

  1. Audit tag removal or changes to sensitive labels
  2. Audit unapproved external paths and location changes
  3. Audit new location definitions and path overlaps
  4. Audit missing-parent-usage failures and overly broad grants

Explanation

Correct Answer

C:

Audit new location definitions and path overlaps. This watches the failure mode described by raw cloud permissions bypass central catalog governance. External locations map cloud paths to governed Unity Catalog storage credentials. It supplies a regression signal after remediation.

Incorrect Answers

A:

Audit tag removal or changes to sensitive labels. This monitor action addresses a different case (governed tags), where naming conventions alone are inconsistent across teams. Governed tags can classify assets for discovery and policy workflows. In the stated problem, raw cloud permissions bypass central catalog governance; this choice would not establish the required external location governance decision.

B:

Audit unapproved external paths and location changes. This monitor action addresses a different case (managed storage ownership), where the data platform cannot apply consistent lifecycle governance. Managed locations centralize storage ownership for Unity Catalog managed assets. In the stated problem, raw cloud permissions bypass central catalog governance; this choice would not establish the required external location governance decision.

D:

Audit missing-parent-usage failures and overly broad grants. This monitor action addresses a different case (catalog privilege inheritance), where the team lacks USE CATALOG and USE SCHEMA on the parent containers. Unity Catalog object access generally requires relevant parent usage privileges. In the stated problem, raw cloud permissions bypass central catalog governance; this choice would not establish the required external location governance decision.

Question 140

Quality assurance at Fairhaven Transport checks a corrected workload where a customer dimension must preserve previous plan tier values. The original fault was: Overwrite-style updates destroy historical state needed for point-in-time reporting. Which verification is most decisive?

  1. Restart and confirm previously committed input is not reprocessed unexpectedly
  2. Replay update and delete events and confirm one accurate current row per key
  3. Confirm dashboard results refresh after source data updates
  4. Change a customer tier and confirm old and current history rows are queryable

Explanation

Correct Answer

D:

Change a customer tier and confirm old and current history rows are queryable. This tests the expected result against overwrite-style updates destroy historical state needed for point-in-time reporting, not simply whether a job or object exists. SCD Type 2 records effective history instead of replacing the previous version.

Incorrect Answers

A:

Restart and confirm previously committed input is not reprocessed unexpectedly. This validate action addresses a different case (streaming checkpoint identity), where a newly selected checkpoint location makes the stream reread historical input. Streaming checkpoint metadata records progress and state for restart continuity. In the stated problem, overwrite-style updates destroy historical state needed for point-in-time reporting; this choice would not establish the required scd type 2 history decision.

B:

Replay update and delete events and confirm one accurate current row per key. This validate action addresses a different case (auto cdc keys), where applying events as append-only rows leaves outdated active accounts. AUTO CDC or applicable APPLY CHANGES needs stable keys and sequence ordering for stateful upserts. In the stated problem, overwrite-style updates destroy historical state needed for point-in-time reporting; this choice would not establish the required scd type 2 history decision.

C:

Confirm dashboard results refresh after source data updates. This validate action addresses a different case (materialized view choice), where each dashboard query recomputes the same expensive aggregation. A materialized view maintains a precomputed query result through refresh. In the stated problem, overwrite-style updates destroy historical state needed for point-in-time reporting; this choice would not establish the required scd type 2 history decision.

Certified Data Engineer Professional Practice Tests