Question 550
An admin gives a team CREATE TABLE on one schema but it still cannot create a table in a different catalog. A user can list a catalog but cannot read an individual protected table; an engineer incorrectly interprets the visible catalog as broad data access. What is the most appropriate plan for this situation?
- 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.
- Inspect effective table SELECT and applicable row or column restrictions separately from discovery privileges; do not check permission inheritance and grant the required privileges at the intended catalog and schema scope.
- Check permission inheritance and grant the required privileges at the intended catalog and schema scope; 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 effective table SELECT and applicable row or column restrictions separately from discovery privileges.
Explanation
Correct Answer
C:Rights do not automatically cross independent catalog boundaries. Metadata visibility is not equivalent to permission to read protected rows.
Incorrect Answers
A:Inherited privileges can affect downstream objects as parent authorizations change; requirement 2 requires: inspecting effective table SELECT and applicable row or column restrictions separately from discovery privileges.
B:Inspect effective table SELECT and applicable row or column restrictions separately from discovery privileges; do not check permission inheritance and grant the required privileges at the intended catalog and schema scope: check permission inheritance and grant the required privileges at the intended catalog and schema scope.
D:Grant the required catalog and schema usage privileges alongside narrowly scoped table SELECT. This does not replace check permission inheritance and grant the required privileges at the intended catalog and schema scope.
Question 551
A workflow needs one task for each regional feed, but all generated tasks share a single output path and overwrite each other. Which response best addresses the failure?
- 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.
- 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.
Explanation
Correct Answer
B:Reuse of code should not imply reuse of stateful output locations.
Incorrect Answers
A:Resolve the supported environment condition before declaring the relevant pipeline input and validate each deployment target: resolve the supported environment condition before declaring the relevant pipeline input and validate each deployment target: environment control flow must determine actual input selection rather than cosmetic variable names.
C:Generate deterministic distinct dataset names and validate the loop's declarations before pipeline evaluation: generate deterministic distinct dataset names and validate the loop's declarations before pipeline evaluation: programmatic declarations must produce a valid and nonconflicting dependency graph.
D: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: missing conditions should surface as configuration errors rather than incomplete successful data; Parameterize unique regional outputs and task identities while retaining shared transformation code.
Question 552
A bronze audit table must retain every source event, but an engineer executes MERGE that overwrites prior event rows on matching IDs. A batch replay loads yesterday's file twice after a retry and a supposedly append-only Delta target grows by duplicate records. Which response best addresses these needs?
- 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; Record processed input identity and make append operations idempotent across retry boundaries.
- Record processed input identity and make append operations idempotent across retry boundaries; do not 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; Record processed input identity and make append operations idempotent across retry boundaries.
Explanation
Correct Answer
B:An append-only audit record must preserve previous events instead of treating each key as current state. Delta atomic commits do not by themselves identify semantic duplicates from replayed inputs.
Incorrect Answers
A: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: delta atomic commits do not by themselves identify semantic duplicates from replayed inputs.
C:Record processed input identity and make append operations idempotent across retry boundaries; do not Append immutable event records using a stable event identity and a duplicate-handling policy: 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.
D: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; 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 553
An engineer enables deletion vectors but assumes removed rows are immediately erased from the underlying Parquet objects for legal retention compliance. What is the most effective next step?
- Monitor table health and use supported compaction or rewrite operations where justified.
- 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.
- Evaluate supported deletion vectors and maintenance behavior for the table's runtime and reader compatibility.
Explanation
Correct Answer
B:Logical visibility and physical removal are separate stages of data lifecycle management.
Incorrect Answers
A:Monitor table health and use supported compaction or rewrite operations where justified: monitor table health and use supported compaction or rewrite operations where justified: deletion metadata and file layout still require lifecycle planning to sustain read performance.
C: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: delta table features can raise minimum reader requirements.
D:Evaluate supported deletion vectors and maintenance behavior for the table's runtime and reader compatibility: evaluate supported deletion vectors and maintenance behavior for the table's runtime and reader compatibility: row-level deletion metadata can avoid immediate rewriting of all affected data files.
Question 554
A platform team checks job run status by scraping the web UI HTML and misses runs when the page layout changes. An on-call dashboard shows a job failure but no task identifier or error message, forcing manual workspace investigation. Which course of action addresses the stated issues?
- Use supported Jobs REST API or Databricks CLI status endpoints with stable run IDs; Capture task-level run state and structured error context through the supported monitoring API.
- Use supported Jobs REST API or Databricks CLI status endpoints with stable run IDs; Track the existing run ID and use supported concurrency or retry controls rather than resubmitting while active.
- Capture task-level run state and structured error context through the supported monitoring API; do not use supported Jobs REST API or Databricks CLI status endpoints with stable run IDs.
- Poll or subscribe to the run's terminal state and inspect task-level results before reporting success; Capture task-level run state and structured error context through the supported monitoring API.
Explanation
Correct Answer
A:Documented interfaces are more reliable for automated operational monitoring than page scraping. Run-level failure alone is insufficient for fast fault localization.
Incorrect Answers
B:Use supported Jobs REST API or Databricks CLI status endpoints with stable run IDs; Track the existing run ID and use supported concurrency or retry controls rather than resubmitting while active: run-level failure alone is insufficient for fast fault localization.
C:Use supported Jobs REST API or Databricks CLI status endpoints with stable run IDs.
D:Poll or subscribe to the run's terminal state and inspect task-level results before reporting success; Capture task-level run state and structured error context through the supported monitoring API. This does not replace use supported Jobs REST API or Databricks CLI status endpoints with stable run IDs.
Question 555
An event pipeline hashes email addresses without a secret salt, allowing a dictionary attack against common addresses. What is the most effective next step?
- Evaluate reidentification risk and combine appropriate suppression or generalization with controlled pseudonymization.
- Isolate and restrict the detokenization mapping under a separate approved access boundary.
- Use a governed keyed pseudonymization approach and protect its key lifecycle.
- Generalize fine-grained location values to approved geography buckets and verify residual identification risk.
Explanation
Correct Answer
C:Predictable hashes of low-entropy identifiers do not reliably hide identity from an attacker.
Incorrect Answers
A:Evaluate reidentification risk and combine appropriate suppression or generalization with controlled pseudonymization: evaluate reidentification risk and combine appropriate suppression or generalization with controlled pseudonymization: removing names alone may leave quasi-identifiers that can be linked to individuals.
B:Isolate and restrict the detokenization mapping under a separate approved access boundary: isolate and restrict the detokenization mapping under a separate approved access boundary: tokenization loses value when the recovery map is accessible to the same unauthorized readers.
D:Generalize fine-grained location values to approved geography buckets and verify residual identification risk: generalize fine-grained location values to approved geography buckets and verify residual identification risk: aggregated or generalized location can retain analytical utility with lower person-level specificity; Use a governed keyed pseudonymization approach and protect its key lifecycle.
Question 556
A production bundle deploy succeeds from a developer laptop but CI cannot reproduce its workspace and catalog variables. A deployment template includes a long-lived API credential in plaintext and the team proposes committing it to Git for automation. What is the most appropriate plan for this situation?
- Use approved secret-backed CI authentication and avoid storing credentials in bundle source files; do not Commit declarative resource configuration and set reviewed target-specific variables through the CI environment.
- Commit declarative resource configuration and set reviewed target-specific variables through the CI environment; 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; use approved secret-backed CI authentication and avoid storing credentials in bundle source files.
- Run the supported bundle validation and deployment steps and verify resulting job configuration in staging; use approved secret-backed CI authentication and avoid storing credentials in bundle source files.
Explanation
Correct Answer
C:Reproducible releases require explicit deployment inputs rather than local machine state. Source-controlled configuration should describe resources without exposing reusable secrets.
Incorrect Answers
A:Use approved secret-backed CI authentication and avoid storing credentials in bundle source files; do not Commit declarative resource configuration and set reviewed target-specific variables through the CI environment: commit declarative resource configuration and set reviewed target-specific variables through the CI environment.
B:Commit declarative resource configuration and set reviewed target-specific variables through the CI environment; define separate target configurations and validate the resolved resource identities before deployment: source-controlled configuration should describe resources without exposing reusable secrets.
D:Run the supported bundle validation and deployment steps and verify resulting job configuration in staging; use approved secret-backed CI authentication and avoid storing credentials in bundle source files. This does not replace commit declarative resource configuration and set reviewed target-specific variables through the CI environment.
Question 557
A multi-task job starts its publishing task before validation finishes, occasionally exposing unverified gold data. Which change should the data engineer make?
- Use suitable job compute and schedule the task hourly with measured startup and SLA headroom.
- Use supported repair-run behavior and make externally visible tasks idempotent.
- Model both predecessors as dependencies and execute the final task only after their required successful completion.
- Declare the validation task as an explicit prerequisite for publishing in the job graph.
Explanation
Correct Answer
D:Task dependencies enforce completion order instead of relying on variable runtime durations.
Incorrect Answers
A: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.
B:Use supported repair-run behavior and make externally visible tasks idempotent: a failed downstream task does not automatically reverse successful earlier side effects.
C:Model both predecessors as dependencies and execute the final task only after their required successful completion. This does not replace declare the validation task as an explicit prerequisite for publishing in the job graph.
Question 558
A sales dashboard joins a transaction fact to a customer dimension that has two current rows per customer, doubling revenue totals. A marketing analysis needs to compare campaign performance across revenue and website traffic facts, but each fact uses incompatible date and channel definitions. Which response best addresses these needs?
- Model snapshot measures with appropriate semi-additive aggregation across time; align conformed dimensions and clearly defined grains before combining measures across facts.
- Align conformed dimensions and clearly defined grains before combining measures across facts; do not enforce dimension key uniqueness for the modeled version and join facts to the intended surrogate key.
- Enforce dimension key uniqueness for the modeled version and join facts to the intended surrogate key; use a conformed geography dimension with stable keys linked to the appropriate fact grain.
- Enforce dimension key uniqueness for the modeled version and join facts to the intended surrogate key; align conformed dimensions and clearly defined grains before combining measures across facts.
Explanation
Correct Answer
D:One-to-many dimension matches can multiply fact amounts unexpectedly. Cross-fact reporting is reliable only when shared dimensions represent the same business entities.
Incorrect Answers
A:Model snapshot measures with appropriate semi-additive aggregation across time; align conformed dimensions and clearly defined grains before combining measures across facts. This does not replace enforce dimension key uniqueness for the modeled version and join facts to the intended surrogate key.
B:Enforce dimension key uniqueness for the modeled version and join facts to the intended surrogate key.
C:Enforce dimension key uniqueness for the modeled version and join facts to the intended surrogate key; use a conformed geography dimension with stable keys linked to the appropriate fact grain: cross-fact reporting is reliable only when shared dimensions represent the same business entities.
Question 559
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. A Spark SQL stage has thousands of spilled partitions and a team only changes the table file count. What is the most appropriate plan for this situation?
- 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; and inspect shuffle spill, partition sizes and available memory before adjusting execution settings.
- 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; and remove or scope the sort where global ordering is not part of the required result contract.
- 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; and inspect shuffle spill, partition sizes and available memory before adjusting execution settings.
- 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; and 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. Spill reflects execution-state pressure that may not be fixed by input file compaction alone.
Incorrect Answers
B:Spill reflects execution-state pressure that may not be fixed by input file compaction alone.
C: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:Global ordering can force expensive redistribution without adding business value; requirement 2 requires: checking broadcast size and memory before choosing an adaptive or shuffle join strategy.
Question 560
An external audit asks who had access to a confidential schema last month, and operations only exports today's permission list. 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?
- Correlate governance metadata and retained audit records for historical privilege changes; update catalog descriptions and dependency ownership alongside a controlled resource migration.
- Update catalog descriptions and dependency ownership alongside a controlled resource migration; do not correlate governance metadata and retained audit records for historical privilege changes.
- Correlate governance metadata and retained audit records for historical privilege changes; apply the relevant access approval, classification and minimum-necessary sharing process before granting SELECT.
- Use available lineage evidence and documented dependencies to identify upstream tables and jobs; update catalog descriptions and dependency ownership alongside a controlled resource migration.
Explanation
Correct Answer
A:Current entitlements cannot substitute for a timeline of past grants and revocations. Governance context must remain accurate when an asset's semantic purpose changes.
Incorrect Answers
B:Correlate governance metadata and retained audit records for historical privilege changes.
C:Correlate governance metadata and retained audit records for historical privilege changes; apply the relevant access approval, classification and minimum-necessary sharing process before granting SELECT: governance context must remain accurate when an asset's semantic purpose changes.
D:Use available lineage evidence and documented dependencies to identify upstream tables and jobs. This does not replace correlate governance metadata and retained audit records for historical privilege changes.
Certified Data Engineer Professional Practice Tests