Databricks Certified Data Engineer Professional Practice Test 72
Question 710
At Silver Ridge Logistics, a streaming pipeline fails only for one nested record. A change was deployed to address: Re-running a huge source in development is slow and risky. Which test result provides the strongest evidence that the requirement is now met?
- Confirm live settings match repository after redeployment
- Confirm the fix handles the record and leaves valid cases unchanged
- Confirm job and pipeline IDs appear only in the intended workspace
- Confirm known-good logic and output metrics return without replay damage
Explanation
Correct Answer
B:Confirm the fix handles the record and leaves valid cases unchanged. This tests the expected result against re-running a huge source in development is slow and risky, not simply whether a job or object exists. A minimal reproducible input isolates the failure without modifying production data.
Incorrect Answers
A:Confirm live settings match repository after redeployment. This validate 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, re-running a huge source in development is slow and risky; this choice would not establish the required pipeline debug sampling decision.
C:Confirm job and pipeline IDs appear only in the intended workspace. This validate 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, re-running a huge source in development is slow and risky; this choice would not establish the required pipeline debug sampling decision.
D:Confirm known-good logic and output metrics return without replay damage. This validate action addresses a different case (rollback deployment), where deployers have no record of the previous working configuration. Versioned bundle releases enable controlled rollback to a known commit. In the stated problem, re-running a huge source in development is slow and risky; this choice would not establish the required pipeline debug sampling decision.
Question 711
At Clearstone Media, a message bus sends Avro-encoded order events with added optional fields. A change was deployed to address: An older consumer cannot deserialize records from a newer producer schema. Which test result provides the strongest evidence that the requirement is now met?
- Parse an order with three line items and confirm all three survive
- Restart the job and verify no duplicate committed records
- Deserialize old and new messages with the intended projection
- Ingest old and new samples and verify nested fields and rescued data are retained
Explanation
Correct Answer
C:Deserialize old and new messages with the intended projection. This tests the expected result against an older consumer cannot deserialize records from a newer producer schema, not simply whether a job or object exists. Avro writer-reader schema compatibility must be maintained for evolution.
Incorrect Answers
A:Parse an order with three line items and confirm all three survive. This validate action addresses a different case (xml repeating elements), where an XML ingest incorrectly flattens multiple line items into one text field. XML ingestion must specify the repeating row element and preserve nested structure. In the stated problem, an older consumer cannot deserialize records from a newer producer schema; this choice would not establish the required avro schema evolution decision.
B:Restart the job and verify no duplicate committed records. This validate 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 older consumer cannot deserialize records from a newer producer schema; this choice would not establish the required avro schema evolution decision.
D: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, an older consumer cannot deserialize records from a newer producer schema; this choice would not establish the required avro schema evolution decision.
Question 712
At Meadowland Software, finance and marketing marts use different country coding standards. Architecture constraint: The same country appears under conflicting dimension keys across marts. Which design best addresses this requirement?
- Model Type 2 records with effective intervals and current-row flag
- Plan an additive nullable dimension attribute with documented defaults
- Employ immutable surrogate dimension keys mapped from source business IDs
- Define a common country dimension with agreed identifiers and attributes
Explanation
Correct Answer
D:Define a common country dimension with agreed identifiers and attributes. This design addresses the same country appears under conflicting dimension keys across marts. A conformed dimension provides common attribute definitions across fact models. It establishes the right contract or architecture before execution changes.
Incorrect Answers
A:Model Type 2 records with effective intervals and current-row flag. This design 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, the same country appears under conflicting dimension keys across marts; this choice would not establish the required conformed dimensions decision.
B:Plan an additive nullable dimension attribute with documented defaults. This design action addresses a different case (dimension evolution), where a destructive table recreation would invalidate downstream consumers. Additive schema evolution can preserve contracts when null defaults are acceptable. In the stated problem, the same country appears under conflicting dimension keys across marts; this choice would not establish the required conformed dimensions decision.
C:Use immutable surrogate dimension keys mapped from source business IDs. This design action addresses a different case (surrogate dimension keys), where joining facts directly on mutable business IDs links history incorrectly. Stable surrogate keys decouple dimensional identity from changing source identifiers. In the stated problem, the same country appears under conflicting dimension keys across marts; this choice would not establish the required conformed dimensions decision.
Question 713
At Granite Edge Labs, a complex aggregation fails repeatedly under memory pressure. Observed issue: Operators increase driver memory but failures occur on executors. Before applying a fix, which investigation is most directly relevant?
- Inspect failed executor task metrics and exception messages
- Inspect CLI target resolution and workspace host for the command
- Inspect effective grants on source, target and parent containers for the run-as principal
- Inspect pipeline event log update IDs and error messages
Explanation
Correct Answer
A:Inspect failed executor task metrics and exception messages. This checks the specific evidence behind operators increase driver memory but failures occur on executors. Spark UI task failures and shuffle/spill metrics distinguish worker pressure from driver issues. The investigation distinguishes the mechanism from an unrelated operational symptom.
Incorrect Answers
B:Inspect CLI target resolution and workspace host for the command. This diagnose 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, operators increase driver memory but failures occur on executors; this choice would not establish the required spark ui failure stage decision.
C:Inspect effective grants on source, target and parent containers for the run-as principal. This diagnose 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.
D:Inspect pipeline event log update IDs and error messages. This diagnose action addresses a different case (lakeflow event error classes), where the only visible dashboard status is FAILED without a dataset name. Pipeline event logs identify failing update and dataset messages. 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 714
Operations at Summit Consumer Goods owns a workload where a team directly edits shared production notebook code in the workspace. The previously identified issue was: There is no controlled code review or rollback history. Which metric or audit check best detects drift?
- Monitor duplicate delivery IDs and retry attempts
- Monitor direct edits that bypass Git review
- Monitor CI authentication failures and principal grants
- Monitor dependency-related task failure signatures
Explanation
Correct Answer
B:Monitor direct edits that bypass Git review. This watches the failure mode described by there is no controlled code review or rollback history. Databricks Git folders connect workspace development to version control. It supplies a regression signal after remediation.
Incorrect Answers
A:Monitor duplicate delivery IDs and retry attempts. This monitor action addresses a different case (idempotent retry repair), where customers receive repeated notifications for the same batch. Task retries need idempotent side effects even when upstream work is reused. In the stated problem, there is no controlled code review or rollback history; this choice would not establish the required git folder collaboration decision.
C: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, there is no controlled code review or rollback history; this choice would not establish the required git folder collaboration decision.
D:Monitor dependency-related task failure signatures. This monitor 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, there is no controlled code review or rollback history; this choice would not establish the required git folder collaboration decision.
Question 715
At Arbor Medical, an engineering team installs a compiled Python wheel on job compute. Observed issue: The wheel works on a developer laptop but fails with a binary compatibility error. Before applying a fix, which investigation is most directly relevant?
- Inspect Python UDF execution time and batch serialization in Spark UI
- Inspect wheel contents, import paths and the task's installed package version
- Inspect wheel tags, runtime Python version and library load error
- Inspect pip resolution output and the installed dependency tree
Explanation
Correct Answer
C:Inspect wheel tags, runtime Python version and library load error. This checks the specific evidence behind 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. The investigation distinguishes the mechanism from an unrelated operational symptom.
Incorrect Answers
A: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 wheel works on a developer laptop but fails with a binary compatibility error; this choice would not establish the required wheel abi compatibility decision.
B:Inspect wheel contents, import paths and the task's installed package version. This diagnose action addresses a different case (python wheel packaging), where a refactor broke a notebook-relative import in the deployed job. A properly packaged versioned wheel gives Python code stable import paths outside notebooks. In the stated problem, the wheel works on a developer laptop but fails with a binary compatibility error; this choice would not establish the required wheel abi compatibility decision.
D:Inspect pip resolution output and the installed dependency tree. This diagnose action addresses a different case (library version pinning), where a transitive dependency updated to an incompatible version. Explicit compatible dependency versions improve reproducibility across new compute environments. In the stated problem, the wheel works on a developer laptop but fails with a binary compatibility error; this choice would not establish the required wheel abi compatibility decision.
Question 716
A deployment owner at Bayview Insurance needs to implement a remedy: a SQL warehouse query scans most files in a large table. The present failure is: Operators assume the query is always CPU-bound. Which change should be applied?
- Query jobs system tables using suitable retention-aware time filters
- Record stage timestamps and expose a freshness query
- Query the pipeline event log for the failed dataset and update ID
- Apply the data-skipping-friendly predicate or clustering update
Explanation
Correct Answer
D:Apply the data-skipping-friendly predicate or clustering update. This directly changes the feature or logic behind operators assume the query is always CPU-bound. Query Profile identifies scan, pruning and shuffle behavior for SQL workloads. It is the concrete configuration for the stated incident.
Incorrect Answers
A:Query jobs system tables with appropriate retention-aware time filters. This implement action addresses a different case (job operational history), where operators only see the most recent run in the Jobs UI. Jobs system records support historical analysis of runs and tasks. In the stated problem, operators assume the query is always CPU-bound; this choice would not establish the required query profile scans decision.
B:Record stage timestamps and expose a freshness query. This implement action addresses a different case (end-to-end sla), where operators monitor compute uptime rather than data freshness. SLA monitoring should measure source event time to published table availability. In the stated problem, operators assume the query is always CPU-bound; this choice would not establish the required query profile scans decision.
C:Query the pipeline event log for the failed dataset and update ID. This implement action addresses a different case (pipeline event log), where the Jobs status only reports a high-level failure. Lakeflow pipeline event logs include update-level errors and progress events. In the stated problem, operators assume the query is always CPU-bound; this choice would not establish the required query profile scans decision.
Question 717
Operations at Lakewood Distribution owns a workload where a filter on event_date scans nearly all Delta files. The previously identified issue was: File-level statistics are missing for the filter column. Which metric or audit check best detects drift?
- Monitor query scans and available column stats
- Monitor storage growth and compression effectiveness
- Monitor small-file accumulation and optimization jobs
- Monitor MERGE scan bytes across incremental batches
Explanation
Correct Answer
A:Monitor query scans and available column stats. This watches the failure mode described by file-level statistics are missing for the filter column. Delta data skipping uses collected column statistics to eliminate files. It supplies a regression signal after remediation.
Incorrect Answers
B:Monitor storage growth and compression effectiveness. This monitor 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, file-level statistics are missing for the filter column; this choice would not establish the required data skipping statistics decision.
C:Monitor small-file accumulation and optimization jobs. This monitor action addresses a different case (small file compaction), where read overhead grows because query plans open excessive small files. OPTIMIZE can compact compatible Delta files without changing logical table contents. In the stated problem, file-level statistics are missing for the filter column; this choice would not establish the required data skipping statistics decision.
D:Monitor MERGE scan bytes across incremental batches. This monitor action addresses a different case (predicate-limited merge), where the merge scans unrelated historical partitions. Constraining merge matches to relevant partitions can reduce unnecessary target scanning. In the stated problem, file-level statistics are missing for the filter column; this choice would not establish the required data skipping statistics decision.
Question 718
An architecture review at Westhaven Services covers a workload where a governance team investigates an unexpected table access event. The unresolved constraint is: Workspace notebook logs do not show the full audited account activity. Which design is most appropriate?
- Define freshness SLO based on end-to-end observed lag
- Use restricted system audit tables for investigations rather than exposing them broadly
- Design a governed cost dashboard grouped by job/workload labels
- Build structured operational diagnostics from pipeline event records
Explanation
Correct Answer
B:Use restricted system audit tables for investigations rather than exposing them broadly. This design addresses workspace notebook logs do not show the full audited account activity. System audit tables provide security-relevant account events subject to access controls. It establishes the right contract or architecture before execution changes.
Incorrect Answers
A:Define freshness SLO based on end-to-end observed lag. This design action addresses a different case (end-to-end sla), where operators monitor compute uptime rather than data freshness. SLA monitoring should measure source event time to published table availability. In the stated problem, workspace notebook logs do not show the full audited account activity; this choice would not establish the required audit log review decision.
C:Design a governed cost dashboard grouped by job/workload labels. This design action addresses a different case (billing usage monitoring), where cost reports omit some job and workspace labels. Databricks system billing tables can expose usage records for cost attribution. In the stated problem, workspace notebook logs do not show the full audited account activity; this choice would not establish the required audit log review decision.
D:Build structured operational diagnostics from pipeline event records. This design action addresses a different case (pipeline event log), where the Jobs status only reports a high-level failure. Lakeflow pipeline event logs include update-level errors and progress events. In the stated problem, workspace notebook logs do not show the full audited account activity; this choice would not establish the required audit log review decision.
Question 719
At Vantage Security, a raw ingestion feed occasionally contains personal identifiers in a supposedly anonymized field. Architecture constraint: The silver pipeline allows unexpected identifiers into a broad analyst dataset. Which design best addresses this requirement?
- Choose structured error classes and record identifiers rather than raw payloads
- Publish a minimal secure view with only approved attributes
- Quarantine suspect records behind restricted grants until remediation
- Choose a managed keyed tokenization or keyed HMAC contract for cross-dataset linkage
Explanation
Correct Answer
C:Quarantine suspect records behind restricted grants until remediation. This design addresses the silver pipeline allows unexpected identifiers into a broad analyst dataset. A data-quality filter can isolate suspect records before release. It establishes the right contract or architecture before execution changes.
Incorrect Answers
A:Choose structured error classes and record identifiers rather than raw payloads. This design action addresses a different case (restricted event logging), where logs expose PII to broader operations readers. Logging should redact or omit sensitive payload fields while preserving diagnostic codes. 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:Publish a minimal secure view with only approved attributes. This design 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.
D:Choose a managed keyed tokenization or keyed HMAC contract for cross-dataset linkage. This design 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 silver pipeline allows unexpected identifiers into a broad analyst dataset; this choice would not establish the required pii quarantine decision.
Question 720
At Granite Edge Labs, a provider exposes a whole schema when only one vetted table was approved. A change is required because: The recipient can discover unintended datasets. Which implementation action most directly corrects the configuration?
- Configure the share without building redundant daily copy pipelines
- Create a scoped sharing recipient and distribute credentials through an approved channel
- Create a share, authorize the recipient and attach the approved tables
- Remove unapproved assets and add only the vetted table to the share
Explanation
Correct Answer
D:Remove unapproved assets and add only the vetted table to the share. This directly changes the feature or logic behind the recipient can discover unintended datasets. A Delta Sharing share should contain only explicitly approved assets. 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, the recipient can discover unintended datasets; this choice would not establish the required share catalog scope decision.
B:Create a scoped sharing recipient and distribute credentials through an approved channel. This implement action addresses a different case (open protocol recipient), where the partner cannot use an internal Databricks-to-Databricks credential flow. Open Delta Sharing can support non-Databricks recipients using the sharing protocol. In the stated problem, the recipient can discover unintended datasets; this choice would not establish the required share catalog scope decision.
C:Create a share, authorize the recipient and attach the approved tables. This implement 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, the recipient can discover unintended datasets; this choice would not establish the required share catalog scope decision.