Question 200
An Auto Loader pipeline ingests JSON from a landing bucket, but newly added columns disappear because schema evolution is disabled without alerting. Which response best addresses the failure?
- Use checkpointed Auto Loader semantics and an idempotent target write path for recoverable ingestion.
- Evaluate Auto Loader's supported incremental file discovery mechanisms and checkpoint-backed progress.
- Capture rescued or malformed input separately and preserve raw evidence for controlled quarantine.
- Configure supported schema inference and evolution behavior and test a staged new-column event.
Explanation
Correct Answer
D:Source contract changes should produce a deliberate schema transition rather than silent loss.
Incorrect Answers
A:Use checkpointed Auto Loader semantics and an idempotent target write path for recoverable ingestion: use checkpointed Auto Loader semantics and an idempotent target write path for recoverable ingestion: progress tracking and idempotent writes protect against replay following failures.
B:Evaluate Auto Loader's supported incremental file discovery mechanisms and checkpoint-backed progress: evaluate Auto Loader's supported incremental file discovery mechanisms and checkpoint-backed progress: incremental discovery scales better than repeatedly traversing a large historical file inventory; Configure supported schema inference and evolution behavior and test a staged new-column event.
C:Capture rescued or malformed input separately and preserve raw evidence for controlled quarantine: capture rescued or malformed input separately and preserve raw evidence for controlled quarantine. This does not replace configure supported schema inference and evolution behavior and test a staged new-column event.
Question 201
An inventory snapshot fact has one row per product per day, but a report sums seven daily snapshots as if each were an independent sale. A warehouse team duplicates free-text geographic attributes in every billion-row fact record and struggles to maintain region renames. 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.
- 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.
- Use a conformed geography dimension with stable keys linked to the appropriate fact grain; do not Model snapshot measures with appropriate semi-additive aggregation across time.
- Model snapshot measures with appropriate semi-additive aggregation across time; use a conformed geography dimension with stable keys linked to the appropriate fact grain.
Explanation
Correct Answer
D:Inventory balances cannot generally be summed across dates like transaction amounts. Shared dimensions centralize descriptive attributes and support consistent reporting.
Incorrect Answers
A:Cross-fact reporting is reliable only when shared dimensions represent the same business entities; requirement 2 requires: using a conformed geography dimension with stable keys linked to the appropriate fact grain.
B: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. This does not replace model snapshot measures with appropriate semi-additive aggregation across time.
C:Use a conformed geography dimension with stable keys linked to the appropriate fact grain; do not Model snapshot measures with appropriate semi-additive aggregation across time: model snapshot measures with appropriate semi-additive aggregation across time.
Question 202
A team forces a sort-merge join on a tiny table and loses performance compared with the prior adaptive plan. Which change should the data engineer make?
- Evaluate a supported broadcast join and measure its effect on shuffle volume.
- Normalize join-key types and null handling before joining and verify matched row counts.
- Enable or tune skew-aware adaptive handling and address the hot key specifically.
- Compare alternative physical join plans with representative data before retaining a forced strategy.
Explanation
Correct Answer
D:Join hints should be justified by current sizes and cardinality, not preference.
Incorrect Answers
A: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.
B: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.
C:Enable or tune skew-aware adaptive handling and address the hot key specifically: enable or tune skew-aware adaptive handling and address the hot key specifically. This does not replace compare alternative physical join plans with representative data before retaining a forced strategy.
Question 203
A team configures an extremely short VACUUM retention period on a streaming source and risks removing files needed by a lagging consumer. A legal hold requires retaining selected audit records, but a scheduled blanket purge deletes every record older than a fixed date. Which course of action addresses the stated issues?
- Exclude approved hold data from automated purging and retain documented exception controls; do not review active readers, streaming checkpoints, and retention guarantees before shortening file cleanup windows.
- Review active readers, streaming checkpoints, and retention guarantees before shortening file cleanup windows; Extend the retention inventory and approved purge process to derivative exports and backups.
- Review active readers, streaming checkpoints, and retention guarantees before shortening file cleanup windows; Exclude approved hold data from automated purging and retain documented exception controls.
- Apply the approved retention and physical purge workflow while honoring Delta time-travel, VACUUM and legal-hold constraints; Exclude approved hold data from automated purging and retain documented exception controls.
Explanation
Correct Answer
C:Premature file deletion can break time travel and incremental consumers. Regulatory retention may depend on holds and classifications, not only record age.
Incorrect Answers
A:Regulatory retention may depend on holds and classifications, not only record age; requirement 1 requires: reviewing active readers, streaming checkpoints, and retention guarantees before shortening file cleanup windows.
B:Review active readers, streaming checkpoints, and retention guarantees before shortening file cleanup windows; Extend the retention inventory and approved purge process to derivative exports and backups; removing the canonical table does not automatically remove external copies; Requirement 2 requires: exclude approved hold data from automated purging and retain documented exception controls.
D:Logical row deletion and physical removal from retained files are distinct lifecycle steps; requirement 1 requires: reviewing active readers, streaming checkpoints, and retention guarantees before shortening file cleanup windows.
Question 204
Finance needs workspace-level job and SQL warehouse spend trends, but engineers aggregate notebook wall-clock duration as a proxy for billing. An audit investigation needs to identify who changed a table grant last week, but only current permissions are inspected. A team queries system tables from an account where the relevant schema has not been enabled or access-granted, then concludes no activity occurred. Which response best addresses these needs?
- Join using stable identifiers and workspace context supplied by the system datasets; examine appropriate system audit events for the change window and correlate the actor and object; and verify system schema availability, regional coverage and reader grants before interpreting empty results.
- Query the relevant accessible Databricks system billing records with documented attribution and currency assumptions; Join using stable identifiers and workspace context supplied by the system datasets; and verify system schema availability, regional coverage and reader grants before interpreting empty results.
- Query the relevant accessible Databricks system billing records with documented attribution and currency assumptions; examine appropriate system audit events for the change window and correlate the actor and object; and verify system schema availability, regional coverage and reader grants before interpreting empty results.
- Query the relevant accessible Databricks system billing records with documented attribution and currency assumptions; examine appropriate system audit events for the change window and correlate the actor and object; and Join using stable identifiers and workspace context supplied by the system datasets.
Explanation
Correct Answer
C:Recorded usage data is stronger cost evidence than elapsed notebook time alone. Current ACL state cannot establish historical authorization changes on its own. A missing telemetry entitlement or feed must not be mistaken for absence of operations.
Incorrect Answers
A:Join using stable identifiers and workspace context supplied by the system datasets; examine appropriate system audit events for the change window and correlate the actor and object; and verify system schema availability, regional coverage and reader grants before interpreting empty results: human-readable names are not reliable global keys for cross-workspace attribution; Requirement 1 requires: query the relevant accessible Databricks system billing records with documented attribution and currency assumptions.
B:Human-readable names are not reliable global keys for cross-workspace attribution; Requirement 2 requires: examine appropriate system audit events for the change window and correlate the actor and object.
D:A missing telemetry entitlement or feed must not be mistaken for absence of operations.
Question 205
An executor repeatedly disappears during large aggregations and operators attribute the failure to malformed source files without checking resource metrics. A job's final stage is slow while earlier scans finish rapidly; the team optimizes source file discovery only. What is the most appropriate plan for this situation?
- Review executor loss and memory evidence before changing parsing logic; validate business output invariants and input/output row counts in addition to Spark execution health.
- Inspect failing task attempts and Spark UI stage metrics to identify the concrete executor exception; examine the slow stage's shuffle, spill and task distribution before changing input discovery.
- Review executor loss and memory evidence before changing parsing logic; examine the slow stage's shuffle, spill and task distribution before changing input discovery.
- Examine the slow stage's shuffle, spill and task distribution before changing input discovery; do not review executor loss and memory evidence before changing parsing logic.
Explanation
Correct Answer
C:Resource exhaustion and source-data errors require different remediations. Performance interventions should target the stage that consumes the time.
Incorrect Answers
A:Successful task execution cannot establish semantic correctness of transformations; Requirement 2 requires: examine the slow stage's shuffle, spill and task distribution before changing input discovery.
B:Inspect failing task attempts and Spark UI stage metrics to identify the concrete executor exception; examine the slow stage's shuffle, spill and task distribution before changing input discovery; stage and task diagnostics reveal underlying causes obscured by a generic job status; requirement 1 requires: reviewing executor loss and memory evidence before changing parsing logic.
D:Performance interventions should target the stage that consumes the time; requirement 1 requires: reviewing executor loss and memory evidence before changing parsing logic.
Question 206
A regional reporting query groups by customer_id as well as region and mistakenly describes its output as one row per region. What is the most effective next step?
- Count distinct users at the required date and business grain after deduplication rules.
- Normalize event timestamps to the authorized reporting timezone before daily grouping.
- Group only on the required reporting grain and separately aggregate customer-level details if needed.
- Calculate the weighted numerator and denominator from underlying totals.
Explanation
Correct Answer
C:Every grouping expression changes the result's granularity.
Incorrect Answers
A:Count distinct users at the required date and business grain after deduplication rules: count distinct users at the required date and business grain after deduplication rules. This does not replace group only on the required reporting grain and separately aggregate customer-level details if needed.
B:Normalize event timestamps to the authorized reporting timezone before daily grouping: normalize event timestamps to the authorized reporting timezone before daily grouping: calendar boundaries depend on the business timezone, not only UTC event storage.
D:Calculate the weighted numerator and denominator from underlying totals: an average of averages is biased when groups have different sizes.
Question 207
An ETL project has one 1,500-line notebook containing extraction, validation, and publishing, making a small schema change risky. A release changes bundle variables but never validates the resolved resource names; the deployment unexpectedly replaces a job in a different environment. Which response best addresses these needs?
- Split the logic into testable functions and modules while keeping the notebook or job entry point thin; validate the deployment target and rendered bundle configuration in CI before applying changes to that workspace.
- Validate the deployment target and rendered bundle configuration in CI before applying changes to that workspace; do not Split the logic into testable functions and modules while keeping the notebook or job entry point thin.
- Extract reusable Python modules and parameterize catalog and workspace targets in Declarative Automation Bundle configuration; validate the deployment target and rendered bundle configuration in CI before applying changes to that workspace.
- Split the logic into testable functions and modules while keeping the notebook or job entry point thin; Package the shared Python code with explicit imports and a tested installation path available to the job task.
Explanation
Correct Answer
A:Modular code permits isolated testing of schema handling without rerunning unrelated pipeline steps. Generated job identities and resource paths must be checked before a deployment changes state.
Incorrect Answers
B:Split the logic into testable functions and modules while keeping the notebook or job entry point thin.
C:Extract reusable Python modules and parameterize catalog and workspace targets in Declarative Automation Bundle configuration; validate the deployment target and rendered bundle configuration in CI before applying changes to that workspace. This does not replace split the logic into testable functions and modules while keeping the notebook or job entry point thin.
D:A notebook-only search path is not a reliable dependency boundary for production tasks; requirement 2 requires: validating the deployment target and rendered bundle configuration in CI before applying changes to that workspace.
Question 208
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. A recipient needs access to one curated table but is mistakenly granted the provider's full catalog administration role. What is the most appropriate plan for this situation?
- Revoke future share access and separately apply documented downstream data-retention and recipient governance controls; Explicitly add the intended tables or views to the share and verify recipient-side visibility; and restrict the provider's share membership and recipient grants to the approved data products.
- 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; and restrict the provider's share membership and recipient grants to the approved data products.
- 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; and restrict the provider's share membership and recipient grants to the approved data products.
- 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; and Revoke future share access and separately apply documented downstream data-retention and recipient governance controls.
Explanation
Correct Answer
C:D2D sharing offers governed access without requiring a separate hand-maintained export pipeline. Creating a share container does not automatically expose every catalog asset. Cross-organization collaboration should not imply administrative control over source governance.
Incorrect Answers
A:Revoking live access cannot retroactively delete copies already materialized outside the provider; requirement 1 requires: configuring supported Databricks-to-Databricks Delta Sharing with provider and recipient identities and authorized shared assets.
B: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; and restrict the provider's share membership and recipient grants to the approved data products: creating a share container does not automatically expose every catalog asset.
D:Cross-organization collaboration should not imply administrative control over source governance.
Question 209
An analyst drops a managed table and expects its storage behavior to match a manually created external table exactly. An organization places sensitive managed data outside its approved storage root without reviewing the metastore or catalog locations. Which course of action addresses the stated issues?
- Consider Unity Catalog managed tables for eligible datasets requiring centrally managed storage lifecycle; configure authorized managed storage locations and governance boundaries before creating the tables.
- Review managed-versus-external lifecycle and retention semantics before destructive table operations; Route modifications through supported table operations rather than editing managed Delta files directly.
- Configure authorized managed storage locations and governance boundaries before creating the tables; do not review managed-versus-external lifecycle and retention semantics before destructive table operations.
- Review managed-versus-external lifecycle and retention semantics before destructive table operations; configure authorized managed storage locations and governance boundaries before creating the tables.
Explanation
Correct Answer
D:Catalog ownership and data-file cleanup differ by table type and supported retention rules. Managed does not mean storage residency requirements can be ignored.
Incorrect Answers
A:Managed tables reduce low-level file management and integrate governance with table ownership; requirement 1 requires: reviewing managed-versus-external lifecycle and retention semantics before destructive table operations.
B:File-system changes outside the transaction log can corrupt or desynchronize table state; requirement 2 requires: configuring authorized managed storage locations and governance boundaries before creating the tables.
C:Managed does not mean storage residency requirements can be ignored; requirement 1 requires: reviewing managed-versus-external lifecycle and retention semantics before destructive table operations.
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.
Certified Data Engineer Professional Practice Tests