Databricks Certified Data Engineer Professional Practice Test 51
Question 500
An architecture review at Clearstone Media covers a workload where a central dashboard must display status for hundreds of workflows. The unresolved constraint is: A manual UI report omits failed tasks and paginated runs. Which design is most appropriate?
- Design an approved incident destination for failed job events
- Report violation rate as an explicit quality indicator
- Design a governed cost dashboard grouped by job/workload labels
- Design a polling integration respecting API quotas and run state transitions
Explanation
Correct Answer
D:Design a polling integration respecting API quotas and run state transitions. This design addresses a manual UI report omits failed tasks and paginated runs. The Jobs API exposes run records that a program can paginate and aggregate. It establishes the right contract or architecture before execution changes.
Incorrect Answers
A:Design an approved incident destination for failed job events. This design action addresses a different case (job webhook destination), where only personal email notifications are configured. Supported job notification destinations can integrate workflow status with an incident system. In the stated problem, a manual UI report omits failed tasks and paginated runs; this choice would not establish the required jobs rest monitoring decision.
B:Report violation rate as an explicit quality indicator. This design action addresses a different case (expectation monitoring), where analysts confuse successful pipeline status with zero rejected records. Quality metric events reveal input and dropped records separately from update status. In the stated problem, a manual UI report omits failed tasks and paginated runs; this choice would not establish the required jobs rest monitoring 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, a manual UI report omits failed tasks and paginated runs; this choice would not establish the required jobs rest monitoring decision.
Question 501
At Lakewood Distribution, a vendor adds an unexpected nonnullable column value during JSON ingestion. A change was deployed to address: Unknown or mismatched fields disappear during the bronze load. Which test result provides the strongest evidence that the requirement is now met?
- Ingest an unknown field and confirm it is retained for triage
- Run two distinct batches and confirm both histories remain accessible
- Ingest old and new samples and verify nested fields and rescued data are retained
- Parse an order with three line items and confirm all three survive
Explanation
Correct Answer
A:Ingest an unknown field and confirm it is retained for triage. This tests the expected result against unknown or mismatched fields disappear during the bronze load, not simply whether a job or object exists. The rescued data column can preserve records with unexpected schema content for later remediation.
Incorrect Answers
B:Run two distinct batches and confirm both histories remain accessible. This validate action addresses a different case (append-only delta bronze), where a nightly overwrite accidentally removes historical audit events. Append-only ingestion keeps previous raw records while adding new batches. In the stated problem, unknown or mismatched fields disappear during the bronze load; this choice would not establish the required auto loader rescued data decision.
C: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, unknown or mismatched fields disappear during the bronze load; this choice would not establish the required auto loader rescued data decision.
D: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, unknown or mismatched fields disappear during the bronze load; this choice would not establish the required auto loader rescued data decision.
Question 502
At Westhaven Services, a daily Delta MERGE updates a tiny set of dates in a massive fact table. A change is required because: The merge scans unrelated historical partitions. Which implementation action most directly corrects the configuration?
- Tune shuffle partitions or adaptive coalescing on the affected workload
- Add supported partition or clustering predicates to MERGE match conditions
- Enable Photon on the selected supported warehouse or compute
- Configure supported min/max worker settings for the workload
Explanation
Correct Answer
B:Add supported partition or clustering predicates to MERGE match conditions. This directly changes the feature or logic behind the merge scans unrelated historical partitions. Constraining merge matches to relevant partitions can reduce unnecessary target scanning. It is the concrete configuration for the stated incident.
Incorrect Answers
A:Tune shuffle partitions or adaptive coalescing on the affected workload. This implement action addresses a different case (shuffle partition count), where the current partition count is too low for data volume. Shuffle partition sizing affects memory pressure and task parallelism. In the stated problem, the merge scans unrelated historical partitions; this choice would not establish the required predicate-limited merge decision.
C: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 merge scans unrelated historical partitions; this choice would not establish the required predicate-limited merge decision.
D:Configure supported min/max worker settings for the workload. This implement action addresses a different case (autoscaling right-size), where a fixed high-worker count wastes resources on quiet days. Supported autoscaling can adapt worker count within configured bounds. In the stated problem, the merge scans unrelated historical partitions; this choice would not establish the required predicate-limited merge decision.
Question 503
An architecture review at Westhaven Services covers a workload where a new streaming pipeline revision causes wrong customer totals. The unresolved constraint is: Deployers have no record of the previous working configuration. Which design is most appropriate?
- Tune executor-side partition sizing or skew rather than only driver memory
- Use branch-based review and merge before deployment
- Plan rollback of code/resources while protecting compatible state and schema
- Define a controlled change-management path for resource configuration
Explanation
Correct Answer
C:Plan rollback of code/resources while protecting compatible state and schema. This design addresses deployers have no record of the previous working configuration. Versioned bundle releases enable controlled rollback to a known commit. It establishes the right contract or architecture before execution changes.
Incorrect Answers
A:Tune executor-side partition sizing or skew rather than only driver memory. This design action addresses a different case (spark ui failure stage), where operators increase driver memory but failures occur on executors. Spark UI task failures and shuffle/spill metrics distinguish worker pressure from driver issues. In the stated problem, deployers have no record of the previous working configuration; this choice would not establish the required rollback deployment decision.
B:Use branch-based review and merge before deployment. This design action addresses a different case (git folder collaboration), where there is no controlled code review or rollback history. Databricks Git folders connect workspace development to version control. In the stated problem, deployers have no record of the previous working configuration; this choice would not establish the required rollback deployment decision.
D:Define a controlled change-management path for resource configuration. This design action addresses a different case (unmanaged resource drift), where subsequent CI redeployment unexpectedly overwrites it. Declarative source of truth should include intentional job-resource changes. In the stated problem, deployers have no record of the previous working configuration; this choice would not establish the required rollback deployment decision.
Question 504
At Redwood Civic Services, a declarative pipeline needs near-real-time freshness. Architecture constraint: Scheduled updates are spaced several hours apart. Which design best addresses this requirement?
- Design a governed cost dashboard grouped by job/workload labels
- Select right-sized job compute or supported serverless execution for intermittent workloads
- Choose a data-layout or predicate rewrite tied to scan metrics
- Choose a supported continuous or adequately frequent update mode for the workload
Explanation
Correct Answer
D:Choose a supported continuous or adequately frequent update mode for the workload. This design addresses scheduled updates are spaced several hours apart. Pipeline update frequency determines available end-to-end freshness. It establishes the right contract or architecture before execution changes.
Incorrect Answers
A: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, scheduled updates are spaced several hours apart; this choice would not establish the required pipeline update cadence decision.
B:Select right-sized job compute or supported serverless execution for intermittent workloads. This design action addresses a different case (compute utilization), where most provisioned resources sit idle between job runs. Compute metrics and usage history distinguish idle capacity from active work. In the stated problem, scheduled updates are spaced several hours apart; this choice would not establish the required pipeline update cadence decision.
C:Choose a data-layout or predicate rewrite tied to scan metrics. This design action addresses a different case (query profile scans), where operators assume the query is always CPU-bound. Query Profile identifies scan, pruning and shuffle behavior for SQL workloads. In the stated problem, scheduled updates are spaced several hours apart; this choice would not establish the required pipeline update cadence decision.
Question 505
At Horizon Travel, a dashboard repeatedly groups detailed events by day and product. Observed issue: Interactive queries scan billions of detail rows for identical totals. Before applying a fix, which investigation is most directly relevant?
- Inspect dashboard queries and the required day-product aggregation grain
- Inspect source-to-dashboard lineage for missing quality layers
- Inspect membership cardinalities and duplicated fact amounts
- Inspect table grains and dimension join paths used by reports
Explanation
Correct Answer
A:Inspect dashboard queries and the required day-product aggregation grain. This checks the specific evidence behind interactive queries scan billions of detail rows for identical totals. A summarized gold table can serve a stable reporting grain efficiently. The investigation distinguishes the mechanism from an unrelated operational symptom.
Incorrect Answers
B:Inspect source-to-dashboard lineage for missing quality layers. This diagnose action addresses a different case (medallion bronze silver gold), where malformed source events contaminate metrics without an intermediate quality boundary. Bronze, silver and gold layers separate raw capture, validated refinement and business presentation. In the stated problem, interactive queries scan billions of detail rows for identical totals; this choice would not establish the required aggregate gold model decision.
C:Inspect membership cardinalities and duplicated fact amounts. This diagnose action addresses a different case (many-to-many bridge), where joining facts directly to the membership table multiplies totals. A bridge table models many-to-many relationships at an explicit membership grain. In the stated problem, interactive queries scan billions of detail rows for identical totals; this choice would not establish the required aggregate gold model decision.
D:Inspect table grains and dimension join paths used by reports. This diagnose action addresses a different case (star schema analytics), where a denormalized mixed-grain table produces redundant attributes and expensive corrections. A star schema links a clear-grain fact to reusable dimensions for consistent analytics. In the stated problem, interactive queries scan billions of detail rows for identical totals; this choice would not establish the required aggregate gold model decision.
Question 506
Quality assurance at Pinecrest Holdings checks a corrected workload where a reporting workload joins orders, products, stores and dates. The original fault was: A denormalized mixed-grain table produces redundant attributes and expensive corrections. Which verification is most decisive?
- Query facts as of past dates and verify the appropriate historical tier
- Reconcile sample reports and verify dimensions join without duplication
- Reconcile total revenue against the approved source aggregates
- Join reports across marts and verify consistent country totals
Explanation
Correct Answer
B:Reconcile sample reports and verify dimensions join without duplication. This tests the expected result against a denormalized mixed-grain table produces redundant attributes and expensive corrections, not simply whether a job or object exists. A star schema links a clear-grain fact to reusable dimensions for consistent analytics.
Incorrect Answers
A:Query facts as of past dates and verify the appropriate historical tier. This validate 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:Reconcile total revenue against the approved source aggregates. This validate action addresses a different case (fact table grain), where summing revenue double-counts orders with multiple items. A dimensional fact must have one clearly documented row grain. 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.
D:Join reports across marts and verify consistent country totals. This validate 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 507
A data engineer at Oak Valley Retail must troubleshoot this case: an internal metadata crawler must list table columns across catalogs. Evidence: It uses notebook-specific private metadata APIs that break after upgrades. What should be inspected first to confirm the failure mechanism?
- Inspect current owner and authorized ownership transfer process
- Inspect notebook defaults and catalog settings for both environments
- Inspect the available information_schema tables and caller grants
- Inspect effective parent usage and table SELECT grants
Explanation
Correct Answer
C:Inspect the available information_schema tables and caller grants. This checks the specific evidence behind it uses notebook-specific private metadata APIs that break after upgrades. INFORMATION_SCHEMA provides SQL metadata views subject to visibility permissions. The investigation distinguishes the mechanism from an unrelated operational symptom.
Incorrect Answers
A:Inspect current owner and authorized ownership transfer process. This diagnose action addresses a different case (ownership reassignment), where new data stewards cannot maintain its grants. Unity Catalog ownership should be assigned to a maintained principal. In the stated problem, it uses notebook-specific private metadata APIs that break after upgrades; this choice would not establish the required information schema discovery decision.
B:Inspect notebook defaults and catalog settings for both environments. This diagnose action addresses a different case (environment catalog isolation), where both environments use the same default catalog name in notebooks. Environment-specific catalogs and explicit target names reduce cross-environment writes. In the stated problem, it uses notebook-specific private metadata APIs that break after upgrades; this choice would not establish the required information schema discovery decision.
D:Inspect effective parent usage and table SELECT grants. This diagnose action addresses a different case (catalog privilege inheritance), where the team lacks USE CATALOG and USE SCHEMA on the parent containers. Unity Catalog object access generally requires relevant parent usage privileges. In the stated problem, it uses notebook-specific private metadata APIs that break after upgrades; this choice would not establish the required information schema discovery decision.
Question 508
A deployment owner at Eastern Star Foods needs to implement a remedy: a customer requests removal of personal data across bronze, silver and gold. The present failure is: Deleting a row from only the gold table leaves copies elsewhere. Which change should be applied?
- Attach the supported row filter to the eligible table
- Create the aggregation view and grant SELECT only on the view
- Grant only required read privileges on the external location
- Apply deletes to eligible tables and update derived datasets as required
Explanation
Correct Answer
D:Apply deletes to eligible tables and update derived datasets as required. This directly changes the feature or logic behind deleting a row from only the gold table leaves copies elsewhere. A complete delete workflow tracks identifiers and propagation across all governed copies. It is the concrete configuration for the stated incident.
Incorrect Answers
A:Attach the supported row filter to the eligible table. This implement 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, deleting a row from only the gold table leaves copies elsewhere; this choice would not establish the required data subject request decision.
B:Create the aggregation view and grant SELECT only on the view. This implement action addresses a different case (secure view sharing), where granting SELECT on the raw fact table violates minimization. A governed aggregation view can expose only approved derived information. In the stated problem, deleting a row from only the gold table leaves copies elsewhere; this choice would not establish the required data subject request decision.
C:Grant only required read privileges on the external location. This implement action addresses a different case (storage credential scope), where engineers propose a credential allowing access to all company buckets. Unity Catalog storage credentials and external locations can constrain storage access. In the stated problem, deleting a row from only the gold table leaves copies elsewhere; this choice would not establish the required data subject request decision.
Question 509
At Cobalt Biotech, incoming transaction files continuously arrive and must feed downstream tables. A change is required because: Periodic full-refresh queries miss required incremental freshness. Which implementation action most directly corrects the configuration?
- Define a streaming table reading the source through a supported streaming connector
- Replace a scalar Python UDF with supported column expressions or a Pandas UDF
- Include the unique tie-breaker in the supported sequence expression
- Create the materialized view and configure its supported refresh schedule
Explanation
Correct Answer
A:Define a streaming table reading the source through a supported streaming connector. This directly changes the feature or logic behind periodic full-refresh queries miss required incremental freshness. A streaming table tracks continuously arriving source data incrementally. It is the concrete configuration for the stated incident.
Incorrect Answers
B: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, periodic full-refresh queries miss required incremental freshness; this choice would not establish the required streaming table choice decision.
C: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, periodic full-refresh queries miss required incremental freshness; this choice would not establish the required streaming table choice decision.
D:Create the materialized view and configure its supported refresh schedule. This implement action addresses a different case (materialized view choice), where each dashboard query recomputes the same expensive aggregation. A materialized view maintains a precomputed query result through refresh. In the stated problem, periodic full-refresh queries miss required incremental freshness; this choice would not establish the required streaming table choice decision.
Question 510
At Westridge Research, a gold revenue table shows a monthly discrepancy. Observed issue: Investigators cannot tell which upstream transformation produced it. Before applying a fix, which investigation is most directly relevant?
- Inspect current owner and authorized ownership transfer process
- Inspect lineage graph from the gold table to upstream datasets
- Inspect asset comments and ownership for critical reporting tables
- Inspect catalog and schema managed-location settings
Explanation
Correct Answer
B:Inspect lineage graph from the gold table to upstream datasets. This checks the specific evidence behind investigators cannot tell which upstream transformation produced it. Unity Catalog lineage records relationships between governed data assets. The investigation distinguishes the mechanism from an unrelated operational symptom.
Incorrect Answers
A:Inspect current owner and authorized ownership transfer process. This diagnose action addresses a different case (ownership reassignment), where new data stewards cannot maintain its grants. Unity Catalog ownership should be assigned to a maintained principal. In the stated problem, investigators cannot tell which upstream transformation produced it; this choice would not establish the required lineage tracking decision.
C:Inspect asset comments and ownership for critical reporting tables. This diagnose action addresses a different case (catalog descriptions), where table and column metadata lack meaningful descriptions. Unity Catalog comments improve discoverability of governed data assets. In the stated problem, investigators cannot tell which upstream transformation produced it; this choice would not establish the required lineage tracking decision.
D:Inspect catalog and schema managed-location settings. This diagnose action addresses a different case (managed storage ownership), where the data platform cannot apply consistent lifecycle governance. Managed locations centralize storage ownership for Unity Catalog managed assets. In the stated problem, investigators cannot tell which upstream transformation produced it; this choice would not establish the required lineage tracking decision.