Databricks Certified Data Engineer Associate Practice Test 25
Question 240
A data engineer at Wholesale produce exchange is responsible for trade settlement files. The drift versus bundle source issue is that trade_settlement_files_delta production job UI was manually edited after bundle deployment. The supporting evidence is that resolved job settings differ from the versioned bundle manifest. The engineer must ensure that releases must remain traceable to approved Git changes. The new approach is deployed. The current task is to prove correct output and authorized behavior, not just successful installation. What evidence establishes that correct output is maintained?
- Reapply the approved bundle after controlled review of production-only changes
- Compare actual resource definitions with deployed bundle target and source commit for trade_settlement_files_delta
- Update the source by copying random current production settings without review at Wholesale produce exchange
- Check resource properties and a smoke run against the approved manifest
Explanation
Correct Answer
D:Check resource properties and a smoke run against the approved manifest directly tests the behavior that should change after the correction. With the observed evidence (resolved job settings differ from the versioned bundle manifest), the acceptance result must demonstrate actual data or permission correctness, while retaining the requirement that releases must remain traceable to approved Git changes.
Incorrect Answers
A:Reapply the approved bundle after controlled review of production-only changes may introduce a correction, but the question does not ask for installation or migration. A rollout alone cannot replace the post-change acceptance test, especially given the evidence that resolved job settings differ from the versioned bundle manifest.
B:Compare actual resource definitions with deployed bundle target and source commit for trade_settlement_files_delta could clarify the original fault, but the available evidence already establishes its scope; it is not the post-change acceptance test now requested. The trade_settlement_files_delta workflow still requires that releases must remain traceable to approved Git changes.
C:Unreviewed drift can be promoted into every environment. The proposed action (Update the source by copying random current production settings without review at Wholesale produce exchange) does not meet the requirement that releases must remain traceable to approved Git changes, nor does it constitute the post-change acceptance test.
Question 241
Consider the customer_order_changes_delta workload at Online apparel cooperative: a raw Parquet copy of customer_order_changes_delta is mistaken for a complete Delta table. Inspection found that the copied directory lacks _delta_log while Delta history queries fail. The governed outcome must ensure that restoration needs the committed schema and transaction history. The first acceptance run passed. The current task is to detect future regressions and changes over time. Which continuing signal best reveals recurrence or drift?
- Check backup completeness, retention and restoration failures
- Query historical versions and a current snapshot after restoring customer_order_changes_delta
- Copy only a selection of Parquet part files and declare the transaction log unnecessary at Online apparel cooperative
- Preserve the Delta table log together with supported table data and metadata
Explanation
Correct Answer
A:Check backup completeness, retention and restoration failures creates recurring visibility into the failure mode (a raw Parquet copy of customer_order_changes_delta is mistaken for a complete Delta table). Unlike a single successful test, the measure can reveal drift, lag, or new failures after later source and deployment changes while restoration needs the committed schema and transaction history.
Incorrect Answers
B:Query historical versions and a current snapshot after restoring customer_order_changes_delta is a one-time acceptance check. It does not supply continuing operational detection for customer_order_changes_delta; a passing test cannot substitute for the specific task now required.
C:Data files alone do not preserve delta transactional history. The proposed action (Copy only a selection of Parquet part files and declare the transaction log unnecessary at Online apparel cooperative) does not meet the requirement that restoration needs the committed schema and transaction history, nor does it constitute continuing operational detection.
D:Preserve the Delta table log together with supported table data and metadata is a plausible lasting design once chosen, but it does not perform continuing operational detection at this stage. In the customer_order_changes_delta scenario, the observed evidence is that the copied directory lacks _delta_log while Delta history queries fail; the requirement remains: restoration needs the committed schema and transaction history.
Question 242
Consider the farm_loan_transaction_history_south workload at Agricultural credit union: farm_loan_transaction_history_south notebook hardcodes a development catalog and writes there during production runs. Inspection found that job run settings differ from values embedded in the notebook code. The governed outcome must ensure that the same notebook must respect runtime environment configuration. The target approach is approved. The current task is to introduce it safely with bounded scope and rollback. Which staged rollout best preserves the existing workload?
- Pass task parameters through supported notebook widgets or job parameters
- Remove hardcoded target paths and test parameterized notebook invocation
- Run dev and prod parameters and confirm each writes only to its own catalog
- Edit the source notebook by hand every time the job changes environment at Agricultural credit union
Explanation
Correct Answer
B:Remove hardcoded target paths and test parameterized notebook invocation provides a bounded way to introduce the approved solution into farm_loan_transaction_history_south and detect an early mismatch. The existing signal is job run settings differ from values embedded in the notebook code; a staged change protects the service requirement (the same notebook must respect runtime environment configuration) and makes rollback practical.
Incorrect Answers
A:Pass task parameters through supported notebook widgets or job parameters is a plausible lasting design once chosen, but it does not perform the controlled implementation step at this stage. In the farm_loan_transaction_history_south scenario, the observed evidence is that job run settings differ from values embedded in the notebook code; the requirement remains: the same notebook must respect runtime environment configuration.
C:Run dev and prod parameters and confirm each writes only to its own catalog is a one-time acceptance check. It does not supply the controlled implementation step for farm_loan_transaction_history_south; a passing test cannot substitute for the specific task now required.
D:Manual code edits are not reproducible parameterization. The proposed action (Edit the source notebook by hand every time the job changes environment at Agricultural credit union) does not meet the requirement that the same notebook must respect runtime environment configuration, nor does it constitute the controlled implementation step.
Question 243
A data engineer at Air quality nonprofit is responsible for pollution measurements. The privilege revocation issue is that pollution_measurements_urban former intern still reads a sensitive table after leaving the team. The supporting evidence is that UC audit shows the intern belongs to a group with lingering SELECT privilege. The engineer must ensure that departed identities must lose data access promptly. The failure and requirements have been diagnosed; the team must select the lasting pipeline or governance approach. Which durable Databricks control best addresses the requirement?
- Monitor stale memberships and unauthorized access attempts to pollution_measurements_urban
- Rename the sensitive table instead of revoking access at Air quality nonprofit
- Remove inappropriate group privileges or membership while keeping service access
- Trace effective access through group memberships and inherited grants for pollution_measurements_urban
Explanation
Correct Answer
C:Remove inappropriate group privileges or membership while keeping service access is the intended durable approach for pollution_measurements_urban: it addresses the verified problem (pollution_measurements_urban former intern still reads a sensitive table after leaving the team) while preserving the required behavior (departed identities must lose data access promptly). A diagnostic or monitoring step alone would not create this target-state behavior.
Incorrect Answers
A:Monitor stale memberships and unauthorized access attempts to pollution_measurements_urban would help detect future recurrence, but metrics alone do not deliver the target approach. The pollution_measurements_urban requirement is that departed identities must lose data access promptly.
B:Renaming an object is not an access-control boundary. The proposed action (Rename the sensitive table instead of revoking access at Air quality nonprofit) does not meet the requirement that departed identities must lose data access promptly, nor does it constitute the target approach.
D:Trace effective access through group memberships and inherited grants for pollution_measurements_urban could clarify the original fault, but the available evidence already establishes its scope; it is not the target approach now requested. The pollution_measurements_urban workflow still requires that departed identities must lose data access promptly.
Question 244
The product_sales_transactions_rural pipeline at Online bicycle retailer has this failure: product_sales_transactions_rural team schedules a SQL aggregation by opening a dashboard manually. The team observed that history shows a query can run on SQL warehouse but has no job task. Business requirement: the query must run automatically before downstream export. The first acceptance run passed. The current task is to detect future regressions and changes over time. What should be tracked as an operational early warning?
- Trigger the job and verify SQL query result is available before export
- Monitor SQL task errors and warehouse availability for product_sales_transactions_rural
- Use a Lakeflow SQL query task configured with suitable warehouse and dependencies
- Ask analysts to click Run on the query each morning at Online bicycle retailer
Explanation
Correct Answer
B:Monitor SQL task errors and warehouse availability for product_sales_transactions_rural creates recurring visibility into the failure mode (product_sales_transactions_rural team schedules a SQL aggregation by opening a dashboard manually). Unlike a single successful test, the measure can reveal drift, lag, or new failures after later source and deployment changes while the query must run automatically before downstream export.
Incorrect Answers
A:Trigger the job and verify SQL query result is available before export is a one-time acceptance check. It does not supply continuing operational detection for product_sales_transactions_rural; a passing test cannot substitute for the specific task now required.
C:Use a Lakeflow SQL query task configured with suitable warehouse and dependencies is a plausible lasting design once chosen, but it does not perform continuing operational detection at this stage. In the product_sales_transactions_rural scenario, the observed evidence is that history shows a query can run on SQL warehouse but has no job task; the requirement remains: the query must run automatically before downstream export.
D:Manual invocation does not provide reliable orchestration. The proposed action (Ask analysts to click Run on the query each morning at Online bicycle retailer) does not meet the requirement that the query must run automatically before downstream export, nor does it constitute continuing operational detection.
Question 245
At National heritage library, the job retry transient failure workflow handles digitization inventories. The problem is that digitization_inventories_highland notebook occasionally fails on transient service throttling. Evidence: task failure records show HTTP 429 followed by a successful manual retry. Constraint: safe retries must not create duplicate output or run indefinitely. The team has not selected a remedy. It first needs evidence that distinguishes the actual dependency or data fault. Which investigation is the strongest first step?
- Inspect transient error types, output idempotency and historical retry behavior for digitization_inventories_highland
- Configure bounded Lakeflow task retries with backoff where appropriate
- Set infinite immediate retries for every failure including invalid SQL at National heritage library
- Enable retries on a noncritical task and use replay-safe output writes
Explanation
Correct Answer
A:Inspect transient error types, output idempotency and historical retry behavior for digitization_inventories_highland directly investigates the evidence (task failure records show HTTP 429 followed by a successful manual retry) and distinguishes possible causes of digitization_inventories_highland notebook occasionally fails on transient service throttling. It establishes what must be corrected without assuming a fix before verifying the stated business requirement: safe retries must not create duplicate output or run indefinitely.
Incorrect Answers
B:Configure bounded Lakeflow task retries with backoff where appropriate is a plausible lasting design once chosen, but it does not perform the required pre-change investigation at this stage. In the digitization_inventories_highland scenario, the observed evidence is that task failure records show HTTP 429 followed by a successful manual retry; the requirement remains: safe retries must not create duplicate output or run indefinitely.
C:Unbounded retries can overload services and conceal deterministic defects. The proposed action (Set infinite immediate retries for every failure including invalid SQL at National heritage library) does not meet the requirement that safe retries must not create duplicate output or run indefinitely, nor does it constitute the required pre-change investigation.
D:Enable retries on a noncritical task and use replay-safe output writes may introduce a correction, but the question does not ask for installation or migration. A rollout alone cannot replace the required pre-change investigation, especially given the evidence that task failure records show HTTP 429 followed by a successful manual retry.
Question 246
A data engineer at Public water district is responsible for pipeline flow metrics. The service principal data grants issue is that pipeline_flow_metrics_metro scheduled ingestion succeeds under one employee but fails under automation identity. The supporting evidence is that UC audit shows only the employee has the required table rights. The engineer must ensure that the job must operate under a managed nonhuman least-privilege principal. The team has not selected a remedy. It first needs evidence that distinguishes the actual dependency or data fault. What analysis is necessary before deciding on remediation?
- Share a workspace administrator's personal access token with all job owners at Public water district
- Switch the job identity and verify its input and output access
- Grant the required scoped privileges to an approved service principal
- Compare job run-as identity and catalog, schema and table grants for pipeline_flow_metrics_metro
Explanation
Correct Answer
D:Compare job run-as identity and catalog, schema and table grants for pipeline_flow_metrics_metro directly investigates the evidence (UC audit shows only the employee has the required table rights) and distinguishes possible causes of pipeline_flow_metrics_metro scheduled ingestion succeeds under one employee but fails under automation identity. It establishes what must be corrected without assuming a fix before verifying the stated business requirement: the job must operate under a managed nonhuman least-privilege principal.
Incorrect Answers
A:Shared personal tokens are fragile and overprivileged. The proposed action (Share a workspace administrator's personal access token with all job owners at Public water district) does not meet the requirement that the job must operate under a managed nonhuman least-privilege principal, nor does it constitute the required pre-change investigation.
B:Switch the job identity and verify its input and output access may introduce a correction, but the question does not ask for installation or migration. A rollout alone cannot replace the required pre-change investigation, especially given the evidence that UC audit shows only the employee has the required table rights.
C:Grant the required scoped privileges to an approved service principal is a plausible lasting design once chosen, but it does not perform the required pre-change investigation at this stage. In the pipeline_flow_metrics_metro scenario, the observed evidence is that UC audit shows only the employee has the required table rights; the requirement remains: the job must operate under a managed nonhuman least-privilege principal.
Question 247
At Subscription video network, the viewer activity data workflow depends on viewer_activity_data_coastal. Engineers report that a viewer_activity_data_coastal source has a compatible connector but existing custom scripts have divergent retries; the evidence is that logs show different authentication and pagination paths across team-owned scripts. They require that ingestion must be standardized under governed destinations. The new approach is deployed. The current task is to prove correct output and authorized behavior, not just successful installation. Which post-change acceptance check is strongest?
- Let every notebook invent a new unscheduled direct source sync at Subscription video network
- Identify connector coverage, source permissions and supported incremental behavior for viewer_activity_data_coastal
- Configure the connector and validate target schema and schedule in staging
- Compare loaded rows and source bookmarks before switching production
Explanation
Correct Answer
D:Compare loaded rows and source bookmarks before switching production directly tests the behavior that should change after the correction. With the observed evidence (logs show different authentication and pagination paths across team-owned scripts), the acceptance result must demonstrate actual data or permission correctness, while retaining the requirement that ingestion must be standardized under governed destinations.
Incorrect Answers
A:Uncoordinated custom pulls are less governed and harder to recover. The proposed action (Let every notebook invent a new unscheduled direct source sync at Subscription video network) does not meet the requirement that ingestion must be standardized under governed destinations, nor does it constitute the post-change acceptance test.
B:Identify connector coverage, source permissions and supported incremental behavior for viewer_activity_data_coastal could clarify the original fault, but the available evidence already establishes its scope; it is not the post-change acceptance test now requested. The viewer_activity_data_coastal workflow still requires that ingestion must be standardized under governed destinations.
C:Configure the connector and validate target schema and schedule in staging may introduce a correction, but the question does not ask for installation or migration. A rollout alone cannot replace the post-change acceptance test, especially given the evidence that logs show different authentication and pagination paths across team-owned scripts.
Question 248
At Wholesale produce exchange, the COPY INTO file format workflow handles trade settlement files. The problem is that the trade_settlement_files_delta import creates a single malformed column because input format settings are wrong. Evidence: source inspection shows UTF-8 CSV with an explicit header and quoted delimiters. Constraint: all source columns must map to the intended typed Delta fields. The first acceptance run passed. The current task is to detect future regressions and changes over time. Which monitoring approach will detect newly emerging defects?
- Load comma-separated records with JSON parsing and suppress all errors at Wholesale produce exchange
- Monitor malformed-file quarantine and schema errors in trade_settlement_files_delta
- Compare parsed field count, null patterns and source record counts
- Choose COPY INTO with the correct CSV fileformat and source column mapping
Explanation
Correct Answer
B:Monitor malformed-file quarantine and schema errors in trade_settlement_files_delta creates recurring visibility into the failure mode (the trade_settlement_files_delta import creates a single malformed column because input format settings are wrong). Unlike a single successful test, the measure can reveal drift, lag, or new failures after later source and deployment changes while all source columns must map to the intended typed Delta fields.
Incorrect Answers
A:The parser would misread the source schema rather than fix its mapping. The proposed action (Load comma-separated records with JSON parsing and suppress all errors at Wholesale produce exchange) does not meet the requirement that all source columns must map to the intended typed Delta fields, nor does it constitute continuing operational detection.
C:Compare parsed field count, null patterns and source record counts is a one-time acceptance check. It does not supply continuing operational detection for trade_settlement_files_delta; a passing test cannot substitute for the specific task now required.
D:Choose COPY INTO with the correct CSV fileformat and source column mapping is a plausible lasting design once chosen, but it does not perform continuing operational detection at this stage. In the trade_settlement_files_delta scenario, the observed evidence is that source inspection shows UTF-8 CSV with an explicit header and quoted delimiters; the requirement remains: all source columns must map to the intended typed Delta fields.
Question 249
At Airport facilities operator, the maintenance work orders workflow depends on maintenance_work_orders_central. Engineers report that the maintenance_work_orders_central relational source emits inserts and updates but the lakehouse target retains multiple current versions; the evidence is that change records carry primary keys and update sequence numbers. They require that the destination must represent the latest source state without losing required history. The target approach is approved. The current task is to introduce it safely with bounded scope and rollback. Which controlled implementation step is appropriate now?
- Introduce change capture on a small table and reconcile the initial snapshot
- Append every change as a new current row without keys at Airport facilities operator
- Use supported CDC apply logic with keys, ordering and defined delete handling
- Apply multiple out-of-order changes and verify deterministic final state
Explanation
Correct Answer
A:Introduce change capture on a small table and reconcile the initial snapshot provides a bounded way to introduce the approved solution into maintenance_work_orders_central and detect an early mismatch. The existing signal is change records carry primary keys and update sequence numbers; a staged change protects the service requirement (the destination must represent the latest source state without losing required history) and makes rollback practical.
Incorrect Answers
B:An append-only current-state table does not resolve updates or deletes. The proposed action (Append every change as a new current row without keys at Airport facilities operator) does not meet the requirement that the destination must represent the latest source state without losing required history, nor does it constitute the controlled implementation step.
C:Use supported CDC apply logic with keys, ordering and defined delete handling is a plausible lasting design once chosen, but it does not perform the controlled implementation step at this stage. In the maintenance_work_orders_central scenario, the observed evidence is that change records carry primary keys and update sequence numbers; the requirement remains: the destination must represent the latest source state without losing required history.
D:Apply multiple out-of-order changes and verify deterministic final state is a one-time acceptance check. It does not supply the controlled implementation step for maintenance_work_orders_central; a passing test cannot substitute for the specific task now required.
Question 250
A data engineer at Manufacturing quality network is responsible for factory defect records. The liquid clustering for dynamic filters issue is that factory_defect_records_central Delta table suffers frequent filter-pattern changes and costly partition rewrites. The supporting evidence is that workload history alternates date and customer search predicates across teams. The engineer must ensure that layout optimization must adapt without a rigid proliferating partition tree. The team has not selected a remedy. It first needs evidence that distinguishes the actual dependency or data fault. What analysis is necessary before deciding on remediation?
- Create thousands of tiny static partitions for every possible predicate at Manufacturing quality network
- Consider Liquid Clustering on appropriate columns with supported table features
- Profile common filters, table size and clustering support for factory_defect_records_central
- Enable clustering on a pilot target and run supported maintenance operations
Explanation
Correct Answer
C:Profile common filters, table size and clustering support for factory_defect_records_central directly investigates the evidence (workload history alternates date and customer search predicates across teams) and distinguishes possible causes of factory_defect_records_central Delta table suffers frequent filter-pattern changes and costly partition rewrites. It establishes what must be corrected without assuming a fix before verifying the stated business requirement: layout optimization must adapt without a rigid proliferating partition tree.
Incorrect Answers
A:Overpartitioning drives metadata overhead and inflexible layout. The proposed action (Create thousands of tiny static partitions for every possible predicate at Manufacturing quality network) does not meet the requirement that layout optimization must adapt without a rigid proliferating partition tree, nor does it constitute the required pre-change investigation.
B:Consider Liquid Clustering on appropriate columns with supported table features is a plausible lasting design once chosen, but it does not perform the required pre-change investigation at this stage. In the factory_defect_records_central scenario, the observed evidence is that workload history alternates date and customer search predicates across teams; the requirement remains: layout optimization must adapt without a rigid proliferating partition tree.
D:Enable clustering on a pilot target and run supported maintenance operations may introduce a correction, but the question does not ask for installation or migration. A rollout alone cannot replace the required pre-change investigation, especially given the evidence that workload history alternates date and customer search predicates across teams.