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 16

Question 150

At Riverbend Energy, a logistics partner sends XML with repeated line-item elements. A change is required because: An XML ingest incorrectly flattens multiple line items into one text field. Which implementation action most directly corrects the configuration?

  1. Configure cloudFiles ingestion into a Delta bronze streaming table
  2. Configure the supported XML reader with the correct rowTag and schema
  3. Configure CSV quote/escape and malformed-record capture
  4. Configure the Kafka stream and persistent checkpoint path

Explanation

Correct Answer

B:

Configure the supported XML reader with the correct rowTag and schema. This directly changes the feature or logic behind an XML ingest incorrectly flattens multiple line items into one text field. XML ingestion must specify the repeating row element and preserve nested structure. It is the concrete configuration for the stated incident.

Incorrect Answers

A:

Configure cloudFiles ingestion into a Delta bronze streaming table. This implement 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, an XML ingest incorrectly flattens multiple line items into one text field; this choice would not establish the required xml repeating elements decision.

C:

Configure CSV quote/escape and malformed-record capture. This implement action addresses a different case (malformed csv quotes), where an ingestion reader splits quoted names into extra columns. CSV quoting and escape configurations must match the source serialization. In the stated problem, an XML ingest incorrectly flattens multiple line items into one text field; this choice would not establish the required xml repeating elements decision.

D:

Configure the Kafka stream and persistent checkpoint path. This implement 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, an XML ingest incorrectly flattens multiple line items into one text field; this choice would not establish the required xml repeating elements decision.

Question 151

At Pinecrest Holdings, a batch landing zone contains Parquet files written with incompatible column types. A change was deployed to address: A merge step fails after a producer changes an integer field to string. Which test result provides the strongest evidence that the requirement is now met?

  1. Ingest an unknown field and confirm it is retained for triage
  2. Ingest old and new samples and verify nested fields and rescued data are retained
  3. Read mixed-version samples and verify consistent target data types
  4. Deserialize old and new messages with the intended projection

Explanation

Correct Answer

C:

Read mixed-version samples and verify consistent target data types. This tests the expected result against a merge step fails after a producer changes an integer field to string, not simply whether a job or object exists. Parquet schema compatibility matters even when column names are unchanged.

Incorrect Answers

A:

Ingest an unknown field and confirm it is retained for triage. This validate 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.

B:

Ingest old and new samples and verify nested fields and rescued data are retained. This validate 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.

D:

Deserialize old and new messages with the intended projection. This validate 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.

Question 152

Operations at Cedar Brook Commerce owns a workload where multiple engineering teams ship notebook and Python tasks to separate workspaces. The previously identified issue was: Source files and deployment definitions are coupled to one developer workspace. Which metric or audit check best detects drift?

  1. Detect unmanaged changes to deployed job resources
  2. Compare installed wheel versions with the CI release manifest
  3. Audit access to the secret scope and changes to job identity
  4. Compare deployed resource definitions against committed bundle configuration

Explanation

Correct Answer

D:

Compare deployed resource definitions against committed bundle configuration. This watches the failure mode described by source files and deployment definitions are coupled to one developer workspace. A versioned Declarative Automation Bundle defines code and resource configurations separately from the target workspace. It supplies a regression signal after remediation.

Incorrect Answers

A:

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, source files and deployment definitions are coupled to one developer workspace; this choice would not establish the required bundle repository layout decision.

B:

Compare installed wheel versions with the CI release manifest. This monitor 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, source files and deployment definitions are coupled to one developer workspace; this choice would not establish the required bundle repository layout decision.

C:

Audit access to the secret scope and changes to job identity. This monitor action addresses a different case (secure configuration), where an API token is committed in a Python notebook tracked in Git. Secret-backed configuration avoids embedding credentials in notebooks or deployment YAML. In the stated problem, source files and deployment definitions are coupled to one developer workspace; this choice would not establish the required bundle repository layout decision.

Question 153

A deployment owner at Fairhaven Transport needs to implement a remedy: a downstream incremental aggregate misses updates to an existing Delta table. The present failure is: The consumer reads only newly appended rows and cannot see updates or deletes. Which change should be applied?

  1. Enable CDF where supported and read change events from a safe starting version
  2. Enable Photon on the selected supported warehouse or compute
  3. Rewrite filtering so business_date is compared directly where semantics allow
  4. Run VACUUM only after verifying the supported retention policy

Explanation

Correct Answer

A:

Enable CDF where supported and read change events from a safe starting version. This directly changes the feature or logic behind the consumer reads only newly appended rows and cannot see updates or deletes. Delta Change Data Feed exposes row-level changes for supported versions when enabled. It is the concrete configuration for the stated incident.

Incorrect Answers

B:

Enable Photon on the selected supported warehouse or compute. This implement action addresses a different case (photon query execution), where an unsupported execution mode limits vectorized engine use. Photon can accelerate supported SQL and DataFrame operators on compatible compute. In the stated problem, the consumer reads only newly appended rows and cannot see updates or deletes; this choice would not establish the required change data feed consumers decision.

C:

Rewrite filtering so business_date is compared directly where semantics allow. This implement action addresses a different case (partition pruning), where a query wraps business_date in a transformation and reads many partitions. Direct predicates on partition keys can enable partition pruning. In the stated problem, the consumer reads only newly appended rows and cannot see updates or deletes; this choice would not establish the required change data feed consumers decision.

D:

Run VACUUM only after verifying the supported retention policy. This implement action addresses a different case (vacuum retention safety), where an operator proposes aggressive VACUUM retention during active long-running readers. VACUUM retention must protect older snapshots still needed by readers and streams. In the stated problem, the consumer reads only newly appended rows and cannot see updates or deletes; this choice would not establish the required change data feed consumers decision.

Question 154

A data engineer at Orion Capital must troubleshoot this case: a bundle task invokes a Python module that has only notebook-specific initialization. Evidence: The task exits before setting up its argument parser. What should be inspected first to confirm the failure mechanism?

  1. Inspect dependency graph and upstream task statuses
  2. Inspect task invocation mode and module entrypoint expectations
  3. Inspect whether a Spark action was issued and review the execution plan
  4. Inspect Python UDF execution time and batch serialization in Spark UI

Explanation

Correct Answer

B:

Inspect task invocation mode and module entrypoint expectations. This checks the specific evidence behind the task exits before setting up its argument parser. A standard Python entrypoint and explicit arguments avoid notebook runtime assumptions. The investigation distinguishes the mechanism from an unrelated operational symptom.

Incorrect Answers

A:

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, the task exits before setting up its argument parser; this choice would not establish the required python task entrypoints decision.

C:

Inspect whether a Spark action was issued and review the execution plan. This diagnose action addresses a different case (spark lazy evaluation), where engineers assume an intermediate filter executed before any action. Spark transformations are lazy until an action triggers a job. In the stated problem, the task exits before setting up its argument parser; this choice would not establish the required python task entrypoints decision.

D:

Inspect Python UDF execution time and batch serialization in Spark UI. This diagnose 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, the task exits before setting up its argument parser; this choice would not establish the required python task entrypoints decision.

Question 155

A deployment owner at Arbor Medical needs to implement a remedy: short scheduled ETL tasks waste time starting and idling classic clusters. The present failure is: Provisioning overhead exceeds useful task execution time. Which change should be applied?

  1. Write governed Delta/Parquet output with compatible compression settings
  2. Create the managed table under the approved catalog and migrate governed data
  3. Migrate a compatible task to serverless execution with approved permissions
  4. Create or alter an eligible table with CLUSTER BY for approved keys

Explanation

Correct Answer

C:

Migrate a compatible task to serverless execution with approved permissions. This directly changes the feature or logic behind provisioning overhead exceeds useful task execution time. Supported serverless jobs can reduce infrastructure management and startup overhead. It is the concrete configuration for the stated incident.

Incorrect Answers

A:

Write governed Delta/Parquet output with compatible compression settings. This implement action addresses a different case (columnar compression), where row-oriented text storage increases scans and transfer volumes. Columnar formats and appropriate encoding improve analytical read efficiency. In the stated problem, provisioning overhead exceeds useful task execution time; this choice would not establish the required serverless job fit decision.

B:

Create the managed table under the approved catalog and migrate governed data. This implement action addresses a different case (managed table maintenance), where each table has custom file cleanup jobs and broad storage permissions. Unity Catalog managed tables provide platform-managed data placement and maintenance capabilities. In the stated problem, provisioning overhead exceeds useful task execution time; this choice would not establish the required serverless job fit decision.

D:

Create or alter an eligible table with CLUSTER BY for approved keys. This implement 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, provisioning overhead exceeds useful task execution time; this choice would not establish the required serverless job fit decision.

Question 156

A data engineer at Pinecrest Holdings must troubleshoot this case: a reporting workload joins orders, products, stores and dates. Evidence: A denormalized mixed-grain table produces redundant attributes and expensive corrections. What should be inspected first to confirm the failure mechanism?

  1. Inspect dashboard queries and the required day-product aggregation grain
  2. Inspect dimension history and event order for each account key
  3. Inspect country codes and business definitions used by both marts
  4. Inspect table grains and dimension join paths used by reports

Explanation

Correct Answer

D:

Inspect table grains and dimension join paths used by reports. This checks the specific evidence behind 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. The investigation distinguishes the mechanism from an unrelated operational symptom.

Incorrect Answers

A:

Inspect dashboard queries and the required day-product aggregation grain. This diagnose action addresses a different case (aggregate gold model), where interactive queries scan billions of detail rows for identical totals. A summarized gold table can serve a stable reporting grain efficiently. In the stated problem, a denormalized mixed-grain table produces redundant attributes and expensive corrections; this choice would not establish the required star schema analytics decision.

B:

Inspect dimension history and event order for each account key. This diagnose 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 denormalized mixed-grain table produces redundant attributes and expensive corrections; this choice would not establish the required star schema analytics decision.

C:

Inspect country codes and business definitions used by both marts. This diagnose 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 denormalized mixed-grain table produces redundant attributes and expensive corrections; this choice would not establish the required star schema analytics decision.

Question 157

Quality assurance at Harborline Utilities checks a corrected workload where a 5-MB region dimension is joined to a multi-terabyte event table. The original fault was: The join triggers a costly shuffle of the large fact dataset. Which verification is most decisive?

  1. Confirm the plan uses the intended broadcast join and results match
  2. Confirm rows with and without region codes both appear correctly
  3. Inject an invalid record and confirm the update fails visibly
  4. Count retained fact rows and confirm null-key records are represented

Explanation

Correct Answer

A:

Confirm the plan uses the intended broadcast join and results match. This tests the expected result against the join triggers a costly shuffle of the large fact dataset, not simply whether a job or object exists. Broadcasting an appropriately sized dimension can avoid a large shuffle join.

Incorrect Answers

B:

Confirm rows with and without region codes both appear correctly. This validate 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, the join triggers a costly shuffle of the large fact dataset; this choice would not establish the required broadcast lookup table decision.

C:

Inject an invalid record and confirm the update fails visibly. This validate 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, the join triggers a costly shuffle of the large fact dataset; this choice would not establish the required broadcast lookup table decision.

D:

Count retained fact rows and confirm null-key records are represented. This validate action addresses a different case (join with nullable keys), where rows with null external IDs disappear from an inner join. SQL null equality and join type determine whether unmatched rows survive. In the stated problem, the join triggers a costly shuffle of the large fact dataset; this choice would not establish the required broadcast lookup table decision.

Question 158

At Meadowland Software, a CI pipeline modifies jobs through ad hoc unversioned API calls. The known risk is: Production configuration drifts from repository source definitions. After remediation, which ongoing signal best detects recurrence?

  1. Detect unexpected package version changes in startup validation
  2. Detect unmanaged changes to deployed job resources
  3. Alert when the deployed checkpoint path differs from baseline
  4. Alert on unexpected target drift after CI deployments

Explanation

Correct Answer

B:

Detect unmanaged changes to deployed job resources. This watches the failure mode described by production configuration drifts from repository source definitions. Declarative deployment describes resources as reviewed version-controlled artifacts. It supplies a regression signal after remediation.

Incorrect Answers

A:

Detect unexpected package version changes in startup validation. This monitor action addresses a different case (library precedence), where a notebook-scoped installation overrides the expected cluster version. The runtime can resolve conflicting versions from different installation scopes. In the stated problem, production configuration drifts from repository source definitions; this choice would not establish the required databricks cli resource updates decision.

C:

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, production configuration drifts from repository source definitions; this choice would not establish the required databricks cli resource updates decision.

D:

Alert on unexpected target drift after CI deployments. This monitor 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, production configuration drifts from repository source definitions; this choice would not establish the required databricks cli resource updates decision.

Question 159

An architecture review at Pinecrest Holdings covers a workload where a foreachBatch sink writes aggregates to an external database. The unresolved constraint is: A retry of a completed batch produces duplicate sink rows. Which design is most appropriate?

  1. Make writes idempotent before enabling retries
  2. Pass nonsecret configuration separately and reference an approved secret store for credentials
  3. Use transactional merge or a committed batch-ID deduplication design
  4. Normalize the right side to its intended grain before joining

Explanation

Correct Answer

C:

Use transactional merge or a committed batch-ID deduplication design. This design addresses a retry of a completed batch produces duplicate sink rows. foreachBatch can execute a batch again and requires idempotent external writes for exactly-once effects. It establishes the right contract or architecture before execution changes.

Incorrect Answers

A:

Make writes idempotent before enabling retries. This design action addresses a different case (job retry semantics), where the downstream write repeats non-idempotent side effects on retry. Retries re-execute task logic; application code must protect repeated effects. In the stated problem, a retry of a completed batch produces duplicate sink rows; this choice would not establish the required streaming idempotent sink decision.

B:

Pass nonsecret configuration separately and reference an approved secret store for credentials. This design action addresses a different case (secure configuration), where an API token is committed in a Python notebook tracked in Git. Secret-backed configuration avoids embedding credentials in notebooks or deployment YAML. In the stated problem, a retry of a completed batch produces duplicate sink rows; this choice would not establish the required streaming idempotent sink decision.

D:

Normalize the right side to its intended grain before joining. This design action addresses a different case (sql join cardinality), where the row count doubles because the right side contains duplicate join keys. A many-to-many join expands cardinality unless the right grain is established. In the stated problem, a retry of a completed batch produces duplicate sink rows; this choice would not establish the required streaming idempotent sink decision.

Question 160

At Summit Consumer Goods, a remote warehouse is slow under a broad federated query. A change was deployed to address: An analyst pulls millions of rows before a selective filter. Which test result provides the strongest evidence that the requirement is now met?

  1. Confirm authorized query succeeds while excluded tables remain inaccessible
  2. Verify the recipient can query the shared table without a file copy
  3. Query a foreign table from Databricks and reconcile sampled source rows
  4. Compare remote rows scanned and local query results before and after

Explanation

Correct Answer

D:

Compare remote rows scanned and local query results before and after. This tests the expected result against an analyst pulls millions of rows before a selective filter, not simply whether a job or object exists. Supported predicate pushdown can reduce data transferred from a federated source.

Incorrect Answers

A:

Confirm authorized query succeeds while excluded tables remain inaccessible. This validate action addresses a different case (foreign catalog permission), where catalog discovery was mistaken for full table access. Unity Catalog usage and object privileges are still required for foreign data objects. In the stated problem, an analyst pulls millions of rows before a selective filter; this choice would not establish the required federated pushdown decision.

B:

Verify the recipient can query the shared table without a file copy. This validate action addresses a different case (d2d managed recipient), where a recipient team copies files manually and loses timely updates. Databricks-to-Databricks Delta Sharing supports governed live access without manual copying. In the stated problem, an analyst pulls millions of rows before a selective filter; this choice would not establish the required federated pushdown decision.

C:

Query a foreign table from Databricks and reconcile sampled source rows. This validate action addresses a different case (federated connection), where engineers export the full source database into cloud object storage each hour. Lakehouse Federation can query supported external sources through a catalog connection. In the stated problem, an analyst pulls millions of rows before a selective filter; this choice would not establish the required federated pushdown decision.

Certified Data Engineer Professional Practice Tests