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 13

Question 120

A deployment owner at Clearstone Media needs to implement a remedy: a product dimension adds a new optional classification attribute. The present failure is: A destructive table recreation would invalidate downstream consumers. Which change should be applied?

  1. Create governed dimension tables and stable foreign keys in the fact
  2. Map both marts to the governed conformed dimension
  3. On change, close the prior version and insert a new dimension version
  4. Alter the dimension schema and backfill the new field safely

Explanation

Correct Answer

D:

Alter the dimension schema and backfill the new field safely. This directly changes the feature or logic behind a destructive table recreation would invalidate downstream consumers. Additive schema evolution can preserve contracts when null defaults are acceptable. It is the concrete configuration for the stated incident.

Incorrect Answers

A:

Create governed dimension tables and stable foreign keys in the fact. This implement action addresses a different case (star schema analytics), where a denormalized mixed-grain table produces redundant attributes and expensive corrections. A star schema links a clear-grain fact to reusable dimensions for consistent analytics. In the stated problem, a destructive table recreation would invalidate downstream consumers; this choice would not establish the required dimension evolution decision.

B:

Map both marts to the governed conformed dimension. This implement action addresses a different case (conformed dimensions), where the same country appears under conflicting dimension keys across marts. A conformed dimension provides common attribute definitions across fact models. In the stated problem, a destructive table recreation would invalidate downstream consumers; this choice would not establish the required dimension evolution decision.

C:

On change, close the prior version and insert a new dimension version. This implement action addresses a different case (scd type 2 effective dates), where a single current tier overwrites history in the dimension. SCD Type 2 stores effective start/end intervals for distinct historical dimension versions. In the stated problem, a destructive table recreation would invalidate downstream consumers; this choice would not establish the required dimension evolution decision.

Question 121

An architecture review at Lakewood Distribution covers a workload where a CI pipeline is about to deploy modified Lakeflow Jobs YAML. The unresolved constraint is: An invalid resource key would be rejected only after production change. Which design is most appropriate?

  1. Gate deployment on successful bundle validation
  2. Define a controlled change-management path for resource configuration
  3. Require unit and integration tests plus deployment validation
  4. Require named deployment targets and production approvals

Explanation

Correct Answer

A:

Gate deployment on successful bundle validation. This design addresses an invalid resource key would be rejected only after production change. Bundle validation detects many configuration problems before deployment. It establishes the right contract or architecture before execution changes.

Incorrect Answers

B:

Define a controlled change-management path for resource configuration. This design action addresses a different case (unmanaged resource drift), where subsequent CI redeployment unexpectedly overwrites it. Declarative source of truth should include intentional job-resource changes. In the stated problem, an invalid resource key would be rejected only after production change; this choice would not establish the required bundle validation decision.

C:

Require unit and integration tests plus deployment validation. This design action addresses a different case (ci quality gates), where the deployment pipeline only checks YAML syntax. CI must run transformation tests and controlled integration checks before deployment. In the stated problem, an invalid resource key would be rejected only after production change; this choice would not establish the required bundle validation decision.

D:

Require named deployment targets and production approvals. This design action addresses a different case (target-safe deployment), where the wrong workspace is selected because target is implicit. Explicit bundle target selection prevents accidental environment deployment. In the stated problem, an invalid resource key would be rejected only after production change; this choice would not establish the required bundle validation decision.

Question 122

Operations at Oak Valley Retail owns a workload where a Pandas UDF produces an array of decimals for downstream analytics. The previously identified issue was: Returned values cannot be converted to the declared Spark return type. Which metric or audit check best detects drift?

  1. Monitor job run arguments for unexpected target or region values
  2. Capture Arrow conversion failures following package upgrades
  3. Track dependency upgrades and compatibility test failures
  4. Audit run-as changes and permission denials

Explanation

Correct Answer

B:

Capture Arrow conversion failures following package upgrades. This watches the failure mode described by returned values cannot be converted to the declared Spark return type. Pandas UDF return values must conform to the declared Spark data type. 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, returned values cannot be converted to the declared Spark return type; this choice would not establish the required udf return schema decision.

C:

Track dependency upgrades and compatibility test failures. This monitor 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, returned values cannot be converted to the declared Spark return type; this choice would not establish the required udf return schema decision.

D:

Audit run-as changes and permission denials. This monitor action addresses a different case (job run-as identity), where an employee departure causes permissions failures during scheduled runs. A stable least-privilege service principal can provide durable job identity. In the stated problem, returned values cannot be converted to the declared Spark return type; this choice would not establish the required udf return schema decision.

Question 123

At Silver Ridge Logistics, a batch aggregation spills because a few shuffle partitions hold too much data. Observed issue: The current partition count is too low for data volume. Before applying a fix, which investigation is most directly relevant?

  1. Inspect filters, cardinalities and existing partition layout
  2. Inspect current table features, delete patterns and runtime compatibility
  3. Inspect per-task shuffle read bytes and spilled data
  4. Inspect managed table eligibility and current optimization settings

Explanation

Correct Answer

C:

Inspect per-task shuffle read bytes and spilled data. This checks the specific evidence behind the current partition count is too low for data volume. Shuffle partition sizing affects memory pressure and task parallelism. The investigation distinguishes the mechanism from an unrelated operational symptom.

Incorrect Answers

A:

Inspect filters, cardinalities and existing partition layout. This diagnose action addresses a different case (liquid clustering cardinality), where partitioning by device would produce many tiny partitions. Liquid clustering organizes data by useful filter keys without high-cardinality partition directories. In the stated problem, the current partition count is too low for data volume; this choice would not establish the required shuffle partition count decision.

B:

Inspect current table features, delete patterns and runtime compatibility. This diagnose action addresses a different case (deletion vectors), where each small delete rewrites large data files and increases write cost. Deletion vectors can mark deleted rows without immediate whole-file rewrite when supported. In the stated problem, the current partition count is too low for data volume; this choice would not establish the required shuffle partition count decision.

D:

Inspect managed table eligibility and current optimization settings. This diagnose action addresses a different case (predictive optimization), where operators run blanket manual OPTIMIZE jobs regardless of table use. Predictive optimization can automate supported managed-table maintenance based on workload signals. In the stated problem, the current partition count is too low for data volume; this choice would not establish the required shuffle partition count decision.

Question 124

A data engineer at Northfield Analytics must troubleshoot this case: a Python ETL workload runs reliably in development but fails after the next cluster restart. Evidence: A transitive dependency updated to an incompatible version. What should be inspected first to confirm the failure mechanism?

  1. Inspect wheel tags, runtime Python version and library load error
  2. Inspect dependency graph and upstream task statuses
  3. Inspect task dependency edges and condition outcome values
  4. Inspect pip resolution output and the installed dependency tree

Explanation

Correct Answer

D:

Inspect pip resolution output and the installed dependency tree. This checks the specific evidence behind a transitive dependency updated to an incompatible version. Explicit compatible dependency versions improve reproducibility across new compute environments. The investigation distinguishes the mechanism from an unrelated operational symptom.

Incorrect Answers

A:

Inspect wheel tags, runtime Python version and library load error. This diagnose action addresses a different case (wheel abi compatibility), where the wheel works on a developer laptop but fails with a binary compatibility error. Compiled extensions must match the target runtime platform and Python ABI. In the stated problem, a transitive dependency updated to an incompatible version; this choice would not establish the required library version pinning decision.

B:

Inspect dependency graph and upstream task statuses. This diagnose action addresses a different case (job task dag), where dependent tasks sometimes run before the bronze load finishes. Lakeflow Job task dependencies form a directed acyclic execution graph. In the stated problem, a transitive dependency updated to an incompatible version; this choice would not establish the required library version pinning decision.

C:

Inspect task dependency edges and condition outcome values. This diagnose action addresses a different case (conditional task branches), where both the normal and repair tasks run despite a branching requirement. Lakeflow Jobs condition tasks can route downstream execution based on a result. In the stated problem, a transitive dependency updated to an incompatible version; this choice would not establish the required library version pinning decision.

Question 125

Operations at Pinecrest Holdings owns a workload where a batch landing zone contains Parquet files written with incompatible column types. The previously identified issue was: A merge step fails after a producer changes an integer field to string. Which metric or audit check best detects drift?

  1. Monitor newly arriving file-schema mismatches
  2. Alert when rescued-data volume rises after schema changes
  3. Monitor schema-registry incompatibility and decode failures
  4. Monitor schema changes and rescued-field counts

Explanation

Correct Answer

A:

Monitor newly arriving file-schema mismatches. This watches the failure mode described by a merge step fails after a producer changes an integer field to string. Parquet schema compatibility matters even when column names are unchanged. It supplies a regression signal after remediation.

Incorrect Answers

B:

Alert when rescued-data volume rises after schema changes. This monitor action addresses a different case (auto loader rescued data), where unknown or mismatched fields disappear during the bronze load. The rescued data column can preserve records with unexpected schema content for later remediation. In the stated problem, a merge step fails after a producer changes an integer field to string; this choice would not establish the required parquet schema mismatch decision.

C:

Monitor schema-registry incompatibility and decode failures. This monitor action addresses a different case (avro schema evolution), where an older consumer cannot deserialize records from a newer producer schema. Avro writer-reader schema compatibility must be maintained for evolution. In the stated problem, a merge step fails after a producer changes an integer field to string; this choice would not establish the required parquet schema mismatch decision.

D:

Monitor schema changes and rescued-field counts. This monitor action addresses a different case (nested json ingest), where the initial reader assumes one unchanging flat schema and loses new fields. Explicit schema management and rescued data handling protect evolving semi-structured ingestion. In the stated problem, a merge step fails after a producer changes an integer field to string; this choice would not establish the required parquet schema mismatch decision.

Question 126

An architecture review at Bayview Insurance covers a workload where a bundle task fails after a runtime upgrade. The unresolved constraint is: A package import error appears only on the target compute. Which design is most appropriate?

  1. Require named deployment targets and production approvals
  2. Maintain a supported dependency matrix for target runtimes
  3. Require unit and integration tests plus deployment validation
  4. Grant only required target write access plus parent usage

Explanation

Correct Answer

B:

Maintain a supported dependency matrix for target runtimes. This design addresses a package import error appears only on the target compute. Runtime-specific wheel compatibility and pinning must be tested in CI. It establishes the right contract or architecture before execution changes.

Incorrect Answers

A:

Require named deployment targets and production approvals. This design action addresses a different case (target-safe deployment), where the wrong workspace is selected because target is implicit. Explicit bundle target selection prevents accidental environment deployment. In the stated problem, a package import error appears only on the target compute; this choice would not establish the required python dependency triage decision.

C:

Require unit and integration tests plus deployment validation. This design action addresses a different case (ci quality gates), where the deployment pipeline only checks YAML syntax. CI must run transformation tests and controlled integration checks before deployment. In the stated problem, a package import error appears only on the target compute; this choice would not establish the required python dependency triage decision.

D:

Grant only required target write access plus parent usage. This design action addresses a different case (job run permission debug), where the run-as principal lacks MODIFY on the target table. Unity Catalog authorization applies to the job execution identity. In the stated problem, a package import error appears only on the target compute; this choice would not establish the required python dependency triage decision.

Question 127

Operations at Fairhaven Transport owns a workload where a repository change breaks SQL transformations in the production bundle. The previously identified issue was: The deployment pipeline only checks YAML syntax. Which metric or audit check best detects drift?

  1. Monitor resource drift outside the deployment process
  2. Monitor validation failures after dependency or CLI upgrades
  3. Monitor test failures and bypassed approval controls
  4. Monitor CI authentication failures and principal grants

Explanation

Correct Answer

C:

Monitor test failures and bypassed approval controls. This watches the failure mode described by the deployment pipeline only checks YAML syntax. CI must run transformation tests and controlled integration checks before deployment. It supplies a regression signal after remediation.

Incorrect Answers

A:

Monitor resource drift outside the deployment process. This monitor action addresses a different case (unmanaged resource drift), where subsequent CI redeployment unexpectedly overwrites it. Declarative source of truth should include intentional job-resource changes. In the stated problem, the deployment pipeline only checks YAML syntax; this choice would not establish the required ci quality gates decision.

B:

Monitor validation failures after dependency or CLI upgrades. This monitor action addresses a different case (bundle validation), where an invalid resource key would be rejected only after production change. Bundle validation detects many configuration problems before deployment. In the stated problem, the deployment pipeline only checks YAML syntax; this choice would not establish the required ci quality gates decision.

D:

Monitor CI authentication failures and principal grants. This monitor action addresses a different case (api deployment authentication), where scheduled production deployment fails when the developer's token expires. Workload identity or service principal authentication decouples CI from employees. In the stated problem, the deployment pipeline only checks YAML syntax; this choice would not establish the required ci quality gates decision.

Question 128

At Lakewood Distribution, a reporting dashboard queries a complex aggregate without requiring row-by-row streaming. A change was deployed to address: Each dashboard query recomputes the same expensive aggregation. Which test result provides the strongest evidence that the requirement is now met?

  1. Confirm each key has one selected row matching the maximum sequence
  2. Change a customer tier and confirm old and current history rows are queryable
  3. Confirm target exchange or join behavior changed and query results remain equivalent
  4. Confirm dashboard results refresh after source data updates

Explanation

Correct Answer

D:

Confirm dashboard results refresh after source data updates. This tests the expected result against each dashboard query recomputes the same expensive aggregation, not simply whether a job or object exists. A materialized view maintains a precomputed query result through refresh.

Incorrect Answers

A:

Confirm each key has one selected row matching the maximum sequence. This validate action addresses a different case (window latest record), where the pipeline picks an arbitrary record instead of the newest sequence. ROW_NUMBER ordered by a deterministic sequence within each key selects the desired latest row. In the stated problem, each dashboard query recomputes the same expensive aggregation; this choice would not establish the required materialized view choice decision.

B:

Change a customer tier and confirm old and current history rows are queryable. This validate action addresses a different case (scd type 2 history), where overwrite-style updates destroy historical state needed for point-in-time reporting. SCD Type 2 records effective history instead of replacing the previous version. In the stated problem, each dashboard query recomputes the same expensive aggregation; this choice would not establish the required materialized view choice decision.

C:

Confirm target exchange or join behavior changed and query results remain equivalent. This validate action addresses a different case (spark explain plans), where developers tune executor size without inspecting actual exchanges. The physical execution plan exposes exchanges, scan filters and join strategy. In the stated problem, each dashboard query recomputes the same expensive aggregation; this choice would not establish the required materialized view choice decision.

Question 129

At Cobalt Biotech, a bronze layer ingests immutable audit event files. Architecture constraint: A nightly overwrite accidentally removes historical audit events. Which design best addresses this requirement?

  1. Select append writes and stable event IDs for immutable source events
  2. Use Auto Loader with managed file discovery and checkpoint/schema locations
  3. Use a stable checkpoint with a compatible idempotent Delta sink
  4. Enforce a common ingestion schema or controlled conversion before append

Explanation

Correct Answer

A:

Select append writes and stable event IDs for immutable source events. This design addresses a nightly overwrite accidentally removes historical audit events. Append-only ingestion keeps previous raw records while adding new batches. It establishes the right contract or architecture before execution changes.

Incorrect Answers

B:

Use Auto Loader with managed file discovery and checkpoint/schema locations. This design action addresses a different case (auto loader file discovery), where listing the full historical directory every run exceeds the ingestion SLA. Auto Loader is designed for incremental new-file discovery with persisted state. In the stated problem, a nightly overwrite accidentally removes historical audit events; this choice would not establish the required append-only delta bronze decision.

C:

Use a stable checkpoint with a compatible idempotent Delta sink. This design action addresses a different case (kafka offset durability), where restarting with a fresh checkpoint replays previously ingested messages. A stable streaming checkpoint maintains Kafka offsets and sink progress across restarts. In the stated problem, a nightly overwrite accidentally removes historical audit events; this choice would not establish the required append-only delta bronze decision.

D:

Enforce a common ingestion schema or controlled conversion before append. This design action addresses a different case (parquet schema mismatch), where a merge step fails after a producer changes an integer field to string. Parquet schema compatibility matters even when column names are unchanged. In the stated problem, a nightly overwrite accidentally removes historical audit events; this choice would not establish the required append-only delta bronze decision.

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.

Certified Data Engineer Professional Practice Tests