Question 160
A dashboard requires updates every hour, but a team pays for continuous streaming processing while inputs arrive only once per day. Which response best addresses the failure?
- Use a supported incremental streaming-table ingestion design with stable file discovery and checkpoint semantics.
- Evaluate a materialized view for the maintained aggregate and choose a refresh schedule matching the freshness target.
- Compare supported incremental and refresh semantics against actual source mutations before choosing the target object.
- Match refresh or trigger cadence to actual arrival and freshness requirements rather than leaving compute running needlessly.
Explanation
Correct Answer
D:Additional refresh frequency creates cost without improving data availability when the source does not change.
Incorrect Answers
A:Use a supported incremental streaming-table ingestion design with stable file discovery and checkpoint semantics: use a supported incremental streaming-table ingestion design with stable file discovery and checkpoint semantics: incremental ingestion should avoid rereading the complete growing landing zone each time.
B:Evaluate a materialized view for the maintained aggregate and choose a refresh schedule matching the freshness target: recomputable aggregations and append-only ingestion have different lifecycle semantics.
C:Compare supported incremental and refresh semantics against actual source mutations before choosing the target object: nonappend changes can require different processing semantics from monotonically growing events.
Question 161
A bronze audit table must retain every source event, but an engineer executes MERGE that overwrites prior event rows on matching IDs. A team mixes backfill data with new stream arrivals and writes to separate targets, creating inconsistent downstream history. Which course of action addresses the stated issues?
- Record processed input identity and make append operations idempotent across retry boundaries; Coordinate backfill and streaming ingestion through a documented append-and-deduplicate strategy with clear checkpoints.
- Append immutable event records using a stable event identity and a duplicate-handling policy; use appropriate ingest batching and Delta file maintenance without discarding the append-only event contract.
- Append immutable event records using a stable event identity and a duplicate-handling policy; Coordinate backfill and streaming ingestion through a documented append-and-deduplicate strategy with clear checkpoints.
- Coordinate backfill and streaming ingestion through a documented append-and-deduplicate strategy with clear checkpoints; do not Append immutable event records using a stable event identity and a duplicate-handling policy.
Explanation
Correct Answer
C:An append-only audit record must preserve previous events instead of treating each key as current state. Concurrent sources require a consistent record identity and cutover boundary.
Incorrect Answers
A:Delta atomic commits do not by themselves identify semantic duplicates from replayed inputs; Requirement 1 requires: append immutable event records using a stable event identity and a duplicate-handling policy.
B:Append-only semantics do not remove the need to manage physical file layout; Requirement 2 requires: coordinate backfill and streaming ingestion through a documented append-and-deduplicate strategy with clear checkpoints.
D:Concurrent sources require a consistent record identity and cutover boundary; Requirement 1 requires: append immutable event records using a stable event identity and a duplicate-handling policy.
Question 162
A global sales table contains multiple regions, but an analyst should see only their approved territory without copying the table per team. Which change should the data engineer make?
- Apply a supported Unity Catalog column mask appropriate to role and sensitivity requirements.
- Enforce the intended table-level row or column policy and verify base-table grants and effective results.
- Make unmapped identities fail closed and test both authorized and unknown-user cases.
- Configure supported Unity Catalog row-filter policy tied to the authorized user's context.
Explanation
Correct Answer
D:Row-level governance can restrict visibility while retaining a single shared table.
Incorrect Answers
A:Apply a supported Unity Catalog column mask appropriate to role and sensitivity requirements. This does not replace configure supported Unity Catalog row-filter policy tied to the authorized user's context.
B:Enforce the intended table-level row or column policy and verify base-table grants and effective results: a view-specific restriction does not automatically constrain independently authorized base-table access.
C:Make unmapped identities fail closed and test both authorized and unknown-user cases: missing entitlement data should not silently become unrestricted access.
Question 163
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. A table with extensive deletion metadata slows down reads and operators never perform scheduled maintenance. What is the most appropriate plan for this situation?
- Check client protocol compatibility before enabling the feature or provide a compatible read path; evaluate supported deletion vectors and maintenance behavior for the table's runtime and reader compatibility; and Monitor table health and use supported compaction or rewrite operations where justified.
- 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; and 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; and Monitor table health and use supported compaction or rewrite operations where justified.
- 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; and evaluate supported deletion vectors and maintenance behavior for the table's runtime and reader compatibility.
Explanation
Correct Answer
B:Delta table features can raise minimum reader requirements. Logical visibility and physical removal are separate stages of data lifecycle management. Deletion metadata and file layout still require lifecycle planning to sustain read performance.
Incorrect Answers
A:Row-level deletion metadata can avoid immediate rewriting of all affected data files; requirement 2 requires: applying the supported physical data purge and retention workflow separately from logical deletion.
C:Row-level deletion metadata can avoid immediate rewriting of all affected data files; requirement 1 requires: checking client protocol compatibility before enabling the feature or provide a compatible read path.
D:Deletion metadata and file layout still require lifecycle planning to sustain read performance.
Question 164
Two Databricks organizations need to share governed tables without copying data nightly into the recipient's cloud bucket. A provider creates a share but the recipient cannot see a new schema because no table was added to that share. Which course of action addresses the stated issues?
- Explicitly add the intended tables or views to the share and verify recipient-side visibility; do not configure supported Databricks-to-Databricks Delta Sharing with provider and recipient identities and authorized shared assets.
- Configure supported Databricks-to-Databricks Delta Sharing with provider and recipient identities and authorized shared assets; Explicitly add the intended tables or views to the share and verify recipient-side visibility.
- Configure supported Databricks-to-Databricks Delta Sharing with provider and recipient identities and authorized shared assets; Revoke future share access and separately apply documented downstream data-retention and recipient governance controls.
- Restrict the provider's share membership and recipient grants to the approved data products; Explicitly add the intended tables or views to the share and verify recipient-side visibility.
Explanation
Correct Answer
B:D2D sharing offers governed access without requiring a separate hand-maintained export pipeline. Creating a share container does not automatically expose every catalog asset.
Incorrect Answers
A:Creating a share container does not automatically expose every catalog asset; requirement 1 requires: configuring supported Databricks-to-Databricks Delta Sharing with provider and recipient identities and authorized shared assets.
C:Revoking live access cannot retroactively delete copies already materialized outside the provider; Requirement 2 requires: explicitly add the intended tables or views to the share and verify recipient-side visibility.
D:Cross-organization collaboration should not imply administrative control over source governance; requirement 1 requires: configuring supported Databricks-to-Databricks Delta Sharing with provider and recipient identities and authorized shared assets.
Question 165
A release validation identifies three different failures. An engineer edits a notebook directly in production while the repository's tested version remains unchanged, causing future deploys to revert the hotfix. A release pipeline deploys from every developer branch without pull-request validation, allowing unreviewed SQL changes into production. A workspace Git folder is linked to an obsolete branch and scheduled jobs read code that differs from the current repository mainline. Which response best addresses these needs?
- 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; and check the folder's remote, branch and revision and align deployment to the approved commit.
- Make the correction in version control and deliver it through the approved tested deployment path; require branch review and automated tests before the protected branch triggers production deployment; and 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; require branch review and automated tests before the protected branch triggers production deployment; and check the folder's remote, branch and revision and align deployment to the approved commit.
- 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; and check the folder's remote, branch and revision and align deployment to the approved commit.
Explanation
Correct Answer
C:Untracked workspace edits create drift from the authoritative source. CI/CD controls should separate development commits from authorized releases. Git-backed workspace content depends on its checked-out revision, not repository existence alone.
Incorrect Answers
A:A code-only release can leave production resources configured for an older execution contract; Requirement 1 requires: make the correction in version control and deliver it through the approved tested deployment path.
B:Git-backed workspace content depends on its checked-out revision, not repository existence alone.
D:A code-only release can leave production resources configured for an older execution contract; Requirement 2 requires: require branch review and automated tests before the protected branch triggers production deployment.
Question 166
A customer table mixes country codes such as US, USA and United States, fragmenting geography-level aggregations. Which response best addresses the failure?
- Parse according to the source contract with explicit formats and quarantine ambiguous values.
- 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.
Explanation
Correct Answer
C:Standard categories prevent equivalent business entities from appearing as separate groups.
Incorrect Answers
A:Parse according to the source contract with explicit formats and quarantine ambiguous values: parse according to the source contract with explicit formats and quarantine ambiguous values. This does not replace normalize accepted country values through a governed reference mapping before grouping.
B:Preserve or explicitly flag unknown addresses and apply imputation only when approved and traceable: invented replacements misrepresent the source data and hide missingness.
D:Distinguish legitimate return transactions from invalid quantities using documented business rules: distinguish legitimate return transactions from invalid quantities using documented business rules: quality checks must preserve meaningful negative events rather than blanket-correcting them.
Question 167
A curated table is marked certified in an internal wiki but its catalog record does not identify the accountable product team. Two datasets have nearly identical names and users select an obsolete one because no deprecation note appears in search. Which course of action addresses the stated issues?
- Add accurate column comments and ownership metadata explaining the metric and its grain; mark deprecated assets clearly and describe their supported replacement in catalog metadata.
- Publish consistent catalog metadata and reviewable data-owner attributes for the table; document data classifications and usage descriptions with the appropriate governed catalog assets.
- Mark deprecated assets clearly and describe their supported replacement in catalog metadata; do not publish consistent catalog metadata and reviewable data-owner attributes for the table.
- Publish consistent catalog metadata and reviewable data-owner attributes for the table; mark deprecated assets clearly and describe their supported replacement in catalog metadata.
Explanation
Correct Answer
D:Governance metadata should be attached to the asset consumers actually discover. Explicit lifecycle context reduces accidental use of retired datasets.
Incorrect Answers
A:Add accurate column comments and ownership metadata explaining the metric and its grain; mark deprecated assets clearly and describe their supported replacement in catalog metadata; discoverability requires semantic definitions, not merely a searchable technical name; requirement 1 requires: publishing consistent catalog metadata and reviewable data-owner attributes for the table.
B:Publish consistent catalog metadata and reviewable data-owner attributes for the table; document data classifications and usage descriptions with the appropriate governed catalog assets; searchable data without handling guidance can lead to unsafe downstream assumptions; Requirement 2 requires: mark deprecated assets clearly and describe their supported replacement in catalog metadata.
C:Publish consistent catalog metadata and reviewable data-owner attributes for the table.
Question 168
A team stores raw append-only events and curated revenue facts in one mutable Delta table, obscuring lineage and reprocessing boundaries. A high-volume fact table updates individual records by rewriting entire historical monthly exports. A curated customer dimension is rebuilt without preserving keys, breaking downstream historical fact references. Which response best addresses these needs?
- Declare a consistent fact grain and model header and line facts or dimensions explicitly; Model the data as a Delta table with supported incremental writes and stable business keys; and keep durable surrogate keys and design appropriate SCD change handling for dimension history.
- Separate bronze ingestion, validated silver entities, and consumer-ready gold outputs with explicit data contracts; Declare a consistent fact grain and model header and line facts or dimensions explicitly; and keep durable surrogate keys and design appropriate SCD change handling for dimension history.
- Separate bronze ingestion, validated silver entities, and consumer-ready gold outputs with explicit data contracts; Model the data as a Delta table with supported incremental writes and stable business keys; and keep durable surrogate keys and design appropriate SCD change handling for dimension history.
- Separate bronze ingestion, validated silver entities, and consumer-ready gold outputs with explicit data contracts; Model the data as a Delta table with supported incremental writes and stable business keys; and Declare a consistent fact grain and model header and line facts or dimensions explicitly.
Explanation
Correct Answer
C:Medallion layers provide distinct reliability and consumption responsibilities. Transactional Delta updates avoid repeatedly replacing complete unstructured exports. Stable dimension identity is essential for consistent joins across reporting periods.
Incorrect Answers
A:Grain ambiguity causes aggregates to double count business events; Requirement 1 requires: separate bronze ingestion, validated silver entities, and consumer-ready gold outputs with explicit data contracts.
B:Grain ambiguity causes aggregates to double count business events; Requirement 2 requires: model the data as a Delta table with supported incremental writes and stable business keys.
D:Stable dimension identity is essential for consistent joins across reporting periods.
Question 169
A customer-history table needs to retain prior address versions, but an engineer chooses an update-in-place target for all CDC events. What is the most effective next step?
- Configure AUTO CDC with the stable business keys and reliable sequence column to order source changes.
- Use supported deduplication and sequence-aware CDC processing with stable checkpoints and key selection.
- Map supported delete semantics in AUTO CDC and validate tombstone behavior against representative events.
- Implement the appropriate SCD Type 2 history behavior with key and sequence handling.
Explanation
Correct Answer
D:Historical versions cannot be reconstructed if every change overwrites the preceding state.
Incorrect Answers
A: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.
B: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.
C:Map supported delete semantics in AUTO CDC and validate tombstone behavior against representative events. This does not replace implement the appropriate SCD Type 2 history behavior with key and sequence handling.
Question 170
A query requests one month from a multi-year Delta history yet reads most files because records are randomly distributed across dates. A team partitions by a nearly unique transaction ID and creates millions of directories of tiny files. Which course of action addresses the stated issues?
- Express eligible filters with native Spark SQL or column operations so predicate optimization can apply; Redesign layout around lower-cardinality filters or supported clustering rather than transaction-ID partitioning.
- Redesign layout around lower-cardinality filters or supported clustering rather than transaction-ID partitioning; do not Improve physical locality or clustering for the date predicate and verify file-pruning metrics.
- Improve physical locality or clustering for the date predicate and verify file-pruning metrics; Redesign layout around lower-cardinality filters or supported clustering rather than transaction-ID partitioning.
- Improve physical locality or clustering for the date predicate and verify file-pruning metrics; Project only required columns and confirm column pruning in the query profile.
Explanation
Correct Answer
C:Data skipping is more effective when file statistics separate relevant and irrelevant ranges. Extremely high-cardinality partitions increase metadata and file-management overhead.
Incorrect Answers
A:Opaque UDF predicates can prevent the optimizer from pushing down selective conditions; Requirement 1 requires: improve physical locality or clustering for the date predicate and verify file-pruning metrics.
B:Extremely high-cardinality partitions increase metadata and file-management overhead; Requirement 1 requires: improve physical locality or clustering for the date predicate and verify file-pruning metrics.
D:Columnar storage can avoid unnecessary reads only when the plan does not request those columns; Requirement 2 requires: redesign layout around lower-cardinality filters or supported clustering rather than transaction-ID partitioning.
Certified Data Engineer Professional Practice Tests