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 33

Question 320

At Westhaven Services, a JDBC ingestion task authenticates to a third-party database. The known risk is: The hard-coded service password has not rotated for a year. After remediation, which ongoing signal best detects recurrence?

  1. Scan logs and code for new secret exposure patterns
  2. Monitor view definition changes and access to raw source
  3. Audit token service access and key rotation schedules
  4. Alert on secret expiry and authentication failures

Explanation

Correct Answer

D:

Alert on secret expiry and authentication failures. This watches the failure mode described by the hard-coded service password has not rotated for a year. Secret management and controlled rotation reduce long-lived credential exposure. It supplies a regression signal after remediation.

Incorrect Answers

A:

Scan logs and code for new secret exposure patterns. This monitor action addresses a different case (secret retrieval logs), where databricks notebook redaction is incorrectly treated as a comprehensive security control. Secrets should never be deliberately printed or put in logs, regardless of redaction behavior. In the stated problem, the hard-coded service password has not rotated for a year; this choice would not establish the required credential rotation procedure decision.

B:

Monitor view definition changes and access to raw source. This monitor action addresses a different case (sensitive data suppression), where a broad SELECT still includes unstructured notes. Column suppression and data minimization prevent unnecessary sensitive-field release. In the stated problem, the hard-coded service password has not rotated for a year; this choice would not establish the required credential rotation procedure decision.

C:

Audit token service access and key rotation schedules. This monitor action addresses a different case (pseudonymized join keys), where a naive hash without controlled key management risks predictable identifiers. Keyed pseudonymization can preserve joins while reducing identifier exposure. In the stated problem, the hard-coded service password has not rotated for a year; this choice would not establish the required credential rotation procedure decision.

Question 321

A deployment owner at Cobalt Biotech needs to implement a remedy: a diagnostic notebook prints a database password after secret lookup. The present failure is: Databricks notebook redaction is incorrectly treated as a comprehensive security control. Which change should be applied?

  1. Remove print calls and sanitize exception messages containing credentials
  2. Remove overly broad edit access and grant view permission to readers
  3. Change the job run-as principal and validate the required data permissions
  4. Configure the approved network access control for the workspace

Explanation

Correct Answer

A:

Remove print calls and sanitize exception messages containing credentials. This directly changes the feature or logic behind databricks notebook redaction is incorrectly treated as a comprehensive security control. Secrets should never be deliberately printed or put in logs, regardless of redaction behavior. It is the concrete configuration for the stated incident.

Incorrect Answers

B:

Remove overly broad edit access and grant view permission to readers. This implement action addresses a different case (workspace object acl), where the team needs read-only access for most users. Workspace object permissions can restrict who can edit or manage shared code. In the stated problem, databricks notebook redaction is incorrectly treated as a comprehensive security control; this choice would not establish the required secret retrieval logs decision.

C:

Change the job run-as principal and validate the required data permissions. This implement action addresses a different case (service principal access), where the individual's credentials create unnecessary privilege and lifecycle risk. Production automation should use least-privilege service principals for stable identity. In the stated problem, databricks notebook redaction is incorrectly treated as a comprehensive security control; this choice would not establish the required secret retrieval logs decision.

D:

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, databricks notebook redaction is incorrectly treated as a comprehensive security control; this choice would not establish the required secret retrieval logs decision.

Question 322

A data engineer at Cedar Brook Commerce must troubleshoot this case: multiple engineering teams ship notebook and Python tasks to separate workspaces. Evidence: Source files and deployment definitions are coupled to one developer workspace. What should be inspected first to confirm the failure mechanism?

  1. Compare deployed job JSON with the version-controlled bundle
  2. Inspect repository paths and bundle deployment definitions for hard-coded workspace identifiers
  3. Inspect retry attempt logs and write transaction identifiers
  4. Compare job parameter definitions to hard-coded notebook literals

Explanation

Correct Answer

B:

Inspect repository paths and bundle deployment definitions for hard-coded workspace identifiers. This checks the specific evidence behind 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. The investigation distinguishes the mechanism from an unrelated operational symptom.

Incorrect Answers

A:

Compare deployed job JSON with the version-controlled bundle. This diagnose 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.

C:

Inspect retry attempt logs and write transaction identifiers. This diagnose 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, source files and deployment definitions are coupled to one developer workspace; this choice would not establish the required bundle repository layout decision.

D:

Compare job parameter definitions to hard-coded notebook literals. This diagnose 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, source files and deployment definitions are coupled to one developer workspace; this choice would not establish the required bundle repository layout decision.

Question 323

At Granite Edge Labs, a complex aggregation fails repeatedly under memory pressure. Architecture constraint: Operators increase driver memory but failures occur on executors. Which design best addresses this requirement?

  1. Separate environment failures from business logic failures in triage
  2. Require unit and integration tests plus deployment validation
  3. Tune executor-side partition sizing or skew rather than only driver memory
  4. Grant only required target write access plus parent usage

Explanation

Correct Answer

C:

Tune executor-side partition sizing or skew rather than only driver memory. This design addresses operators increase driver memory but failures occur on executors. Spark UI task failures and shuffle/spill metrics distinguish worker pressure from driver issues. It establishes the right contract or architecture before execution changes.

Incorrect Answers

A:

Separate environment failures from business logic failures in triage. This design action addresses a different case (cluster log diagnostics), where the notebook cell shows only a generic stage failure. Driver and executor logs often contain the exact import or JVM error. In the stated problem, operators increase driver memory but failures occur on executors; this choice would not establish the required spark ui failure stage decision.

B:

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, operators increase driver memory but failures occur on executors; this choice would not establish the required spark ui failure stage 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, operators increase driver memory but failures occur on executors; this choice would not establish the required spark ui failure stage decision.

Question 324

A data engineer at Granite Edge Labs must troubleshoot this case: mobile events can arrive several hours after their event timestamp. Evidence: Reports silently discard legitimate late events under an aggressive watermark. What should be inspected first to confirm the failure mechanism?

  1. Compare actual Pandas series dtypes with the Spark declared return schema
  2. Compare production deployment variables with bundle target overrides
  3. Compare deployed job JSON with the version-controlled bundle
  4. Compare ingestion delay percentiles with current watermark threshold

Explanation

Correct Answer

D:

Compare ingestion delay percentiles with current watermark threshold. This checks the specific evidence behind reports silently discard legitimate late events under an aggressive watermark. A watermark trades supported lateness for state size and timeliness. The investigation distinguishes the mechanism from an unrelated operational symptom.

Incorrect Answers

A:

Compare actual Pandas series dtypes with the Spark declared return schema. This diagnose action addresses a different case (udf return schema), where returned values cannot be converted to the declared Spark return type. Pandas UDF return values must conform to the declared Spark data type. In the stated problem, reports silently discard legitimate late events under an aggressive watermark; this choice would not establish the required late event semantics decision.

B:

Compare production deployment variables with bundle target overrides. This diagnose 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, reports silently discard legitimate late events under an aggressive watermark; this choice would not establish the required late event semantics decision.

C:

Compare deployed job JSON with the version-controlled bundle. This diagnose 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, reports silently discard legitimate late events under an aggressive watermark; this choice would not establish the required late event semantics decision.

Question 325

A deployment owner at Cascade Manufacturing needs to implement a remedy: a monolithic notebook transformation cannot be tested separately. The present failure is: Business logic depends on notebook state and widgets. Which change should be applied?

  1. Compose transformations with DataFrame.transform and explicit configuration
  2. Build transformations and invoke an explicit write or count action
  3. Update foreachBatch to upsert by business key with batch idempotency
  4. Replace the literal token with a permitted secret lookup in the job runtime

Explanation

Correct Answer

A:

Compose transformations with DataFrame.transform and explicit configuration. This directly changes the feature or logic behind business logic depends on notebook state and widgets. DataFrame.transform supports composable DataFrame-to-DataFrame functions. It is the concrete configuration for the stated incident.

Incorrect Answers

B:

Build transformations and invoke an explicit write or count action. This implement 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, business logic depends on notebook state and widgets; this choice would not establish the required transform composability decision.

C:

Update foreachBatch to upsert by business key with batch idempotency. This implement action addresses a different case (streaming idempotent sink), where 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. In the stated problem, business logic depends on notebook state and widgets; this choice would not establish the required transform composability decision.

D:

Replace the literal token with a permitted secret lookup in the job runtime. This implement 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, business logic depends on notebook state and widgets; this choice would not establish the required transform composability decision.

Question 326

At Riverbend Energy, two Databricks workspaces in an organization share a curated catalog. A change is required because: A recipient team copies files manually and loses timely updates. Which implementation action most directly corrects the configuration?

  1. Configure the share without building redundant daily copy pipelines
  2. Create a share, authorize the recipient and attach the approved tables
  3. Rotate the recipient credential according to the supported sharing workflow
  4. Remove unapproved assets and add only the vetted table to the share

Explanation

Correct Answer

B:

Create a share, authorize the recipient and attach the approved tables. This directly changes the feature or logic behind a recipient team copies files manually and loses timely updates. Databricks-to-Databricks Delta Sharing supports governed live access without manual copying. It is the concrete configuration for the stated incident.

Incorrect Answers

A:

Configure the share without building redundant daily copy pipelines. This implement action addresses a different case (shared table freshness), where consumers assume the share is a nightly static export. Delta Sharing exposes current authorized data as the provider updates the source. In the stated problem, a recipient team copies files manually and loses timely updates; this choice would not establish the required d2d managed recipient decision.

C:

Rotate the recipient credential according to the supported sharing workflow. This implement action addresses a different case (sharing credential rotation), where partners risk losing access or using a leaked long-lived credential. Credential rotation must be coordinated without unnecessarily broadening permissions. In the stated problem, a recipient team copies files manually and loses timely updates; this choice would not establish the required d2d managed recipient decision.

D:

Remove unapproved assets and add only the vetted table to the share. This implement action addresses a different case (share catalog scope), where the recipient can discover unintended datasets. A Delta Sharing share should contain only explicitly approved assets. In the stated problem, a recipient team copies files manually and loses timely updates; this choice would not establish the required d2d managed recipient decision.

Question 327

A deployment owner at Fairhaven Transport needs to implement a remedy: a customer dimension must preserve previous plan tier values. The present failure is: Overwrite-style updates destroy historical state needed for point-in-time reporting. Which change should be applied?

  1. Include the unique tie-breaker in the supported sequence expression
  2. Compose transformations with DataFrame.transform and explicit configuration
  3. Configure the supported SCD Type 2 flow with keys and sequence
  4. Replace a scalar Python UDF with supported column expressions or a Pandas UDF

Explanation

Correct Answer

C:

Configure the supported SCD Type 2 flow with keys and sequence. This directly changes the feature or logic behind overwrite-style updates destroy historical state needed for point-in-time reporting. SCD Type 2 records effective history instead of replacing the previous version. It is the concrete configuration for the stated incident.

Incorrect Answers

A:

Include the unique tie-breaker in the supported sequence expression. This implement action addresses a different case (cdc duplicate sequence), where the processing order for tied source events is nondeterministic. A deterministic sequencing contract needs a unique ordered event position. 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:

Compose transformations with DataFrame.transform and explicit configuration. This implement action addresses a different case (transform composability), where business logic depends on notebook state and widgets. DataFrame.transform supports composable DataFrame-to-DataFrame functions. 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.

D:

Replace a scalar Python UDF with supported column expressions or a Pandas UDF. This implement 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, overwrite-style updates destroy historical state needed for point-in-time reporting; this choice would not establish the required scd type 2 history decision.

Question 328

At Vantage Security, a raw ingestion feed occasionally contains personal identifiers in a supposedly anonymized field. The known risk is: The silver pipeline allows unexpected identifiers into a broad analyst dataset. After remediation, which ongoing signal best detects recurrence?

  1. Audit row filter changes and unexpectedly broad query results
  2. Monitor view definition changes and access to raw source
  3. Monitor unexpected login sources and policy drift
  4. Monitor quarantine volume and remediation completion

Explanation

Correct Answer

D:

Monitor quarantine volume and remediation completion. This watches the failure mode described by the silver pipeline allows unexpected identifiers into a broad analyst dataset. A data-quality filter can isolate suspect records before release. It supplies a regression signal after remediation.

Incorrect Answers

A:

Audit row filter changes and unexpectedly broad query results. This monitor 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, the silver pipeline allows unexpected identifiers into a broad analyst dataset; this choice would not establish the required pii quarantine decision.

B:

Monitor view definition changes and access to raw source. This monitor action addresses a different case (sensitive data suppression), where a broad SELECT still includes unstructured notes. Column suppression and data minimization prevent unnecessary sensitive-field release. In the stated problem, the silver pipeline allows unexpected identifiers into a broad analyst dataset; this choice would not establish the required pii quarantine decision.

C:

Monitor unexpected login sources and policy drift. This monitor 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 silver pipeline allows unexpected identifiers into a broad analyst dataset; this choice would not establish the required pii quarantine decision.

Question 329

At Northfield Analytics, a SQL workload spends substantial CPU executing supported relational operators. Architecture constraint: An unsupported execution mode limits vectorized engine use. Which design best addresses this requirement?

  1. Select Photon-enabled compute for eligible SQL workloads
  2. Cache only frequently reused and appropriately sized intermediate data
  3. Enable supported deletion vectors for selective mutation workloads
  4. Collect useful statistics for frequently filtered columns within supported limits

Explanation

Correct Answer

A:

Select Photon-enabled compute for eligible SQL workloads. This design addresses an unsupported execution mode limits vectorized engine use. Photon can accelerate supported SQL and DataFrame operators on compatible compute. It establishes the right contract or architecture before execution changes.

Incorrect Answers

B:

Cache only frequently reused and appropriately sized intermediate data. This design 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, an unsupported execution mode limits vectorized engine use; this choice would not establish the required photon query execution decision.

C:

Enable supported deletion vectors for selective mutation workloads. This design 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, an unsupported execution mode limits vectorized engine use; this choice would not establish the required photon query execution decision.

D:

Collect useful statistics for frequently filtered columns within supported limits. This design action addresses a different case (data skipping statistics), where file-level statistics are missing for the filter column. Delta data skipping uses collected column statistics to eliminate files. In the stated problem, an unsupported execution mode limits vectorized engine use; this choice would not establish the required photon query execution decision.

Question 330

An architecture review at Cobalt Biotech covers a workload where a developer deploys a bundle from a laptop with default settings. The unresolved constraint is: The wrong workspace is selected because target is implicit. Which design is most appropriate?

  1. Use supported noninteractive service principal or workload identity authentication
  2. Require named deployment targets and production approvals
  3. Require unit and integration tests plus deployment validation
  4. Gate deployment on successful bundle validation

Explanation

Correct Answer

B:

Require named deployment targets and production approvals. This design addresses the wrong workspace is selected because target is implicit. Explicit bundle target selection prevents accidental environment deployment. It establishes the right contract or architecture before execution changes.

Incorrect Answers

A:

Use supported noninteractive service principal or workload identity authentication. This design 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 wrong workspace is selected because target is implicit; this choice would not establish the required target-safe deployment 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, the wrong workspace is selected because target is implicit; this choice would not establish the required target-safe deployment decision.

D:

Gate deployment on successful bundle validation. This design 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 wrong workspace is selected because target is implicit; this choice would not establish the required target-safe deployment decision.

Certified Data Engineer Professional Practice Tests