Question 630
A streaming pipeline publishes unredacted raw chat metadata to a broadly accessible silver table before asynchronous masking runs. A stream replays a checkpoint interval and republishes some records without masking because the fallback branch skips its transformation. Which response best addresses these needs?
- Apply consistent privacy logic on all replay and recovery paths and test idempotent publication; do not Mask sensitive fields within the streaming ingestion path before publishing to the shared table.
- Mask sensitive fields within the streaming ingestion path before publishing to the shared table; Minimize and protect streaming diagnostic events while preserving non-sensitive failure context.
- 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.
- 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.
Explanation
Correct Answer
D:Privacy protection must apply before exposure, not only in a later cleanup job. Recovery semantics must not bypass the same controls used for normal processing.
Incorrect Answers
A:Mask sensitive fields within the streaming ingestion path before publishing to the shared table.
B:Mask sensitive fields within the streaming ingestion path before publishing to the shared table; Minimize and protect streaming diagnostic events while preserving non-sensitive failure context: recovery semantics must not bypass the same controls used for normal processing.
C: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. This does not replace mask sensitive fields within the streaming ingestion path before publishing to the shared table.
Question 631
A grouped Pandas UDF receives unexpectedly large groups and one executor runs out of memory while others remain idle. Which change should the data engineer make?
- Examine group cardinalities and use a supported partitioned transformation or skew-aware strategy before scaling blindly.
- Align the declared UDF return type and actual output schema, then test representative null and malformed values.
- Move external side effects out of retryable row UDF execution and design an idempotent controlled enrichment step.
- Evaluate a vectorized Pandas UDF with compatible Arrow-backed batches and measure the revised execution cost.
Explanation
Correct Answer
A:Grouped operations may materialize the full group in Python memory rather than uniform small batches.
Incorrect Answers
B:Align the declared UDF return type and actual output schema, then test representative null and malformed values: align the declared UDF return type and actual output schema, then test representative null and malformed values. This does not replace examine group cardinalities and use a supported partitioned transformation or skew-aware strategy before scaling blindly.
C:Move external side effects out of retryable row UDF execution and design an idempotent controlled enrichment step: move external side effects out of retryable row UDF execution and design an idempotent controlled enrichment step: spark can recompute tasks, so per-row side effects are not guaranteed to run exactly once.
D:Evaluate a vectorized Pandas UDF with compatible Arrow-backed batches and measure the revised execution cost: evaluate a vectorized Pandas UDF with compatible Arrow-backed batches and measure the revised execution cost: vectorized evaluation can reduce per-row Python crossing overhead when the function and types are supported.
Question 632
A downstream external reader cannot interpret a Delta table after a new protocol feature is enabled for deletion vectors. An engineer enables deletion vectors but assumes removed rows are immediately erased from the underlying Parquet objects for legal retention compliance. Which course of action addresses the stated issues?
- Apply the supported physical data purge and retention workflow separately from logical deletion; do not check client protocol compatibility before enabling the feature or provide a compatible read path.
- Check client protocol compatibility before enabling the feature or provide a compatible read path; apply the supported physical data purge and retention workflow separately from logical deletion.
- Check client protocol compatibility before enabling the feature or provide a compatible read path; Monitor table health and use supported compaction or rewrite operations where justified.
- Evaluate supported deletion vectors and maintenance behavior for the table's runtime and reader compatibility; apply the supported physical data purge and retention workflow separately from logical deletion.
Explanation
Correct Answer
B:Delta table features can raise minimum reader requirements. Logical visibility and physical removal are separate stages of data lifecycle management.
Incorrect Answers
A:Check client protocol compatibility before enabling the feature or provide a compatible read path.
C:Check client protocol compatibility before enabling the feature or provide a compatible read path; Monitor table health and use supported compaction or rewrite operations where justified: logical visibility and physical removal are separate stages of data lifecycle management.
D:Evaluate supported deletion vectors and maintenance behavior for the table's runtime and reader compatibility; apply the supported physical data purge and retention workflow separately from logical deletion. This does not replace check client protocol compatibility before enabling the feature or provide a compatible read path.
Question 633
An engineer edits a notebook directly in production while the repository's tested version remains unchanged, causing future deploys to revert the hotfix. A production deployment updates notebook code but forgets to migrate required job and pipeline resource definitions. Which response best addresses these needs?
- Make the correction in version control and deliver it through the approved tested deployment path; deploy both code and infrastructure definitions using the supported bundle or CI/CD workflow.
- Require branch review and automated tests before the protected branch triggers production deployment; deploy both code and infrastructure definitions using the supported bundle or CI/CD workflow.
- Make the correction in version control and deliver it through the approved tested deployment path; check the folder's remote, branch and revision and align deployment to the approved commit.
- Deploy both code and infrastructure definitions using the supported bundle or CI/CD workflow; do not Make the correction in version control and deliver it through the approved tested deployment path.
Explanation
Correct Answer
A:Untracked workspace edits create drift from the authoritative source. A code-only release can leave production resources configured for an older execution contract.
Incorrect Answers
B:Require branch review and automated tests before the protected branch triggers production deployment; deploy both code and infrastructure definitions using the supported bundle or CI/CD workflow. This does not replace make the correction in version control and deliver it through the approved tested deployment path.
C:Make the correction in version control and deliver it through the approved tested deployment path; check the folder's remote, branch and revision and align deployment to the approved commit: a code-only release can leave production resources configured for an older execution contract.
D:Make the correction in version control and deliver it through the approved tested deployment path.
Question 634
A release validation identifies three different failures. A pipeline chooses a source table based on an environment setting, but a hardcoded production path overrides the testing selection. 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. What is the most appropriate plan for this situation?
- 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; and Parameterize unique regional outputs and task identities while retaining shared transformation code.
- Resolve the supported environment condition before declaring the relevant pipeline input and validate each deployment target; validate required branch configuration and fail clearly when no supported source selection exists; and Parameterize unique regional outputs and task identities while retaining shared transformation code.
- 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; and validate required branch configuration and fail clearly when no supported source selection exists.
- 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; and Parameterize unique regional outputs and task identities while retaining shared transformation code.
Explanation
Correct Answer
A:Environment control flow must determine actual input selection rather than cosmetic variable names. Programmatic declarations must produce a valid and nonconflicting dependency graph. Reuse of code should not imply reuse of stateful output locations.
Incorrect Answers
B:Missing conditions should surface as configuration errors rather than incomplete successful data; Requirement 2 requires: generate deterministic distinct dataset names and validate the loop's declarations before pipeline evaluation.
C:Reuse of code should not imply reuse of stateful output locations.
D: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; and Parameterize unique regional outputs and task identities while retaining shared transformation code: missing conditions should surface as configuration errors rather than incomplete successful data; Requirement 1 requires: resolve the supported environment condition before declaring the relevant pipeline input and validate each deployment target.
Question 635
An analyst calculates a running balance but forgets to partition by account_id, merging unrelated customers' transactions. A rolling seven-day metric incorrectly uses seven rows despite missing dates, producing variable-duration windows. Which course of action addresses the stated issues?
- Use an event-time range or complete calendar design suited to seven actual days rather than seven arbitrary records; do not Partition the window by account before applying the ordered cumulative sum.
- Add a stable secondary sort key to the window ordering and test tied inputs; use an event-time range or complete calendar design suited to seven actual days rather than seven arbitrary records.
- Partition the window by account before applying the ordered cumulative sum; use an event-time range or complete calendar design suited to seven actual days rather than seven arbitrary records.
- Partition the window by account before applying the ordered cumulative sum; use a partitioned row-number window and select the latest row within each customer partition.
Explanation
Correct Answer
C:Window partitions define which rows contribute to each account's running calculation. Row counts and elapsed-day intervals are not interchangeable.
Incorrect Answers
A:Use an event-time range or complete calendar design suited to seven actual days rather than seven arbitrary records; do not Partition the window by account before applying the ordered cumulative sum: partition the window by account before applying the ordered cumulative sum.
B:Add a stable secondary sort key to the window ordering and test tied inputs. This does not replace partition the window by account before applying the ordered cumulative sum.
D:Partition the window by account before applying the ordered cumulative sum; use a partitioned row-number window and select the latest row within each customer partition: row counts and elapsed-day intervals are not interchangeable.
Question 636
A team queries system tables from an account where the relevant schema has not been enabled or access-granted, then concludes no activity occurred. A monitoring query joins billing and jobs on task name alone, blending equally named workflows across workspaces. Which response best addresses these needs?
- Verify system schema availability, regional coverage and reader grants before interpreting empty results; Join using stable identifiers and workspace context supplied by the system datasets.
- Join using stable identifiers and workspace context supplied by the system datasets; do not verify system schema availability, regional coverage and reader grants before interpreting empty results.
- Query the relevant accessible Databricks system billing records with documented attribution and currency assumptions; Join using stable identifiers and workspace context supplied by the system datasets.
- Verify system schema availability, regional coverage and reader grants before interpreting empty results; examine appropriate system audit events for the change window and correlate the actor and object.
Explanation
Correct Answer
A:A missing telemetry entitlement or feed must not be mistaken for absence of operations. Human-readable names are not reliable global keys for cross-workspace attribution.
Incorrect Answers
B:Verify system schema availability, regional coverage and reader grants before interpreting empty results.
C:Query the relevant accessible Databricks system billing records with documented attribution and currency assumptions; Join using stable identifiers and workspace context supplied by the system datasets. This does not replace verify system schema availability, regional coverage and reader grants before interpreting empty results.
D:Verify system schema availability, regional coverage and reader grants before interpreting empty results; examine appropriate system audit events for the change window and correlate the actor and object: human-readable names are not reliable global keys for cross-workspace attribution.
Question 637
A bronze ingestion definition truncates its target on every update although downstream silver expects an incremental history. Which change should the data engineer make?
- Split or redesign compute and refresh boundaries around latency and dependency requirements.
- Declare the source-to-target dependency in the pipeline graph and verify the refresh order through pipeline events.
- 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.
Explanation
Correct Answer
C:Repeated replacement of a bronze table loses records that downstream incremental processing relies on.
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:; Use the supported incremental streaming-table semantics and checkpointed input processing for append-oriented ingestion.
B: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; Use the supported incremental streaming-table semantics and checkpointed input processing for append-oriented ingestion.
D:Inspect update status, event records, quality outcomes, and target table counts before accepting the pipeline: inspect update status, event records, quality outcomes, and target table counts before accepting the pipeline: resource creation is distinct from successfully materializing validated data; Use the supported incremental streaming-table semantics and checkpointed input processing for append-oriented ingestion.
Question 638
A join performs massive data exchange because its high-cardinality keys are distributed unevenly. An analyst sees a broadcast hint on a 30-gigabyte dimension and concludes it guarantees faster joins on all clusters. Which course of action addresses the stated issues?
- Diagnose shuffle bytes and skew, then evaluate supported adaptive execution or repartitioning methods; check broadcast size and memory before choosing an adaptive or shuffle join strategy.
- Check broadcast size and memory before choosing an adaptive or shuffle join strategy; do not Diagnose shuffle bytes and skew, then evaluate supported adaptive execution or repartitioning methods.
- 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.
- 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.
Explanation
Correct Answer
A:Shuffle cost can dominate computation even when scan time is low. Forced broadcast can exhaust executors when the replicated side is not small.
Incorrect Answers
B:Forced broadcast can exhaust executors when the replicated side is not small; Requirement 1 requires: diagnose shuffle bytes and skew, then evaluate supported adaptive execution or repartitioning methods.
C: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; global ordering can force expensive redistribution without adding business value; Requirement 1 requires: diagnose shuffle bytes and skew, then evaluate supported adaptive execution or repartitioning methods.
D: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: forced broadcast can exhaust executors when the replicated side is not small.
Question 639
An hourly job fails because a required date parameter was omitted, and operations restarts it unchanged five times. A job succeeds on retry after a one-time source outage, but the alert dashboard continues to show failure because it tracks only the initial attempt. Which response best addresses these needs?
- Reconcile the run's final repair and task states in monitoring before closing the incident; do not Supply the validated missing parameter in a controlled repair or new run and verify the intended date partition.
- Supply the validated missing parameter in a controlled repair or new run and verify the intended date partition; check run-scoped inputs and dependencies before reusing prior task results during repair.
- Repair the failed portion of the job when supported and check upstream task artifacts and idempotency; Reconcile the run's final repair and task states in monitoring before closing the incident.
- Supply the validated missing parameter in a controlled repair or new run and verify the intended date partition; Reconcile the run's final repair and task states in monitoring before closing the incident.
Explanation
Correct Answer
D:Repeating the same invalid configuration does not cure a parameter-related failure. An incident status must reflect the completed recovery outcome, not solely the first error.
Incorrect Answers
A:Supply the validated missing parameter in a controlled repair or new run and verify the intended date partition.
B:Supply the validated missing parameter in a controlled repair or new run and verify the intended date partition; check run-scoped inputs and dependencies before reusing prior task results during repair: an incident status must reflect the completed recovery outcome, not solely the first error.
C:Repair the failed portion of the job when supported and check upstream task artifacts and idempotency. This does not replace supply the validated missing parameter in a controlled repair or new run and verify the intended date partition.
Question 640
A job must wait for two parallel branches, but the developer encodes a time delay instead of explicit task dependencies. Which response best addresses the failure?
- Use supported repair-run behavior and make externally visible tasks idempotent.
- Declare the validation task as an explicit prerequisite for publishing in the job graph.
- Model both predecessors as dependencies and execute the final task only after their required successful completion.
- Use suitable job compute and schedule the task hourly with measured startup and SLA headroom.
Explanation
Correct Answer
C:A fixed sleep period cannot guarantee parallel work has completed.
Incorrect Answers
A:Use supported repair-run behavior and make externally visible tasks idempotent: use supported repair-run behavior and make externally visible tasks idempotent: a failed downstream task does not automatically reverse successful earlier side effects; Model both predecessors as dependencies and execute the final task only after their required successful completion.
B:Declare the validation task as an explicit prerequisite for publishing in the job graph. This does not replace model both predecessors as dependencies and execute the final task only after their required successful completion.
D:Use suitable job compute and schedule the task hourly with measured startup and SLA headroom: use suitable job compute and schedule the task hourly with measured startup and SLA headroom: workload-specific job compute can avoid continuous idle capacity while meeting the refresh interval; Model both predecessors as dependencies and execute the final task only after their required successful completion.
Certified Data Engineer Professional Practice Tests