Question 210
A schema is created without an access model, and every engineer receives CREATE privileges by a convenience group assignment. How should the team resolve this issue?
- Use governed production catalog and schema targets with explicit deployment configuration and grants.
- Verify source table and container privileges separately from view ownership.
- Define schema-level ownership and narrowly grant creation privileges to authorized producers.
- Transfer asset ownership to an authorized durable principal or group with reviewed permissions.
Explanation
Correct Answer
C:Schema creation scope determines who can publish governed datasets.
Incorrect Answers
A:Use governed production catalog and schema targets with explicit deployment configuration and grants: use governed production catalog and schema targets with explicit deployment configuration and grants: environment separation should be enforced through resource boundaries, not a naming convention alone.
B:Verify source table and container privileges separately from view ownership: verify source table and container privileges separately from view ownership: rights over a derived object do not imply unrestricted rights over all underlying data.
D:Transfer asset ownership to an authorized durable principal or group with reviewed permissions: transfer asset ownership to an authorized durable principal or group with reviewed permissions: long-lived assets should not depend on one departing user's account; Define schema-level ownership and narrowly grant creation privileges to authorized producers.
Question 211
A team mixes backfill data with new stream arrivals and writes to separate targets, creating inconsistent downstream history. A raw table has millions of tiny append commits and downstream queries spend most time opening files. What is the most appropriate plan for this situation?
- Coordinate backfill and streaming ingestion through a documented append-and-deduplicate strategy with clear checkpoints; 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; 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; do not 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; Record processed input identity and make append operations idempotent across retry boundaries.
Explanation
Correct Answer
A:Concurrent sources require a consistent record identity and cutover boundary. Append-only semantics do not remove the need to manage physical file layout.
Incorrect Answers
B: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. This does not replace coordinate backfill and streaming ingestion through a documented append-and-deduplicate strategy with clear checkpoints.
C:Use appropriate ingest batching and Delta file maintenance without discarding the append-only event contract; do not 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.
D:Delta atomic commits do not by themselves identify semantic duplicates from replayed inputs; requirement 2 requires: using appropriate ingest batching and Delta file maintenance without discarding the append-only event contract.
Question 212
A research dataset replaces customer names with deterministic hashes but still includes exact birth dates and ZIP codes, and staff call it fully anonymous. An event pipeline hashes email addresses without a secret salt, allowing a dictionary attack against common addresses. A compliance export must preserve aggregate city-level trends without exposing individual GPS coordinates. Which course of action addresses the stated issues?
- Evaluate reidentification risk and combine appropriate suppression or generalization with controlled pseudonymization; Isolate and restrict the detokenization mapping under a separate approved access boundary; and Generalize fine-grained location values to approved geography buckets and verify residual identification risk.
- Evaluate reidentification risk and combine appropriate suppression or generalization with controlled pseudonymization; use a governed keyed pseudonymization approach and protect its key lifecycle; and Generalize fine-grained location values to approved geography buckets and verify residual identification risk.
- Isolate and restrict the detokenization mapping under a separate approved access boundary; use a governed keyed pseudonymization approach and protect its key lifecycle; and Generalize fine-grained location values to approved geography buckets and verify residual identification risk.
- Evaluate reidentification risk and combine appropriate suppression or generalization with controlled pseudonymization; use a governed keyed pseudonymization approach and protect its key lifecycle; and Isolate and restrict the detokenization mapping under a separate approved access boundary.
Explanation
Correct Answer
B:Removing names alone may leave quasi-identifiers that can be linked to individuals. Predictable hashes of low-entropy identifiers do not reliably hide identity from an attacker. Aggregated or generalized location can retain analytical utility with lower person-level specificity.
Incorrect Answers
A:Tokenization loses value when the recovery map is accessible to the same unauthorized readers; requirement 2 requires: using a governed keyed pseudonymization approach and protect its key lifecycle.
C:Tokenization loses value when the recovery map is accessible to the same unauthorized readers; requirement 1 requires: evaluating reidentification risk and combine appropriate suppression or generalization with controlled pseudonymization.
D:Aggregated or generalized location can retain analytical utility with lower person-level specificity.
Question 213
An order pipeline allows duplicate order IDs and a downstream count increases after every replay. A critical validation rule is set to log-only mode and business users believe invalid rows never reach gold. Which response best addresses these needs?
- Add a bounded timestamp validation rule aligned to the allowed clock-skew and event-lateness policy; align the rule's failure action with the publication contract and test how rejected rows are handled.
- Align the rule's failure action with the publication contract and test how rejected rows are handled; do not enforce the required uniqueness expectation or deduplication contract before publishing the curated table.
- Enforce the required uniqueness expectation or deduplication contract before publishing the curated table; align the rule's failure action with the publication contract and test how rejected rows are handled.
- Enforce the required uniqueness expectation or deduplication contract before publishing the curated table; Move the quality gate before publishing and verify external consumers read only validated output.
Explanation
Correct Answer
C:Reliable output requires explicit record identity, not only successful ingestion. Logging a violation is not the same as blocking invalid records.
Incorrect Answers
A:Non-null data can still violate the domain's valid range; Requirement 1 requires: enforce the required uniqueness expectation or deduplication contract before publishing the curated table.
B:Logging a violation is not the same as blocking invalid records; Requirement 1 requires: enforce the required uniqueness expectation or deduplication contract before publishing the curated table.
D:Downstream availability should be conditioned on completed validation for protected data products; Requirement 2 requires: align the rule's failure action with the publication contract and test how rejected rows are handled.
Question 214
A deployment template includes a long-lived API credential in plaintext and the team proposes committing it to Git for automation. Which response best addresses the failure?
- Use approved secret-backed CI authentication and avoid storing credentials in bundle source files.
- Define separate target configurations and validate the resolved resource identities before deployment.
- Commit declarative resource configuration and set reviewed target-specific variables through the CI environment.
- Run the supported bundle validation and deployment steps and verify resulting job configuration in staging.
Explanation
Correct Answer
A:Source-controlled configuration should describe resources without exposing reusable secrets.
Incorrect Answers
B:Define separate target configurations and validate the resolved resource identities before deployment: isolated targets prevent accidental cross-environment changes during routine testing.
C:Commit declarative resource configuration and set reviewed target-specific variables through the CI environment: reproducible releases require explicit deployment inputs rather than local machine state.
D:Run the supported bundle validation and deployment steps and verify resulting job configuration in staging: merging source code does not automatically update deployed workspace resources.
Question 215
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. 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.
- 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.
- Parameterize unique regional outputs and task identities while retaining shared transformation code; do not 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; Parameterize unique regional outputs and task identities while retaining shared transformation code.
Explanation
Correct Answer
B:Programmatic declarations must produce a valid and nonconflicting dependency graph. Reuse of code should not imply reuse of stateful output locations.
Incorrect Answers
A:Missing conditions should surface as configuration errors rather than incomplete successful data; Requirement 2 requires: parameterize unique regional outputs and task identities while retaining shared transformation code.
C:Reuse of code should not imply reuse of stateful output locations; Requirement 1 requires: generate deterministic distinct dataset names and validate the loop's declarations before pipeline evaluation.
D: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 216
An equijoin with a known skewed key takes minutes after other tasks finish, but repartitioning uniformly on the same key changes nothing. What is the most effective next step?
- Normalize join-key types and null handling before joining and verify matched row counts.
- Compare alternative physical join plans with representative data before retaining a forced strategy.
- Evaluate a supported broadcast join and measure its effect on shuffle volume.
- Enable or tune skew-aware adaptive handling and address the hot key specifically.
Explanation
Correct Answer
D:Hash repartitioning alone cannot split all records of one identical join key.
Incorrect Answers
A:Normalize join-key types and null handling before joining and verify matched row counts: normalize join-key types and null handling before joining and verify matched row counts: consistent key representation improves correctness and can reduce avoidable conversion cost.
B:Compare alternative physical join plans with representative data before retaining a forced strategy: compare alternative physical join plans with representative data before retaining a forced strategy: join hints should be justified by current sizes and cardinality, not preference.
C:Evaluate a supported broadcast join and measure its effect on shuffle volume: evaluate a supported broadcast join and measure its effect on shuffle volume: replicating a genuinely small lookup can avoid a large distributed exchange; Enable or tune skew-aware adaptive handling and address the hot key specifically.
Question 217
A query reports a long total duration but the profiler shows negligible execution time and a long queue. A database engineer optimizes one query from an unrepresentative empty cache but claims the workload is consistently faster. What is the most appropriate plan for this situation?
- 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.
- Compare representative query profiles and repeated runs with documented cache conditions; do not investigate warehouse concurrency, queuing and startup rather than rewriting a fast SQL plan.
- 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.
- Investigate warehouse concurrency, queuing and startup rather than rewriting a fast SQL plan; compare representative query profiles and repeated runs with documented cache conditions.
Explanation
Correct Answer
D:Queue delay is a scheduling capacity issue distinct from slow query operators. Measurement must control for warm-up and caching effects before claiming a real performance gain.
Incorrect Answers
A:Poor file skipping can dominate runtime even when the SQL filter appears selective; Requirement 2 requires: compare representative query profiles and repeated runs with documented cache conditions.
B:Investigate warehouse concurrency, queuing and startup rather than rewriting a fast SQL plan.
C: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. This does not replace investigate warehouse concurrency, queuing and startup rather than rewriting a fast SQL plan.
Question 218
A transactions table partitions by unique order ID, creating one directory per record and severe metadata overhead. How should the team resolve this issue?
- Choose one compatible supported layout strategy and plan any required migration.
- Compare partitioning or clustering choices using actual date-filter queries and table size.
- Evaluate the maintenance cost of fixed partitions and clustering against the update frequency and query benefit.
- Avoid high-cardinality partition keys and consider supported liquid clustering or lower-cardinality layout.
Explanation
Correct Answer
D:Excessive partition cardinality destroys file-management efficiency.
Incorrect Answers
A:Choose one compatible supported layout strategy and plan any required migration: choose one compatible supported layout strategy and plan any required migration: delta optimization methods have operational incompatibilities that need explicit review; Avoid high-cardinality partition keys and consider supported liquid clustering or lower-cardinality layout.
B:Compare partitioning or clustering choices using actual date-filter queries and table size: compare partitioning or clustering choices using actual date-filter queries and table size. This does not replace avoid high-cardinality partition keys and consider supported liquid clustering or lower-cardinality layout.
C:Evaluate the maintenance cost of fixed partitions and clustering against the update frequency and query benefit: evaluate the maintenance cost of fixed partitions and clustering against the update frequency and query benefit: a performance technique can be counterproductive if its recurring rewrite cost exceeds its read savings.
Question 219
A customer lifetime value calculation uses ROW_NUMBER without deterministic tie breakers, so equal-timestamp purchases receive inconsistent ranks. 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 an event-time range or complete calendar design suited to seven actual days rather than seven arbitrary records.
- Use an event-time range or complete calendar design suited to seven actual days rather than seven arbitrary records; do not add a stable secondary sort key to the window ordering and test tied inputs.
- 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.
- 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.
Explanation
Correct Answer
A:Window ordering must be deterministic when multiple rows share the primary sort value. Row counts and elapsed-day intervals are not interchangeable.
Incorrect Answers
B:Row counts and elapsed-day intervals are not interchangeable; Requirement 1 requires: add a stable secondary sort key to the window ordering and test tied inputs.
C:A global top row cannot represent the most recent row per key; requirement 2 requires: using an event-time range or complete calendar design suited to seven actual days rather than seven arbitrary records.
D: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; 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 220
A streaming pipeline publishes unredacted raw chat metadata to a broadly accessible silver table before asynchronous masking runs. 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. What is the most appropriate plan for this situation?
- 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; and 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; validate schema evolution and masking outcomes with explicit error handling and monitored quarantine; and Minimize and protect streaming diagnostic events while preserving non-sensitive failure context.
- 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; and 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; validate schema evolution and masking outcomes with explicit error handling and monitored quarantine; and 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. Malformed sensitive values should not cause silent transactional data loss. 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; Minimize and protect streaming diagnostic events while preserving non-sensitive failure context; and apply consistent privacy logic on all replay and recovery paths and test idempotent publication: malformed sensitive values should not cause silent transactional data loss.
B:Recovery semantics must not bypass the same controls used for normal processing.
C: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; and apply consistent privacy logic on all replay and recovery paths and test idempotent publication; log streams are an additional data copy subject to access and retention controls; Requirement 1 requires: mask sensitive fields within the streaming ingestion path before publishing to the shared table.
Certified Data Engineer Professional Practice Tests