Question 100
A Lakeflow pipeline shows an unsuccessful update, but the operations team only inspects the final target row count. A pipeline is marked running but no new records reach silver; the team cannot distinguish input delay from flow failure. What is the most appropriate plan for this situation?
- Query the pipeline event log for failed flow and update details, including relevant error context; preserve approved event-log history and scope retention to support troubleshooting and audit needs.
- Aggregate quality metrics from supported pipeline event records and alert on sustained violation rates; correlate update and flow events with source progress and available processing metrics.
- Correlate update and flow events with source progress and available processing metrics; do not Query the pipeline event log for failed flow and update details, including relevant error context.
- Query the pipeline event log for failed flow and update details, including relevant error context; correlate update and flow events with source progress and available processing metrics.
Explanation
Correct Answer
D:Event records reveal the stage and reason for failure more precisely than table size. A running control-plane state does not prove that data is progressing.
Incorrect Answers
A:Operational evidence can be lost even while the final tables remain present; Requirement 2 requires: correlate update and flow events with source progress and available processing metrics.
B:Quality event telemetry allows degradation to be detected before users complain; Requirement 1 requires: query the pipeline event log for failed flow and update details, including relevant error context.
C:A running control-plane state does not prove that data is progressing; Requirement 1 requires: query the pipeline event log for failed flow and update details, including relevant error context.
Question 101
A silver table drops malformed JSON rows to keep the job green, making analysts unable to explain missing purchases. A quarantine table contains unencrypted original payment-card numbers and is accessible to all notebook users. An error queue grows for weeks but nobody tracks the fraction of rejected files or triggers remediation. Which course of action addresses the stated issues?
- Route parse failures to a quarantined Delta dataset with source file and error context; restrict and mask quarantined sensitive values while preserving minimal diagnostic metadata; and Monitor quarantine counts and failure rates with accountable alerting and reprocessing ownership.
- Route parse failures to a quarantined Delta dataset with source file and error context; select an expectation disposition that rejects invalid output while retaining appropriate quality metrics or quarantine evidence; and Monitor quarantine counts and failure rates with accountable alerting and reprocessing ownership.
- Select an expectation disposition that rejects invalid output while retaining appropriate quality metrics or quarantine evidence; restrict and mask quarantined sensitive values while preserving minimal diagnostic metadata; and Monitor quarantine counts and failure rates with accountable alerting and reprocessing ownership.
- Route parse failures to a quarantined Delta dataset with source file and error context; restrict and mask quarantined sensitive values while preserving minimal diagnostic metadata; and select an expectation disposition that rejects invalid output while retaining appropriate quality metrics or quarantine evidence.
Explanation
Correct Answer
A:Invalid input should remain available for investigation without polluting valid output. Failed quality checks do not remove privacy obligations for rejected data. Quarantine is useful only when unresolved defects are surfaced and recoverable.
Incorrect Answers
B:Warning-only validation does not necessarily prevent noncompliant records from reaching consumers; Requirement 2 requires: restrict and mask quarantined sensitive values while preserving minimal diagnostic metadata.
C:Select an expectation disposition that rejects invalid output while retaining appropriate quality metrics or quarantine evidence; restrict and mask quarantined sensitive values while preserving minimal diagnostic metadata; and Monitor quarantine counts and failure rates with accountable alerting and reprocessing ownership: warning-only validation does not necessarily prevent noncompliant records from reaching consumers; Requirement 1 requires: route parse failures to a quarantined Delta dataset with source file and error context.
D:Quarantine is useful only when unresolved defects are surfaced and recoverable.
Question 102
An upstream event payload occasionally exceeds a fixed parser field size; the batch is dropped without preserving diagnostics. A streaming source includes late events from mobile devices; daily accounting uses ingestion time and assigns transactions to the wrong day. Which response best addresses these needs?
- Preserve event time and implement the required late-arrival policy for downstream aggregations; do not validate payload size and schema contracts, capturing oversized events in a recoverable error path.
- Restore stable checkpointed source offsets and design idempotent writes for recoverable streaming ingestion; preserve event time and implement the required late-arrival policy for downstream aggregations.
- Validate payload size and schema contracts, capturing oversized events in a recoverable error path; use a source-provided per-key sequence or deterministic ordering before applying stateful updates.
- Validate payload size and schema contracts, capturing oversized events in a recoverable error path; preserve event time and implement the required late-arrival policy for downstream aggregations.
Explanation
Correct Answer
D:Bad messages need targeted evidence and handling rather than silent loss of the microbatch. Ingestion timestamps describe arrival, not necessarily when a transaction happened.
Incorrect Answers
A:Ingestion timestamps describe arrival, not necessarily when a transaction happened; requirement 1 requires: validating payload size and schema contracts, capturing oversized events in a recoverable error path.
B:Offset state is needed to resume without restarting the entire event history; requirement 1 requires: validating payload size and schema contracts, capturing oversized events in a recoverable error path.
C:Validate payload size and schema contracts, capturing oversized events in a recoverable error path; use a source-provided per-key sequence or deterministic ordering before applying stateful updates: ingestion timestamps describe arrival, not necessarily when a transaction happened.
Question 103
A release validation identifies three different failures. A global sales table contains multiple regions, but an analyst should see only their approved territory without copying the table per team. A data owner creates a filtered view for one dashboard but then assumes it protects every direct query against the underlying table. A row-filter function accidentally returns all rows when the caller's region mapping is absent. What is the most appropriate plan for this situation?
- Configure supported Unity Catalog row-filter policy tied to the authorized user's context; apply a supported Unity Catalog column mask appropriate to role and sensitivity requirements; and 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; enforce the intended table-level row or column policy and verify base-table grants and effective results; and 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; enforce the intended table-level row or column policy and verify base-table grants and effective results; and apply a supported Unity Catalog column mask appropriate to role and sensitivity requirements.
- 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; and Make unmapped identities fail closed and test both authorized and unknown-user cases.
Explanation
Correct Answer
B:Row-level governance can restrict visibility while retaining a single shared table. A view-specific restriction does not automatically constrain independently authorized base-table access. Missing entitlement data should not silently become unrestricted access.
Incorrect Answers
A:Dynamic masking can preserve useful non-sensitive data while hiding protected values; Requirement 2 requires: enforce the intended table-level row or column policy and verify base-table grants and effective results.
C:Missing entitlement data should not silently become unrestricted access.
D: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; and Make unmapped identities fail closed and test both authorized and unknown-user cases; dynamic masking can preserve useful non-sensitive data while hiding protected values; requirement 1 requires: configuring supported Unity Catalog row-filter policy tied to the authorized user's context.
Question 104
A group receives SELECT on a table but cannot query it because it lacks USE CATALOG and USE SCHEMA permissions. A group is removed from an inherited parent grant but developers assume historical table privileges can never change. Which course of action addresses the stated issues?
- Grant the required catalog and schema usage privileges alongside narrowly scoped table SELECT; inspect effective table SELECT and applicable row or column restrictions separately from discovery privileges.
- Grant the required catalog and schema usage privileges alongside narrowly scoped table SELECT; inspect current effective permissions and inherited grants before relying on the former access pattern.
- Inspect current effective permissions and inherited grants before relying on the former access pattern; do not grant the required catalog and schema usage privileges alongside narrowly scoped table SELECT.
- Check permission inheritance and grant the required privileges at the intended catalog and schema scope; inspect current effective permissions and inherited grants before relying on the former access pattern.
Explanation
Correct Answer
B:Access to a child table depends on applicable container privileges as well as its own grant. Inherited privileges can affect downstream objects as parent authorizations change.
Incorrect Answers
A:Metadata visibility is not equivalent to permission to read protected rows; requirement 2 requires: inspecting current effective permissions and inherited grants before relying on the former access pattern.
C:Inherited privileges can affect downstream objects as parent authorizations change; requirement 1 requires: granting the required catalog and schema usage privileges alongside narrowly scoped table SELECT.
D:Rights do not automatically cross independent catalog boundaries; requirement 1 requires: granting the required catalog and schema usage privileges alongside narrowly scoped table SELECT.
Question 105
A model's clustering configuration changes but recent appended files have not been reorganized, so scan cost remains high. What is the most effective next step?
- Evaluate liquid clustering aligned to representative multi-column predicate patterns.
- Select clustering keys based on observed query filters and data-skipping benefits.
- Perform supported maintenance and validate updated file pruning with query profiles.
- Specify the required ORDER BY on export rather than relying on table physical layout.
Explanation
Correct Answer
C:Clustering decisions require physical organization and measured follow-through.
Incorrect Answers
A:Evaluate liquid clustering aligned to representative multi-column predicate patterns: adaptive data locality may support diverse filters better than excessive rigid partitions.
B:Select clustering keys based on observed query filters and data-skipping benefits: a unique identifier that is rarely filtered does not improve most workload scans.
D:Specify the required ORDER BY on export rather than relying on table physical layout: clustering supports data locality; it does not contractually order SQL result rows.
Question 106
A customer-history table needs to retain prior address versions, but an engineer chooses an update-in-place target for all CDC events. A CDC source replays an event after restart, and a homemade merge writes duplicate versions for one key. What is the most appropriate plan for this situation?
- Implement the appropriate SCD Type 2 history behavior with key and sequence handling; 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; 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; do not implement the appropriate SCD Type 2 history behavior with key and sequence handling.
- 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.
Explanation
Correct Answer
B:Historical versions cannot be reconstructed if every change overwrites the preceding state. Replay tolerance depends on deterministic event identity and ordering in the target pipeline.
Incorrect Answers
A:Removing a source record must be explicitly represented in the CDC application logic; requirement 2 requires: using supported deduplication and sequence-aware CDC processing with stable checkpoints and key selection.
C:Implement the appropriate SCD Type 2 history behavior with key and sequence handling.
D: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. This does not replace implement the appropriate SCD Type 2 history behavior with key and sequence handling.
Question 107
A high-cost all-purpose cluster is kept running nightly for a ten-minute ETL task that could use job compute. A SQL warehouse has low average utilization but many failed queries during a short concurrency spike. A pipeline uses maximum worker size but performs mostly metadata updates with tiny batches. Which course of action addresses the stated issues?
- Compare appropriately sized job or serverless compute against the actual execution and startup SLA; examine queuing and concurrency limits before choosing autoscaling settings appropriate to the burst; and Profile the workload and right-size compute based on memory, CPU, and shuffle evidence.
- Compare appropriately sized job or serverless compute against the actual execution and startup SLA; apply supported usage tags, ownership identifiers, and billing analysis that distinguish workloads; and Profile the workload and right-size compute based on memory, CPU, and shuffle evidence.
- Apply supported usage tags, ownership identifiers, and billing analysis that distinguish workloads; examine queuing and concurrency limits before choosing autoscaling settings appropriate to the burst; and Profile the workload and right-size compute based on memory, CPU, and shuffle evidence.
- Compare appropriately sized job or serverless compute against the actual execution and startup SLA; examine queuing and concurrency limits before choosing autoscaling settings appropriate to the burst; and apply supported usage tags, ownership identifiers, and billing analysis that distinguish workloads.
Explanation
Correct Answer
A:Paying for idle interactive capacity can dominate a short recurring workload. Average utilization can conceal peak demand that requires flexible concurrency capacity. Larger workers do not automatically reduce cost or latency for a lightly loaded task.
Incorrect Answers
B:Accurate chargeback needs stable attribution rather than one shared service account; Requirement 2 requires: examine queuing and concurrency limits before choosing autoscaling settings appropriate to the burst.
C:Accurate chargeback needs stable attribution rather than one shared service account; Requirement 1 requires: compare appropriately sized job or serverless compute against the actual execution and startup SLA.
D:Larger workers do not automatically reduce cost or latency for a lightly loaded task.
Question 108
An ingestion job reads Avro records after a schema update but deserializes every field as an untyped string. A team reads hundreds of ORC and Parquet files through a generic text reader and loses column types and predicate pushdown. Which response best addresses these needs?
- Use the correct Avro reader with the applicable schema and compatibility handling; separate file handling by detected or contracted format and use the supported binary reader for opaque payloads.
- Use native columnar readers with appropriate schema and filtering support; do not 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 native columnar readers with appropriate schema and filtering support.
- Use the correct Avro reader with the applicable schema and compatibility handling; use native columnar readers with appropriate schema and filtering support.
Explanation
Correct Answer
D:Typed serialized formats require schema-aware readers to preserve nested and numeric data. Columnar formats provide typed and selective scans that text ingestion cannot recover automatically.
Incorrect Answers
A:Binary objects are not structured JSON records and should not be coerced into that schema; requirement 2 requires: using native columnar readers with appropriate schema and filtering support.
B:Use the correct Avro reader with the applicable schema and compatibility handling.
C: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; delimited text requires format-aware parsing rather than manual string splitting; requirement 1 requires: using the correct Avro reader with the applicable schema and compatibility handling.
Question 109
A Spark join hangs on one task because one customer ID represents half the events and causes a massive shuffle partition. What is the most effective next step?
- Enforce one intended dimension record per join key or join with a version-effective condition.
- Diagnose skewed keys and apply a supported skew-aware join or salting strategy where justified.
- Remove the inappropriate broadcast hint and choose a measured shuffle or adaptive join strategy.
- Select a left join and explicit unknown-member handling when all transactions must remain.
Explanation
Correct Answer
B:Adding generic partitions alone may leave the dominant key concentrated in one task.
Incorrect Answers
A:Enforce one intended dimension record per join key or join with a version-effective condition: a many-to-many join multiplies fact rows and produces incorrect aggregates.
C:Remove the inappropriate broadcast hint and choose a measured shuffle or adaptive join strategy: broadcast joins require a side small enough to replicate safely across executors.
D:Select a left join and explicit unknown-member handling when all transactions must remain: join type controls whether unmatched facts survive the enrichment step.
Question 110
A data steward shares a table with an analyst team but skips data classification and approval for sensitive identifiers. A catalog name is reused for a new business domain without updating discoverability metadata, causing published lineage references to be misleading. Which course of action addresses the stated issues?
- Apply the relevant access approval, classification and minimum-necessary sharing process before granting SELECT; correlate governance metadata and retained audit records for historical privilege changes.
- Use available lineage evidence and documented dependencies to identify upstream tables and jobs; update catalog descriptions and dependency ownership alongside a controlled resource migration.
- Apply the relevant access approval, classification and minimum-necessary sharing process before granting SELECT; update catalog descriptions and dependency ownership alongside a controlled resource migration.
- Update catalog descriptions and dependency ownership alongside a controlled resource migration; do not apply the relevant access approval, classification and minimum-necessary sharing process before granting SELECT.
Explanation
Correct Answer
C:Being technically able to grant access does not establish authorization to disclose restricted data. Governance context must remain accurate when an asset's semantic purpose changes.
Incorrect Answers
A:Current entitlements cannot substitute for a timeline of past grants and revocations; requirement 2 requires: updating catalog descriptions and dependency ownership alongside a controlled resource migration.
B:Use available lineage evidence and documented dependencies to identify upstream tables and jobs; update catalog descriptions and dependency ownership alongside a controlled resource migration. This does not replace apply the relevant access approval, classification and minimum-necessary sharing process before granting SELECT.
D:Update catalog descriptions and dependency ownership alongside a controlled resource migration; do not apply the relevant access approval, classification and minimum-necessary sharing process before granting SELECT: apply the relevant access approval, classification and minimum-necessary sharing process before granting SELECT.
Certified Data Engineer Professional Practice Tests