Question 310
A curated table is marked certified in an internal wiki but its catalog record does not identify the accountable product team. What is the most effective next step?
- Document data classifications and usage descriptions with the appropriate governed catalog assets.
- Add accurate column comments and ownership metadata explaining the metric and its grain.
- 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
C:Governance metadata should be attached to the asset consumers actually discover.
Incorrect Answers
A:Document data classifications and usage descriptions with the appropriate governed catalog assets: document data classifications and usage descriptions with the appropriate governed catalog assets: searchable data without handling guidance can lead to unsafe downstream assumptions.
B:Add accurate column comments and ownership metadata explaining the metric and its grain: add accurate column comments and ownership metadata explaining the metric and its grain: discoverability requires semantic definitions, not merely a searchable technical name; Publish consistent catalog metadata and reviewable data-owner attributes for the table.
D:Mark deprecated assets clearly and describe their supported replacement in catalog metadata: mark deprecated assets clearly and describe their supported replacement in catalog metadata. This does not replace publish consistent catalog metadata and reviewable data-owner attributes for the table.
Question 311
A pipeline chooses a source table based on an environment setting, but a hardcoded production path overrides the testing selection. A conditional transformation silently skips a source table when a configuration key is missing, but the pipeline still reports a partial success. Which course of action addresses the stated issues?
- Generate deterministic distinct dataset names and validate the loop's declarations before pipeline evaluation; 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.
- 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.
- Validate required branch configuration and fail clearly when no supported source selection exists; do not Resolve the supported environment condition before declaring the relevant pipeline input and validate each deployment target.
Explanation
Correct Answer
C:Environment control flow must determine actual input selection rather than cosmetic variable names. Missing conditions should surface as configuration errors rather than incomplete successful data.
Incorrect Answers
A:Programmatic declarations must produce a valid and nonconflicting dependency graph; Requirement 1 requires: resolve the supported environment condition before declaring the relevant pipeline input and validate each deployment target.
B:Reuse of code should not imply reuse of stateful output locations; requirement 2 requires: validating required branch configuration and fail clearly when no supported source selection exists.
D: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 312
A batch replay loads yesterday's file twice after a retry and a supposedly append-only Delta target grows by duplicate records. Which change should the data engineer make?
- Record processed input identity and make append operations idempotent across retry boundaries.
- 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.
Explanation
Correct Answer
A:Delta atomic commits do not by themselves identify semantic duplicates from replayed inputs.
Incorrect Answers
B:Use appropriate ingest batching and Delta file maintenance without discarding the append-only event contract: use appropriate ingest batching and Delta file maintenance without discarding the append-only event contract: append-only semantics do not remove the need to manage physical file layout.
C:Append immutable event records using a stable event identity and a duplicate-handling policy: an append-only audit record must preserve previous events instead of treating each key as current state.
D: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. This does not replace record processed input identity and make append operations idempotent across retry boundaries.
Question 313
An external consumer expects a Delta Share to let it modify the provider's table rows directly. A share recipient wants only aggregate revenue by region, but the provider exposes the raw customer table containing PII. What is the most appropriate plan for this situation?
- Clarify read-sharing semantics and use an authorized separate ingestion workflow for proposed writes; publish an approved restricted share asset or view that omits sensitive columns and check the recipient's effective access.
- Evaluate open Delta Sharing and issue narrowly scoped recipient credentials compatible with the partner's client; publish an approved restricted share asset or view that omits sensitive columns and check the recipient's effective access.
- Publish an approved restricted share asset or view that omits sensitive columns and check the recipient's effective access; do not Clarify read-sharing semantics and use an authorized separate ingestion workflow for proposed writes.
- Clarify read-sharing semantics and use an authorized separate ingestion workflow for proposed writes; Revoke or rotate the compromised recipient credential and review share access logs.
Explanation
Correct Answer
A:Delta Sharing is not an arbitrary bidirectional transaction channel. Provider-side data minimization is preferable to relying on every recipient to mask raw fields.
Incorrect Answers
B:Evaluate open Delta Sharing and issue narrowly scoped recipient credentials compatible with the partner's client; publish an approved restricted share asset or view that omits sensitive columns and check the recipient's effective access. This does not replace clarify read-sharing semantics and use an authorized separate ingestion workflow for proposed writes.
C:Clarify read-sharing semantics and use an authorized separate ingestion workflow for proposed writes.
D:A leaked access token can expose permitted data until its trust is withdrawn; requirement 2 requires: publishing an approved restricted share asset or view that omits sensitive columns and check the recipient's effective access.
Question 314
A Spark stage is slow because one task processes ten times more input than all others, but a team assumes executors are evenly loaded. An executor repeatedly runs out of memory during a join and the only collected metric is overall cluster CPU utilization. A streaming job falls behind and operators only look at the notebook's total run duration, not each microbatch. Which course of action addresses the stated issues?
- Inspect Spark UI task and shuffle distributions for skew before applying an appropriate targeted optimization; evaluate task-count and scheduling overhead and choose a sensible partitioning strategy; and inspect streaming progress and Spark UI stages by batch to identify processing rate, backlogs and bottlenecks.
- Inspect Spark UI task and shuffle distributions for skew before applying an appropriate targeted optimization; review executor memory, spill and task failure evidence in the Spark UI; and evaluate task-count and scheduling overhead and choose a sensible partitioning strategy.
- Evaluate task-count and scheduling overhead and choose a sensible partitioning strategy; review executor memory, spill and task failure evidence in the Spark UI; and inspect streaming progress and Spark UI stages by batch to identify processing rate, backlogs and bottlenecks.
- Inspect Spark UI task and shuffle distributions for skew before applying an appropriate targeted optimization; review executor memory, spill and task failure evidence in the Spark UI; and inspect streaming progress and Spark UI stages by batch to identify processing rate, backlogs and bottlenecks.
Explanation
Correct Answer
D:Stage-level averages can conceal a single straggling partition. Healthy average CPU does not eliminate memory pressure on individual tasks. Per-batch telemetry distinguishes slow compute from growing source input.
Incorrect Answers
A:Inspect Spark UI task and shuffle distributions for skew before applying an appropriate targeted optimization; evaluate task-count and scheduling overhead and choose a sensible partitioning strategy; and inspect streaming progress and Spark UI stages by batch to identify processing rate, backlogs and bottlenecks: healthy average CPU does not eliminate memory pressure on individual tasks.
B:Per-batch telemetry distinguishes slow compute from growing source input.
C:Evaluate task-count and scheduling overhead and choose a sensible partitioning strategy; review executor memory, spill and task failure evidence in the Spark UI; and inspect streaming progress and Spark UI stages by batch to identify processing rate, backlogs and bottlenecks; excessive small tasks waste scheduler resources even without heavy computation; requirement 1 requires: inspecting Spark UI task and shuffle distributions for skew before applying an appropriate targeted optimization.
Question 315
A customer activity model is filtered alternately by tenant, activity date and product, but fixed date partitioning requires too many tiny directories. A modeler expects liquid clustering to preserve guaranteed output row order for downstream CSV exports. Which response best addresses these needs?
- Evaluate liquid clustering aligned to representative multi-column predicate patterns; perform supported maintenance and validate updated file pruning with query profiles.
- Select clustering keys based on observed query filters and data-skipping benefits; Specify the required ORDER BY on export rather than relying on table physical layout.
- Specify the required ORDER BY on export rather than relying on table physical layout; do not evaluate liquid clustering aligned to representative multi-column predicate patterns.
- Evaluate liquid clustering aligned to representative multi-column predicate patterns; Specify the required ORDER BY on export rather than relying on table physical layout.
Explanation
Correct Answer
D:Adaptive data locality may support diverse filters better than excessive rigid partitions. Clustering supports data locality; it does not contractually order SQL result rows.
Incorrect Answers
A:Clustering decisions require physical organization and measured follow-through; Requirement 2 requires: specify the required ORDER BY on export rather than relying on table physical layout.
B:Select clustering keys based on observed query filters and data-skipping benefits; Specify the required ORDER BY on export rather than relying on table physical layout; a unique identifier that is rarely filtered does not improve most workload scans; requirement 1 requires: evaluating liquid clustering aligned to representative multi-column predicate patterns.
C:Clustering supports data locality; it does not contractually order SQL result rows; requirement 1 requires: evaluating liquid clustering aligned to representative multi-column predicate patterns.
Question 316
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. A recurring permission error cites an external volume path, but the team only checks permissions on the target Delta table. What is the most appropriate plan for this situation?
- 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; and inspect the failing path access, run identity and relevant storage or Unity Catalog permissions.
- 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; and Set approved diagnostic retention and access controls so failure evidence survives incident response.
- 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; and inspect the failing path access, run identity and relevant storage or Unity Catalog permissions.
- 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; and inspect the failing path access, run identity and relevant storage or Unity Catalog permissions.
Explanation
Correct Answer
A: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. Table SELECT alone does not grant every file or volume access needed by a task.
Incorrect Answers
B:Table SELECT alone does not grant every file or volume access needed by a task.
C:Unavailable logs turn repeatable failures into untraceable incidents; Requirement 1 requires: retrieve the scheduled run's driver and executor logs with its runtime and library context.
D:Unavailable logs turn repeatable failures into untraceable incidents; Requirement 2 requires: correlate cluster events, executor termination logs and job errors before editing the SQL.
Question 317
A sales Delta table is queried by several changing combinations of region, customer and date; fixed partitioning produces many tiny folders. A team chooses a monotonically increasing unique event ID as its only clustering key despite most queries filtering by tenant and date. Which course of action addresses the stated issues?
- Evaluate liquid clustering on selective evolving query columns and test pruning improvements; select clustering columns using actual filter patterns and cardinality evidence from query workloads.
- Evaluate liquid clustering on selective evolving query columns and test pruning improvements; run supported layout maintenance and compare pruning metrics for representative recent data.
- Select clustering columns using actual filter patterns and cardinality evidence from query workloads; do not evaluate liquid clustering on selective evolving query columns and test pruning improvements.
- Validate the supported migration and table-feature requirements before changing the clustering layout; select clustering columns using actual filter patterns and cardinality evidence from query workloads.
Explanation
Correct Answer
A:Liquid clustering can adapt physical locality without proliferating high-cardinality partition directories. Effective clustering depends on predicates that meaningfully reduce scans.
Incorrect Answers
B:Declaring cluster keys does not necessarily reorganize all future or existing data immediately; requirement 2 requires selecting clustering columns using actual filter patterns and cardinality evidence from query workloads.
C:Effective clustering depends on predicates that meaningfully reduce scans; requirement 1 requires: evaluating liquid clustering on selective evolving query columns and test pruning improvements.
D:Physical layout strategies have compatibility and maintenance constraints that cannot be ignored; requirement 1 requires: evaluating liquid clustering on selective evolving query columns and test pruning improvements.
Question 318
A release validation identifies three different failures. A customer lifetime value calculation uses ROW_NUMBER without deterministic tie breakers, so equal-timestamp purchases receive inconsistent ranks. A team uses a global ORDER BY with LIMIT to find the latest event for every customer and returns only one event overall. A rolling seven-day metric incorrectly uses seven rows despite missing dates, producing variable-duration windows. Which response best addresses these needs?
- Add a stable secondary sort key to the window ordering and test tied inputs; use a partitioned row-number window and select the latest row within each customer partition; and 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; Partition the window by account before applying the ordered cumulative sum; and 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; and use an event-time range or complete calendar design suited to seven actual days rather than seven arbitrary records.
- Add a stable secondary sort key to the window ordering and test tied inputs; use a partitioned row-number window and select the latest row within each customer partition; and use an event-time range or complete calendar design suited to seven actual days rather than seven arbitrary records.
Explanation
Correct Answer
D:Window ordering must be deterministic when multiple rows share the primary sort value. A global top row cannot represent the most recent row per key. Row counts and elapsed-day intervals are not interchangeable.
Incorrect Answers
A:Row counts and elapsed-day intervals are not interchangeable.
B:Window partitions define which rows contribute to each account's running calculation; requirement 2 requires: using a partitioned row-number window and select the latest row within each customer partition.
C: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; and use an event-time range or complete calendar design suited to seven actual days rather than seven arbitrary records; window partitions define which rows contribute to each account's running calculation; Requirement 1 requires: add a stable secondary sort key to the window ordering and test tied inputs.
Question 319
A scheduled workflow fails under its production identity although the interactive creator can read every workspace folder. What is the most effective next step?
- Verify permissions for the actual job run identity on each workspace object and dependency.
- Correct the notebook and task execution privileges without granting blanket workspace administration.
- Restrict job permissions to the approved operations group and grant the contractor only the needed run or view role.
- Remove embedded secrets and use approved credential storage with restrictive object access.
Explanation
Correct Answer
A:Development-user access does not establish what a separate production principal can read.
Incorrect Answers
B:Correct the notebook and task execution privileges without granting blanket workspace administration: correct the notebook and task execution privileges without granting blanket workspace administration: administrative privileges are not the right substitute for a narrowly scoped execution entitlement; Verify permissions for the actual job run identity on each workspace object and dependency.
C:Restrict job permissions to the approved operations group and grant the contractor only the needed run or view role: restrict job permissions to the approved operations group and grant the contractor only the needed run or view role: workspace object privileges should follow job responsibilities rather than organization-wide defaults.
D:Remove embedded secrets and use approved credential storage with restrictive object access: remove embedded secrets and use approved credential storage with restrictive object access. This does not replace verify permissions for the actual job run identity on each workspace object and dependency.
Question 320
A SQL warehouse query consumes most of its time shuffling data after a join but the developer only increases the warehouse size. A scan reads nearly every file in a huge Delta table despite a selective date predicate. Which course of action addresses the stated issues?
- Investigate warehouse concurrency, queuing and startup rather than rewriting a fast SQL plan; use Query Profile scan and pruning details to assess layout, statistics and predicate pushdown.
- Use Query Profile scan and pruning details to assess layout, statistics and predicate pushdown; do not inspect Query Profile operators and shuffle metrics before changing join distribution or compute sizing.
- Inspect Query Profile operators and shuffle metrics before changing join distribution or compute sizing; use Query Profile scan and pruning details to assess layout, statistics and predicate pushdown.
- Inspect Query Profile operators and shuffle metrics before changing join distribution or compute sizing; compare representative query profiles and repeated runs with documented cache conditions.
Explanation
Correct Answer
C:Operator evidence reveals whether added compute addresses the actual expensive operation. Poor file skipping can dominate runtime even when the SQL filter appears selective.
Incorrect Answers
A:Queue delay is a scheduling capacity issue distinct from slow query operators; requirement 1 requires: inspecting Query Profile operators and shuffle metrics before changing join distribution or compute sizing.
B:Use Query Profile scan and pruning details to assess layout, statistics and predicate pushdown; do not inspect Query Profile operators and shuffle metrics before changing join distribution or compute sizing: poor file skipping can dominate runtime even when the SQL filter appears selective; requirement 1 requires: inspecting Query Profile operators and shuffle metrics before changing join distribution or compute sizing.
D:Inspect Query Profile operators and shuffle metrics before changing join distribution or compute sizing; compare representative query profiles and repeated runs with documented cache conditions: poor file skipping can dominate runtime even when the SQL filter appears selective.
Certified Data Engineer Professional Practice Tests