Question 590
A daily job fails overnight but its owner receives no warning because email notifications are configured only for successful runs. A metric fluctuates near its threshold and an alert pages the team every minute with no investigation window. Which course of action addresses the stated issues?
- Configure supported Lakeflow Jobs failure notifications and verify recipient routing in a test run; add sensible alert scheduling, severity and noise-control policy grounded in the business impact.
- Configure supported Lakeflow Jobs failure notifications and verify recipient routing in a test run; Include stable resource, workspace and run links in notifications so responders can identify the affected workload.
- Create a scheduled SQL query and alert with an appropriate threshold and notification destination; add sensible alert scheduling, severity and noise-control policy grounded in the business impact.
- Add sensible alert scheduling, severity and noise-control policy grounded in the business impact; do not configure supported Lakeflow Jobs failure notifications and verify recipient routing in a test run.
Explanation
Correct Answer
A:Notification rules must cover failure outcomes, not just completion. Useful alerting prioritizes persistent actionable conditions over threshold chatter.
Incorrect Answers
B:Configure supported Lakeflow Jobs failure notifications and verify recipient routing in a test run; Include stable resource, workspace and run links in notifications so responders can identify the affected workload: useful alerting prioritizes persistent actionable conditions over threshold chatter.
C:Create a scheduled SQL query and alert with an appropriate threshold and notification destination; add sensible alert scheduling, severity and noise-control policy grounded in the business impact. This does not replace configure supported Lakeflow Jobs failure notifications and verify recipient routing in a test run.
D:Configure supported Lakeflow Jobs failure notifications and verify recipient routing in a test run.
Question 591
An engineer treats a successful pipeline creation as proof of clean production data but never checks the initial update result. What is the most effective next step?
- Split or redesign compute and refresh boundaries around latency and dependency requirements.
- Use the supported incremental streaming-table semantics and checkpointed input processing for append-oriented ingestion.
- Inspect update status, event records, quality outcomes, and target table counts before accepting the pipeline.
- Declare the source-to-target dependency in the pipeline graph and verify the refresh order through pipeline events.
Explanation
Correct Answer
C:Resource creation is distinct from successfully materializing validated data.
Incorrect Answers
A:Split or redesign compute and refresh boundaries around latency and dependency requirements: split or redesign compute and refresh boundaries around latency and dependency requirements. This does not replace inspect update status, event records, quality outcomes, and target table counts before accepting the pipeline.
B:Use the supported incremental streaming-table semantics and checkpointed input processing for append-oriented ingestion: use the supported incremental streaming-table semantics and checkpointed input processing for append-oriented ingestion: repeated replacement of a bronze table loses records that downstream incremental processing relies on; Inspect update status, event records, quality outcomes, and target table counts before accepting the pipeline.
D:Declare the source-to-target dependency in the pipeline graph and verify the refresh order through pipeline events: declare the source-to-target dependency in the pipeline graph and verify the refresh order through pipeline events: declarative dependency tracking must reflect the actual data flow to keep refreshes consistent.
Question 592
A partner sends CSV with quoted commas and multiline descriptions; a default split-by-comma parser shifts columns silently. An ingestion job reads Avro records after a schema update but deserializes every field as an untyped string. What is the most appropriate plan for this situation?
- Separate file handling by detected or contracted format and use the supported binary reader for opaque payloads; use the correct Avro reader with the applicable schema and compatibility handling.
- Configure the supported CSV reader's quoting, multiline, header and schema behavior and validate malformed rows; use the correct Avro reader with the applicable schema and compatibility handling.
- Use the correct Avro reader with the applicable schema and compatibility handling; do not configure the supported CSV reader's quoting, multiline, header and schema behavior and validate malformed rows.
- Configure the supported CSV reader's quoting, multiline, header and schema behavior and validate malformed rows; use native columnar readers with appropriate schema and filtering support.
Explanation
Correct Answer
B:Delimited text requires format-aware parsing rather than manual string splitting. Typed serialized formats require schema-aware readers to preserve nested and numeric data.
Incorrect Answers
A:Separate file handling by detected or contracted format and use the supported binary reader for opaque payloads; use the correct Avro reader with the applicable schema and compatibility handling. This does not replace configure the supported CSV reader's quoting, multiline, header and schema behavior and validate malformed rows.
C:Configure the supported CSV reader's quoting, multiline, header and schema behavior and validate malformed rows.
D:Configure the supported CSV reader's quoting, multiline, header and schema behavior and validate malformed rows; use native columnar readers with appropriate schema and filtering support: typed serialized formats require schema-aware readers to preserve nested and numeric data.
Question 593
A repeated query spends most time on a sort required by an unnecessary global ORDER BY in an intermediate table. A Spark SQL stage has thousands of spilled partitions and a team only changes the table file count. Which course of action addresses the stated issues?
- Inspect shuffle spill, partition sizes and available memory before adjusting execution settings; do not remove or scope the sort where global ordering is not part of the required result contract.
- Remove or scope the sort where global ordering is not part of the required result contract; inspect shuffle spill, partition sizes and available memory before adjusting execution settings.
- Diagnose shuffle bytes and skew, then evaluate supported adaptive execution or repartitioning methods; inspect shuffle spill, partition sizes and available memory before adjusting execution settings.
- Remove or scope the sort where global ordering is not part of the required result contract; check broadcast size and memory before choosing an adaptive or shuffle join strategy.
Explanation
Correct Answer
B:Global ordering can force expensive redistribution without adding business value. Spill reflects execution-state pressure that may not be fixed by input file compaction alone.
Incorrect Answers
A:Remove or scope the sort where global ordering is not part of the required result contract.
C:Diagnose shuffle bytes and skew, then evaluate supported adaptive execution or repartitioning methods; inspect shuffle spill, partition sizes and available memory before adjusting execution settings. This does not replace remove or scope the sort where global ordering is not part of the required result contract.
D:Forced broadcast can exhaust executors when the replicated side is not small; requirement 2 requires: inspecting shuffle spill, partition sizes and available memory before adjusting execution settings.
Question 594
A production Python worker crashes only on scheduled compute, but developers inspect only notebook stdout from an interactive cluster. A cluster terminates during an expensive join and an operator assumes the SQL syntax is wrong without checking instance events. Which response best addresses these needs?
- Inspect the failing path access, run identity and relevant storage or Unity Catalog permissions; correlate cluster events, executor termination logs and job errors before editing the SQL.
- Retrieve the scheduled run's driver and executor logs with its runtime and library context; correlate cluster events, executor termination logs and job errors before editing the SQL.
- Retrieve the scheduled run's driver and executor logs with its runtime and library context; Set approved diagnostic retention and access controls so failure evidence survives incident response.
- Correlate cluster events, executor termination logs and job errors before editing the SQL; do not Retrieve the scheduled run's driver and executor logs with its runtime and library context.
Explanation
Correct Answer
B:Failures can depend on the compute environment used by the actual job. Infrastructure and memory faults can look like query failures at the workflow level.
Incorrect Answers
A:Inspect the failing path access, run identity and relevant storage or Unity Catalog permissions; correlate cluster events, executor termination logs and job errors before editing the SQL. This does not replace retrieve the scheduled run's driver and executor logs with its runtime and library context.
C:Retrieve the scheduled run's driver and executor logs with its runtime and library context; Set approved diagnostic retention and access controls so failure evidence survives incident response: infrastructure and memory faults can look like query failures at the workflow level.
D:Correlate cluster events, executor termination logs and job errors before editing the SQL; do not Retrieve the scheduled run's driver and executor logs with its runtime and library context: retrieve the scheduled run's driver and executor logs with its runtime and library context.
Question 595
A release validation identifies three different failures. A developer writes a Python loop that creates the same named pipeline table repeatedly, causing collisions during graph construction. A workflow needs one task for each regional feed, but all generated tasks share a single output path and overwrite each other. A conditional transformation silently skips a source table when a configuration key is missing, but the pipeline still reports a partial success. What is the most appropriate plan for this situation?
- Generate deterministic distinct dataset names and validate the loop's declarations before pipeline evaluation; Parameterize unique regional outputs and task identities while retaining shared transformation code; and validate required branch configuration and fail clearly when no supported source selection exists.
- Generate deterministic distinct dataset names and validate the loop's declarations before pipeline evaluation; Parameterize unique regional outputs and task identities while retaining shared transformation code; and Resolve the supported environment condition before declaring the relevant pipeline input and validate each deployment target.
- Generate deterministic distinct dataset names and validate the loop's declarations before pipeline evaluation; Resolve the supported environment condition before declaring the relevant pipeline input and validate each deployment target; and validate required branch configuration and fail clearly when no supported source selection exists.
- Resolve the supported environment condition before declaring the relevant pipeline input and validate each deployment target; Parameterize unique regional outputs and task identities while retaining shared transformation code; and validate required branch configuration and fail clearly when no supported source selection exists.
Explanation
Correct Answer
A:Programmatic declarations must produce a valid and nonconflicting dependency graph. Reuse of code should not imply reuse of stateful output locations. Missing conditions should surface as configuration errors rather than incomplete successful data.
Incorrect Answers
B:Missing conditions should surface as configuration errors rather than incomplete successful data.
C:Environment control flow must determine actual input selection rather than cosmetic variable names; Requirement 2 requires: parameterize unique regional outputs and task identities while retaining shared transformation code.
D:Resolve the supported environment condition before declaring the relevant pipeline input and validate each deployment target; Parameterize unique regional outputs and task identities while retaining shared transformation code; and validate required branch configuration and fail clearly when no supported source selection exists; environment control flow must determine actual input selection rather than cosmetic variable names; Requirement 1 requires: generate deterministic distinct dataset names and validate the loop's declarations before pipeline evaluation.
Question 596
A live payment feed changes a field type and the masker begins emitting null for some PII while silently dropping whole records. A stream replays a checkpoint interval and republishes some records without masking because the fallback branch skips its transformation. Which course of action addresses the stated issues?
- Validate schema evolution and masking outcomes with explicit error handling and monitored quarantine; apply consistent privacy logic on all replay and recovery paths and test idempotent publication.
- Validate schema evolution and masking outcomes with explicit error handling and monitored quarantine; Minimize and protect streaming diagnostic events while preserving non-sensitive failure context.
- Mask sensitive fields within the streaming ingestion path before publishing to the shared table; apply consistent privacy logic on all replay and recovery paths and test idempotent publication.
- Apply consistent privacy logic on all replay and recovery paths and test idempotent publication; do not validate schema evolution and masking outcomes with explicit error handling and monitored quarantine.
Explanation
Correct Answer
A:Malformed sensitive values should not cause silent transactional data loss. Recovery semantics must not bypass the same controls used for normal processing.
Incorrect Answers
B:Log streams are an additional data copy subject to access and retention controls; requirement 2 requires: applying consistent privacy logic on all replay and recovery paths and test idempotent publication.
C:Mask sensitive fields within the streaming ingestion path before publishing to the shared table. This does not replace validate schema evolution and masking outcomes with explicit error handling and monitored quarantine.
D:Apply consistent privacy logic on all replay and recovery paths and test idempotent publication; do not validate schema evolution and masking outcomes with explicit error handling and monitored quarantine: validate schema evolution and masking outcomes with explicit error handling and monitored quarantine.
Question 597
An external scheduler starts a job but treats the submission's HTTP success as proof the task completed. A retry script launches another job every minute because the API returns RUNNING, creating overlapping data refreshes. Which response best addresses these needs?
- Poll or subscribe to the run's terminal state and inspect task-level results before reporting success; Track the existing run ID and use supported concurrency or retry controls rather than resubmitting while active.
- Poll or subscribe to the run's terminal state and inspect task-level results before reporting success; Capture task-level run state and structured error context through the supported monitoring API.
- Use supported Jobs REST API or Databricks CLI status endpoints with stable run IDs; Track the existing run ID and use supported concurrency or retry controls rather than resubmitting while active.
- Track the existing run ID and use supported concurrency or retry controls rather than resubmitting while active; do not Poll or subscribe to the run's terminal state and inspect task-level results before reporting success.
Explanation
Correct Answer
A:Run creation and successful execution are different lifecycle milestones. Repeated submissions can duplicate work that is still progressing.
Incorrect Answers
B:Poll or subscribe to the run's terminal state and inspect task-level results before reporting success; Capture task-level run state and structured error context through the supported monitoring API: repeated submissions can duplicate work that is still progressing.
C:Use supported Jobs REST API or Databricks CLI status endpoints with stable run IDs; Track the existing run ID and use supported concurrency or retry controls rather than resubmitting while active. This does not replace poll or subscribe to the run's terminal state and inspect task-level results before reporting success.
D:Track the existing run ID and use supported concurrency or retry controls rather than resubmitting while active; do not Poll or subscribe to the run's terminal state and inspect task-level results before reporting success: poll or subscribe to the run's terminal state and inspect task-level results before reporting success.
Question 598
A customer table mixes country codes such as US, USA and United States, fragmenting geography-level aggregations. A supplier sends negative quantities for returns, but a cleansing rule converts every negative value to zero and erases valid reversals. What is the most appropriate plan for this situation?
- Distinguish legitimate return transactions from invalid quantities using documented business rules; do not Normalize accepted country values through a governed reference mapping before grouping.
- Normalize accepted country values through a governed reference mapping before grouping; preserve or explicitly flag unknown addresses and apply imputation only when approved and traceable.
- Normalize accepted country values through a governed reference mapping before grouping; distinguish legitimate return transactions from invalid quantities using documented business rules.
- Parse according to the source contract with explicit formats and quarantine ambiguous values; distinguish legitimate return transactions from invalid quantities using documented business rules.
Explanation
Correct Answer
C:Standard categories prevent equivalent business entities from appearing as separate groups. Quality checks must preserve meaningful negative events rather than blanket-correcting them.
Incorrect Answers
A:Normalize accepted country values through a governed reference mapping before grouping.
B:Invented replacements misrepresent the source data and hide missingness; Requirement 2 requires: distinguish legitimate return transactions from invalid quantities using documented business rules.
D:Parse according to the source contract with explicit formats and quarantine ambiguous values; distinguish legitimate return transactions from invalid quantities using documented business rules. This does not replace normalize accepted country values through a governed reference mapping before grouping.
Question 599
A source issues deletes, but the downstream silver table retains those customers because only insert and update events are applied. How should the team resolve this issue?
- Map supported delete semantics in AUTO CDC and validate tombstone behavior against representative events.
- Configure AUTO CDC with the stable business keys and reliable sequence column to order source changes.
- Implement the appropriate SCD Type 2 history behavior with key and sequence handling.
- Use supported deduplication and sequence-aware CDC processing with stable checkpoints and key selection.
Explanation
Correct Answer
A:Removing a source record must be explicitly represented in the CDC application logic.
Incorrect Answers
B:Configure AUTO CDC with the stable business keys and reliable sequence column to order source changes: configure AUTO CDC with the stable business keys and reliable sequence column to order source changes: cDC correctness requires source event ordering, not just the physical arrival time; Map supported delete semantics in AUTO CDC and validate tombstone behavior against representative events.
C:Implement the appropriate SCD Type 2 history behavior with key and sequence handling: implement the appropriate SCD Type 2 history behavior with key and sequence handling: historical versions cannot be reconstructed if every change overwrites the preceding state.
D:Use supported deduplication and sequence-aware CDC processing with stable checkpoints and key selection: use supported deduplication and sequence-aware CDC processing with stable checkpoints and key selection: replay tolerance depends on deterministic event identity and ordering in the target pipeline.
Question 600
A team stores managed Delta tables in a manually maintained external location and keeps writing custom scripts to track data-file lifecycles. An organization places sensitive managed data outside its approved storage root without reviewing the metastore or catalog locations. Which response best addresses these needs?
- Configure authorized managed storage locations and governance boundaries before creating the tables; do not Consider Unity Catalog managed tables for eligible datasets requiring centrally managed storage lifecycle.
- Review managed-versus-external lifecycle and retention semantics before destructive table operations; configure authorized managed storage locations and governance boundaries before creating the tables.
- Consider Unity Catalog managed tables for eligible datasets requiring centrally managed storage lifecycle; Route modifications through supported table operations rather than editing managed Delta files directly.
- Consider Unity Catalog managed tables for eligible datasets requiring centrally managed storage lifecycle; configure authorized managed storage locations and governance boundaries before creating the tables.
Explanation
Correct Answer
D:Managed tables reduce low-level file management and integrate governance with table ownership. Managed does not mean storage residency requirements can be ignored.
Incorrect Answers
A:Consider Unity Catalog managed tables for eligible datasets requiring centrally managed storage lifecycle.
B:Review managed-versus-external lifecycle and retention semantics before destructive table operations; configure authorized managed storage locations and governance boundaries before creating the tables. This does not replace consider Unity Catalog managed tables for eligible datasets requiring centrally managed storage lifecycle.
C:Consider Unity Catalog managed tables for eligible datasets requiring centrally managed storage lifecycle; Route modifications through supported table operations rather than editing managed Delta files directly: managed does not mean storage residency requirements can be ignored.
Certified Data Engineer Professional Practice Tests