Pass Databricks Certified Data Engineer Professional Exam in First Attempt Easily
Real Databricks Certified Data Engineer Professional Exam Questions, Accurate & Verified Answers As Experienced in the Actual Test!

Verified by experts
2 products

You save $34.99

Certified Data Engineer Professional Premium Bundle

  • Premium File 339 Questions & Answers
  • Last Update: Oct 28, 2026
  • Training Course 33 Lectures
$74.99 $109.98

Purchase Individually

  • Premium File

    339 Questions & Answers
    Last Update: Oct 28, 2026

    $76.99
    $69.99
  • Training Course

    33 Lectures

    $43.99
    $39.99

Certified Data Engineer Professional Practice Test 16

Question 150

A platform engineer needs to identify the exact task attempt, retry and failure details of a Lakeflow Job.

Which programmatic or profiling result best supports the resolution?

  1. The proposed change improves the originally dominant operator rather than just reducing total row count
  2. The failed task and exception are identified and a targeted repair succeeds without rerunning good upstream tasks
  3. The command lists only resources accessible to the service identity and reports their latest update status
  4. The profile identifies the dominant shuffle or skewed stage and its cost decreases after correction

Explanation

Correct Answer

B:

This directly verifies the intended outcome: the failed task and exception are identified and a targeted repair succeeds without rerunning good upstream tasks. Task-level run metadata pinpoints failed attempts and environmental errors hidden by a summary status. Merely seeing a green job status does not establish that the stated business condition holds.

Incorrect Answers

A:

This would test a different behavior, chiefly inspect the SQL query profile for scan volumes, shuffles, joins and spill information. Operator-level profiling distinguishes inefficient data access from downstream aggregation work. The specific evidence needed here is that the failed task and exception are identified and a targeted repair succeeds without rerunning good upstream tasks.

C:

This would test a different behavior, chiefly use the Databricks CLI or SDK with approved permissions to list pipeline metadata and updates. Supported automation interfaces expose resource state consistently for deployment and monitoring tools. The specific evidence needed here is that the failed task and exception are identified and a targeted repair succeeds without rerunning good upstream tasks.

D:

This would test a different behavior, chiefly open Spark UI and query profile to examine stages, shuffle and task skew. Execution profiling reveals the costly operators and task distribution that are not evident from business output rows. The specific evidence needed here is that the failed task and exception are identified and a targeted repair succeeds without rerunning good upstream tasks.

Question 151

A freshness dashboard must notify data owners if a critical order table is older than one hour.

Which alerting design best matches the business threshold?

  1. Create a Lakehouse alert over a query that tests table freshness and route it to authorized recipients
  2. Define a scheduled Lakehouse alert on a measured quality metric from approved evaluation data
  3. Use a data-quality query and threshold-based alert on the published table metrics
  4. Set appropriate alert thresholds, evaluation schedules and recipient routing for the intended response

Explanation

Correct Answer

A:

Query-based alerts evaluate measurable data conditions rather than depending only on job failure notifications. For this situation, create a Lakehouse alert over a query that tests table freshness and route it to authorized recipients. The relevant result would be that a deliberately stale fixture triggers the alert and a refreshed dataset clears its condition.

Incorrect Answers

B:

Lakehouse alerts can monitor query results for quality and operational thresholds in governed datasets. That option implements define a scheduled Lakehouse alert on a measured quality metric from approved evaluation data. It addresses a different problem; here the distinguishing need is to create a Lakehouse alert over a query that tests table freshness and route it to authorized recipients.

C:

Operational success does not prove business completeness; measurable quality thresholds detect low-volume anomalies. That option implements use a data-quality query and threshold-based alert on the published table metrics. It addresses a different problem; here the distinguishing need is to create a Lakehouse alert over a query that tests table freshness and route it to authorized recipients.

D:

Well-scoped alert conditions reduce noise while retaining visibility of persistent SLA violations. That option implements set appropriate alert thresholds, evaluation schedules and recipient routing for the intended response. It addresses a different problem; here the distinguishing need is to create a Lakehouse alert over a query that tests table freshness and route it to authorized recipients.

Question 152

A support reporting table becomes expensive after a field changed its predicate type.

Which result proves the targeted optimization without compromising correctness?

  1. Daily compute usage falls substantially while the job still finishes by its deadline
  2. The query scans fewer bytes and finishes sooner without a proportional increase in cluster cost
  3. Utilization stays within safe limits and the measured run cost falls at the same data volume
  4. After a source correction, the dashboard returns updated values within its stated freshness SLA

Explanation

Correct Answer

B:

This directly verifies the intended outcome: the query scans fewer bytes and finishes sooner without a proportional increase in cluster cost. Scaling compute cannot replace effective data pruning when excessive I/O is the root cause. Merely seeing a green job status does not establish that the stated business condition holds.

Incorrect Answers

A:

This would test a different behavior, chiefly move the scheduled workload to appropriately sized job or serverless compute with automatic lifecycle. On-demand compute removes idle costs while preserving the workload's execution SLA. The specific evidence needed here is that the query scans fewer bytes and finishes sooner without a proportional increase in cluster cost.

C:

This would test a different behavior, chiefly use measured resource utilization to right-size compute and autoscaling limits. CPU, memory and I/O metrics distinguish undersized compute from overprovisioned idle capacity. The specific evidence needed here is that the query scans fewer bytes and finishes sooner without a proportional increase in cluster cost.

D:

This would test a different behavior, chiefly define a cache invalidation strategy or avoid caching data that requires immediate freshness. Caches can improve repeated-read speed but must not violate the business contract for updated values. The specific evidence needed here is that the query scans fewer bytes and finishes sooner without a proportional increase in cluster cost.

Question 153

A utility billing table includes null meter identifiers that violate its business contract.

Which quality-test observation best proves the control works?

  1. Two different orders for one customer survive while retry duplicates of the same order are eliminated
  2. Bad fixture rows trigger the chosen expectation outcome and quality metrics show their observed counts
  3. The invalid record is found with source and rejection reason and is absent from the trusted silver output
  4. An intentionally incorrect schema fails the test and the correct fixture passes with expected metrics

Explanation

Correct Answer

B:

This directly verifies the intended outcome: bad fixture rows trigger the chosen expectation outcome and quality metrics show their observed counts. Declarative expectations evaluate data-quality rules and distinguish invalid rows from valid published data. Merely seeing a green job status does not establish that the stated business condition holds.

Incorrect Answers

A:

This would test a different behavior, chiefly define the data-quality and deduplication key at the event's actual business grain. Using an overly broad key can discard valid distinct events that share a parent identifier. The specific evidence needed here is that bad fixture rows trigger the chosen expectation outcome and quality metrics show their observed counts.

C:

This would test a different behavior, chiefly route invalid records to a governed quarantine dataset with reason and source metadata. Quarantine preserves traceability and supports repair instead of silently deleting evidence. The specific evidence needed here is that bad fixture rows trigger the chosen expectation outcome and quality metrics show their observed counts.

D:

This would test a different behavior, chiefly add contract tests for schema and critical numeric invariants before releasing data. Schema and invariant assertions catch semantic failures that a successful job run or row count cannot detect. The specific evidence needed here is that bad fixture rows trigger the chosen expectation outcome and quality metrics show their observed counts.

Question 154

A customer success department needs to query a sanitized view while the underlying raw table remains restricted.

Which query result demonstrates correct protection for each role?

  1. A cross-division test query returns only allowed policies for each analyst principal
  2. Approved and unapproved roles receive full and masked values respectively from the same table
  3. Removing a local table grant cannot bypass the central mask and a new matching table is protected automatically
  4. The intended group can query only the curated view while direct raw-table access is denied

Explanation

Correct Answer

D:

This directly verifies the intended outcome: the intended group can query only the curated view while direct raw-table access is denied. View definition alone is not a substitute for object permissions; access paths must be authorized explicitly. Merely seeing a green job status does not establish that the stated business condition holds.

Incorrect Answers

A:

This would test a different behavior, chiefly apply a Unity Catalog row-filter policy to the shared table with authorized division logic. Row filters enforce row-level visibility on each query instead of trusting users to remember a WHERE clause. The specific evidence needed here is that the intended group can query only the curated view while direct raw-table access is denied.

B:

This would test a different behavior, chiefly attach a Unity Catalog column mask with a suitable identity-aware masking function. Column masks transform sensitive values at query time without generating separate physical copies per audience. The specific evidence needed here is that the intended group can query only the curated view while direct raw-table access is denied.

C:

This would test a different behavior, chiefly use centrally controlled ABAC policies instead of owner-managed table masks for uniform enforcement. Central ABAC reduces the ability of table owners to remove sensitive-data restrictions applied across assets. The specific evidence needed here is that the intended group can query only the curated view while direct raw-table access is denied.

Question 155

A stream crashes during a sink write and restarts at the beginning of previously processed files.

Which streaming configuration or processing pattern is the best fit?

  1. Use foreachBatch with idempotent downstream writes keyed by batch identifier
  2. Configure a durable distinct Structured Streaming checkpoint location for the query
  3. Optimize microbatch processing throughput or scale compute before merely decreasing trigger interval
  4. Choose an output mode supported by the stateful aggregation and its target sink

Explanation

Correct Answer

B:

Checkpoint metadata records source progress and state for consistent recovery across restarts. For this situation, configure a durable distinct Structured Streaming checkpoint location for the query. The relevant result would be that after an intentional restart, committed offsets are preserved and no completed source batch is counted twice.

Incorrect Answers

A:

foreachBatch permits custom sink logic, but replayed batches require idempotency for effective exactly-once outcomes. That option implements use foreachBatch with idempotent downstream writes keyed by batch identifier. It addresses a different problem; here the distinguishing need is to configure a durable distinct Structured Streaming checkpoint location for the query.

C:

A shorter trigger does not make a slow microbatch run faster and cannot resolve sustained capacity deficits. That option implements optimize microbatch processing throughput or scale compute before merely decreasing trigger interval. It addresses a different problem; here the distinguishing need is to configure a durable distinct Structured Streaming checkpoint location for the query.

D:

Append mode cannot emit continually revised aggregates until they are finalized; output mode must match query semantics. That option implements choose an output mode supported by the stateful aggregation and its target sink. It addresses a different problem; here the distinguishing need is to configure a durable distinct Structured Streaming checkpoint location for the query.

Question 156

A regulatory extract must compare two sets of identifiers and find keys present in either one.

Which join or set-processing design best preserves the data grain?

  1. Resolve the intended dimension row per key or effective-time interval before the fact join
  2. Join on validated business keys with an explicit cardinality check before aggregating
  3. Deduplicate records using a stable transaction identifier before SUM aggregations
  4. Use a distinct UNION or equivalent set operation and validate schema compatibility

Explanation

Correct Answer

D:

Set union removes duplicates by defined columns whereas UNION ALL retains duplicate rows. For this situation, use a distinct UNION or equivalent set operation and validate schema compatibility. The relevant result would be that the output contains each expected key exactly once and preserves the agreed data types.

Incorrect Answers

A:

Historical dimension versions require point-in-time matching to avoid multiplying facts by all versions. That option implements resolve the intended dimension row per key or effective-time interval before the fact join. It addresses a different problem; here the distinguishing need is to use a distinct UNION or equivalent set operation and validate schema compatibility.

B:

Correct join keys and expected cardinality prevent accidental many-to-many duplication. That option implements join on validated business keys with an explicit cardinality check before aggregating. It addresses a different problem; here the distinguishing need is to use a distinct UNION or equivalent set operation and validate schema compatibility.

C:

Grouping alone sums repeated events unless duplicates are removed at the intended business grain. That option implements deduplicate records using a stable transaction identifier before SUM aggregations. It addresses a different problem; here the distinguishing need is to use a distinct UNION or equivalent set operation and validate schema compatibility.

Question 157

A service account's scheduled task receives permission-denied errors after a Unity Catalog migration.

Which job-run result demonstrates a successful targeted recovery?

  1. A test under the intended run-as identity reads approved data after the correct narrow grant
  2. A simulated repeated task leaves exactly one business row per unique source event
  3. The repair completes only the necessary tasks and upstream data is not duplicated
  4. The service-principal run accesses only its approved secret and completes successfully

Explanation

Correct Answer

A:

This directly verifies the intended outcome: a test under the intended run-as identity reads approved data after the correct narrow grant. Catalog access failures depend on the run-as principal and required hierarchy privileges, not notebook ownership alone. Merely seeing a green job status does not establish that the stated business condition holds.

Incorrect Answers

B:

This would test a different behavior, chiefly make the affected write idempotent and use the job attempt history to identify the replay boundary. Job retry semantics do not roll back external side effects; idempotent keys prevent duplicate commits. The specific evidence needed here is that a test under the intended run-as identity reads approved data after the correct narrow grant.

C:

This would test a different behavior, chiefly use Lakeflow Jobs repair to retry failed downstream tasks and review the relevant failure details. Repair runs can preserve eligible successful upstream work while rerunning selected failed tasks. The specific evidence needed here is that a test under the intended run-as identity reads approved data after the correct narrow grant.

D:

This would test a different behavior, chiefly compare execution identity, secret permissions and job-task environment for the failing run. Interactive and automated runs can differ in principal and dependency context even with identical code. The specific evidence needed here is that a test under the intended run-as identity reads approved data after the correct narrow grant.

Question 158

A microbatch job recomputes the complete historical aggregate from scratch on every trigger.

Which streaming performance change should be prioritized?

  1. Use supported incremental stateful aggregation with checkpointed progress instead of repeated full historical reads
  2. Configure event-time watermarks and bounded join-state conditions for the business lateness tolerance
  3. Apply appropriate streaming write settings and compaction or managed optimization to control file size
  4. Profile the streaming bottleneck and increase sustained processing throughput before tuning the trigger interval

Explanation

Correct Answer

A:

Incremental processing updates state for new events rather than repeatedly transforming all prior source data. For this situation, use supported incremental stateful aggregation with checkpointed progress instead of repeated full historical reads. The relevant result would be that microbatch input scan size follows new arrival volume and totals match a full independent reference calculation.

Incorrect Answers

B:

Watermarks allow Spark to evict expired streaming state without discarding permissible late events. That option implements configure event-time watermarks and bounded join-state conditions for the business lateness tolerance. It addresses a different problem; here the distinguishing need is to use supported incremental stateful aggregation with checkpointed progress instead of repeated full historical reads.

C:

Large numbers of small files add metadata and I/O overhead to downstream scans. That option implements apply appropriate streaming write settings and compaction or managed optimization to control file size. It addresses a different problem; here the distinguishing need is to use supported incremental stateful aggregation with checkpointed progress instead of repeated full historical reads.

D:

Backlog only shrinks when processing capacity exceeds input arrival rate over time. That option implements profile the streaming bottleneck and increase sustained processing throughput before tuning the trigger interval. It addresses a different problem; here the distinguishing need is to use supported incremental stateful aggregation with checkpointed progress instead of repeated full historical reads.

Question 159

A customer analytics pipeline explodes from millions to billions of intermediate rows.

Which execution-profile finding would validate the diagnosis?

  1. The bad fixture is identified and appropriate quarantine handling allows valid partitions to complete
  2. After remediation the long-tail tasks shrink and query output remains correct
  3. After rewrite, scanned bytes decrease and the filtered result set remains identical
  4. The repaired join plan uses intended key conditions and output cardinality matches expectations

Explanation

Correct Answer

D:

This directly verifies the intended outcome: the repaired join plan uses intended key conditions and output cardinality matches expectations. An accidental Cartesian product can multiply intermediate rows and dominate cost. Merely seeing a green job status does not establish that the stated business condition holds.

Incorrect Answers

A:

This would test a different behavior, chiefly inspect executor logs and Spark UI failed task details to isolate the offending partition and data. Task-level diagnostics provide specific executor exceptions and data locations hidden by the top-level job status. The specific evidence needed here is that the repaired join plan uses intended key conditions and output cardinality matches expectations.

B:

This would test a different behavior, chiefly use Spark UI task timelines and shuffle metrics to isolate skewed partitions before applying a targeted fix. Disproportionate task durations and shuffle bytes reveal skew rather than general CPU scarcity. The specific evidence needed here is that the repaired join plan uses intended key conditions and output cardinality matches expectations.

C:

This would test a different behavior, chiefly use query profile scan metrics to identify predicate pushdown or data-skipping regressions. Scan-level evidence distinguishes inefficient reads from subsequent aggregation performance. The specific evidence needed here is that the repaired join plan uses intended key conditions and output cardinality matches expectations.

Question 160

A warehouse sensor feed delivers records all day and its analytics table should update without full source rescans.

What outcome best verifies the pipeline design?

  1. The invalid test rows are rejected under the chosen policy and recorded quality counts match the fixture
  2. After backfill, historical keys reconcile to expected values and the live stream continues from its prior checkpoint
  3. A source correction appears in the refreshed aggregate after the materialized view refresh completes
  4. Successive pipeline updates ingest only newly arrived source records with no duplicate rows after a restart

Explanation

Correct Answer

D:

This directly verifies the intended outcome: successive pipeline updates ingest only newly arrived source records with no duplicate rows after a restart. Streaming tables process new source changes incrementally and track pipeline state across updates. Merely seeing a green job status does not establish that the stated business condition holds.

Incorrect Answers

A:

This would test a different behavior, chiefly use Lakeflow expectations with explicit drop or fail behavior and capture expectation metrics. Expectations define data quality handling and surface invalid-record metrics rather than silently swallowing failures. The specific evidence needed here is that successive pipeline updates ingest only newly arrived source records with no duplicate rows after a restart.

B:

This would test a different behavior, chiefly separate controlled backfill processing from the live streaming checkpoint and reconcile outputs by stable keys. Reusing a live checkpoint for an unrelated replay can mix offsets and produce inconsistent duplicates. The specific evidence needed here is that successive pipeline updates ingest only newly arrived source records with no duplicate rows after a restart.

C:

This would test a different behavior, chiefly define a Lakeflow materialized view for the maintained derived query. A materialized view represents a query result refreshed from upstream dependencies rather than simply appending stream records. The specific evidence needed here is that successive pipeline updates ingest only newly arrived source records with no duplicate rows after a restart.

Certified Data Engineer Professional Practice Tests

Purchase Individually

  • Premium File

    339 Questions & Answers
    Last Update: Oct 28, 2026

    $76.99
    $69.99
  • Training Course

    33 Lectures

    $43.99
    $39.99

SPECIAL OFFER: GET 10% OFF
This is ONE TIME OFFER

You save
10%

Enter Your Email Address to Receive Your 10% Off Discount Code

SPECIAL OFFER: GET 10% OFF

You save
10%

Use Discount Code:

A confirmation link was sent to your e-mail.

Please check your mailbox for a message from support@examlabs.com and follow the directions.

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your email address below to get started with our interactive software demo of your free trial.

  • Realistic exam simulation and exam editor with preview functions
  • Whole exam in a single file with several different question types
  • Customizable exam-taking mode & detailed score reports