Microsoft DP-750 Practice Test 4
Question 30
A research partner owns Azure storage files that other engines access and wants a Databricks table registered over the same data. Which technical principle BEST explains the correct design decision?
- Job compute provides reproducible scheduled execution isolation and cost control compared with keeping an interactive cluster running for every task.
- Unity Catalog names resolve within catalog and schema scopes; choosing the proper fully qualified path prevents accidental environment collisions.
- A managed table has platform-governed storage lifecycle while an external table refers to data at an independently managed storage location.
- Unity Catalog volumes govern file collections and paths; they are not a replacement for registering structured tables to query by table name.
Explanation
Correct Answer
C:A managed table has platform-governed storage lifecycle while an external table refers to data at an independently managed storage location. A sound implementation is: Choose a managed or external Unity Catalog table based on who owns the underlying storage lifecycle and external access requirements.
Incorrect Answers
A:Job compute provides reproducible scheduled execution isolation and cost control compared with keeping an interactive cluster running for every task. This statement describes Dedicated job compute rather than the situation at hand. The Managed versus external table lifecycle design instead follows: A managed table has platform-governed storage lifecycle while an external table refers to data at an independently managed storage location.
B:Unity Catalog names resolve within catalog and schema scopes; choosing the proper fully qualified path prevents accidental environment collisions. This statement describes Schema organization and three-part naming rather than the situation at hand. The Managed versus external table lifecycle design instead follows: A managed table has platform-governed storage lifecycle while an external table refers to data at an independently managed storage location.
D:Unity Catalog volumes govern file collections and paths; they are not a replacement for registering structured tables to query by table name. This statement describes Unity Catalog volumes for files rather than the situation at hand. The Managed versus external table lifecycle design instead follows: A managed table has platform-governed storage lifecycle while an external table refers to data at an independently managed storage location.
Question 31
A telemetry analyst assumes each country has equal record counts and later encounters highly skewed group aggregations. Which result BEST verifies that the proposed solution meets the stated requirement?
- Each intended business key retains the correct selected record and the retained row count matches validated expectations.
- Documented quality findings explain transformation decisions and regression tests detect later distribution changes.
- Queries for a chosen historical date return the correct version without leaking future corrections into past reports.
- A test fixture reconciles summarized totals and produces expected wide or long reporting columns.
Explanation
Correct Answer
B:Documented quality findings explain transformation decisions and regression tests detect later distribution changes. Profiling reveals source quality and distributions; applying casting or deduplication without evidence can hide data defects.
Incorrect Answers
A:Each intended business key retains the correct selected record and the retained row count matches validated expectations. This would validate Deduplication with window ranking in another workload; it does not establish success of the requirement here. For this Data profiling and skew detection scenario, verify: Documented quality findings explain transformation decisions and regression tests detect later distribution changes.
C:Queries for a chosen historical date return the correct version without leaking future corrections into past reports. This would validate Temporal as-of query model in another workload; it does not establish success of the requirement here. For this Data profiling and skew detection scenario, verify: Documented quality findings explain transformation decisions and regression tests detect later distribution changes.
D:A test fixture reconciles summarized totals and produces expected wide or long reporting columns. This would validate Pivot unpivot and group aggregations in another workload; it does not establish success of the requirement here. For this Data profiling and skew detection scenario, verify: Documented quality findings explain transformation decisions and regression tests detect later distribution changes.
Question 32
A vendor deposits hundreds of thousands of JSON objects into Azure storage throughout each day. Which result BEST verifies that the proposed solution meets the stated requirement?
- Test records retain expected currency and timestamp values and invalid inputs are quarantined rather than silently corrupted.
- New arrivals ingest exactly according to the supported checkpoint semantics and previously processed files are not blindly reloaded.
- A rerun fetches the intended source increment without duplicating previously committed target records.
- A controlled restart resumes from committed progress without unexpectedly reprocessing the entire available stream.
Explanation
Correct Answer
B:New arrivals ingest exactly according to the supported checkpoint semantics and previously processed files are not blindly reloaded. Auto Loader tracks discovered files and supports incremental cloud object storage ingestion, reducing manual list-and-copy work.
Incorrect Answers
A:Test records retain expected currency and timestamp values and invalid inputs are quarantined rather than silently corrupted. This would validate Data type cast and numeric precision in another workload; it does not establish success of the requirement here. For this Auto Loader incremental cloud files scenario, verify: New arrivals ingest exactly according to the supported checkpoint semantics and previously processed files are not blindly reloaded.
C:A rerun fetches the intended source increment without duplicating previously committed target records. This would validate Notebook-based ingestion orchestration in another workload; it does not establish success of the requirement here. For this Auto Loader incremental cloud files scenario, verify: New arrivals ingest exactly according to the supported checkpoint semantics and previously processed files are not blindly reloaded.
D:A controlled restart resumes from committed progress without unexpectedly reprocessing the entire available stream. This would validate Structured Streaming checkpoint recovery in another workload; it does not establish success of the requirement here. For this Auto Loader incremental cloud files scenario, verify: New arrivals ingest exactly according to the supported checkpoint semantics and previously processed files are not blindly reloaded.
Question 33
A delivery tracking feed contains multiple change events for one shipment and its dimension must not create duplicate active keys. Which TWO actions together provide the most appropriate implementation and a necessary verification check? Select TWO.
- Deduplicate the incoming key set and use an appropriate Delta MERGE to apply CDC inserts and updates with deterministic match logic.
- Queries for a chosen historical date return the correct version without leaking future corrections into past reports.
- Use a notebook ingest task for a small custom extraction with explicit idempotent writes and error handling when no suitable managed connector applies.
- Inspect source operation codes, business keys, duplicate matches and ordering of change events.
- Inspect event-time field, observed late arrival distribution, state size and output update policy.
Explanation
Correct Answers
A:Deduplicate the incoming key set and use an appropriate Delta MERGE to apply CDC inserts and updates with deterministic match logic. This implementation meets the requirement because Delta MERGE supports conditional matched and unmatched actions; ambiguous multiple source matches can fail or produce incorrect results. The relevant preflight is: Inspect source operation codes, business keys, duplicate matches and ordering of change events.
D:Inspect source operation codes, business keys, duplicate matches and ordering of change events. Delta MERGE supports conditional matched and unmatched actions; ambiguous multiple source matches can fail or produce incorrect results. The intended corrective action is: Deduplicate the incoming key set and use an appropriate Delta MERGE to apply CDC inserts and updates with deterministic match logic.
Incorrect Answers
B:Queries for a chosen historical date return the correct version without leaking future corrections into past reports. This step belongs to Temporal as-of query model and does not provide one of the two required checks here. Delta MERGE supports conditional matched and unmatched actions; ambiguous multiple source matches can fail or produce incorrect results.
C:Use a notebook ingest task for a small custom extraction with explicit idempotent writes and error handling when no suitable managed connector applies. This step belongs to Notebook-based ingestion orchestration and does not provide one of the two required checks here. Delta MERGE supports conditional matched and unmatched actions; ambiguous multiple source matches can fail or produce incorrect results.
E:Inspect event-time field, observed late arrival distribution, state size and output update policy. This step belongs to Streaming watermarks for late events and does not provide one of the two required checks here. Delta MERGE supports conditional matched and unmatched actions; ambiguous multiple source matches can fail or produce incorrect results.
Question 34
A legacy event file contains mixed timestamp formats and a generic cast silently produces null time fields. Which result BEST verifies that the proposed solution meets the stated requirement?
- A changed customer address replaces the previous value and current dimension joins return one expected row per key.
- The curated table preserves unknown states explicitly and required fields meet agreed completeness checks.
- Test records retain expected currency and timestamp values and invalid inputs are quarantined rather than silently corrupted.
- An approved added field is handled by the intended evolution policy while breaking changes are surfaced for review.
Explanation
Correct Answer
C:Test records retain expected currency and timestamp values and invalid inputs are quarantined rather than silently corrupted. A suitable schema preserves meaning; floating-point approximation and unvalidated casts can alter financial or timestamp calculations.
Incorrect Answers
A:A changed customer address replaces the previous value and current dimension joins return one expected row per key. This would validate Slowly changing dimension Type 1 in another workload; it does not establish success of the requirement here. For this Data type cast and numeric precision scenario, verify: Test records retain expected currency and timestamp values and invalid inputs are quarantined rather than silently corrupted.
B:The curated table preserves unknown states explicitly and required fields meet agreed completeness checks. This would validate Missing and null value handling in another workload; it does not establish success of the requirement here. For this Data type cast and numeric precision scenario, verify: Test records retain expected currency and timestamp values and invalid inputs are quarantined rather than silently corrupted.
D:An approved added field is handled by the intended evolution policy while breaking changes are surfaced for review. This would validate Auto Loader schema evolution policy in another workload; it does not establish success of the requirement here. For this Data type cast and numeric precision scenario, verify: Test records retain expected currency and timestamp values and invalid inputs are quarantined rather than silently corrupted.
Question 35
A build agent deploys a source-controlled Databricks project to staging before a production promotion. Which technical principle BEST explains the correct design decision?
- Notifications surface failures to responders; they do not automatically repair invalid data or confirm end-to-end pipeline success.
- Branches and pull requests help coordinate conflicting edits; an unreviewed forced overwrite can silently discard another engineer's work.
- Declarative Automation Bundles replace manual resource recreation with project configuration stored alongside source and tests.
- CLI bundle deployment follows declarative project settings and authenticated workspace target selection; unverified defaults can affect the wrong workspace.
Explanation
Correct Answer
D:CLI bundle deployment follows declarative project settings and authenticated workspace target selection; unverified defaults can affect the wrong workspace. A sound implementation is: Use the supported Databricks CLI to validate and deploy the correct bundle target after configured authentication and preflight checks.
Incorrect Answers
A:Notifications surface failures to responders; they do not automatically repair invalid data or confirm end-to-end pipeline success. This statement describes Job failure notifications rather than the situation at hand. The Databricks CLI bundle deployment design instead follows: CLI bundle deployment follows declarative project settings and authenticated workspace target selection; unverified defaults can affect the wrong workspace.
B:Branches and pull requests help coordinate conflicting edits; an unreviewed forced overwrite can silently discard another engineer's work. This statement describes Pull requests and merge conflicts rather than the situation at hand. The Databricks CLI bundle deployment design instead follows: CLI bundle deployment follows declarative project settings and authenticated workspace target selection; unverified defaults can affect the wrong workspace.
C:Declarative Automation Bundles replace manual resource recreation with project configuration stored alongside source and tests. This statement describes Declarative Automation Bundles definitions rather than the situation at hand. The Databricks CLI bundle deployment design instead follows: CLI bundle deployment follows declarative project settings and authenticated workspace target selection; unverified defaults can affect the wrong workspace.
Question 36
A Delta event table receives daily appends and analysts repeatedly filter by customer_id across many files. Which result BEST verifies that the proposed solution meets the stated requirement?
- New source changes appear in the intended Unity Catalog target without repeatedly copying all historical source rows.
- The curated table preserves unknown states explicitly and required fields meet agreed completeness checks.
- Targeted queries read fewer relevant files after layout optimization without altering logical row values.
- The Delta table supports atomic changes, consistent reads and documented versioned recovery behavior.
Explanation
Correct Answer
C:Targeted queries read fewer relevant files after layout optimization without altering logical row values. Z-ordering collocates related values to improve data skipping; it does not itself filter unauthorized data or guarantee faster queries for every workload.
Incorrect Answers
A:New source changes appear in the intended Unity Catalog target without repeatedly copying all historical source rows. This would validate Lakeflow Connect managed ingestion in another workload; it does not establish success of the requirement here. For this Z-ordering supported file layout scenario, verify: Targeted queries read fewer relevant files after layout optimization without altering logical row values.
B:The curated table preserves unknown states explicitly and required fields meet agreed completeness checks. This would validate Missing and null value handling in another workload; it does not establish success of the requirement here. For this Z-ordering supported file layout scenario, verify: Targeted queries read fewer relevant files after layout optimization without altering logical row values.
D:The Delta table supports atomic changes, consistent reads and documented versioned recovery behavior. This would validate Delta versus plain Parquet table format in another workload; it does not establish success of the requirement here. For this Z-ordering supported file layout scenario, verify: Targeted queries read fewer relevant files after layout optimization without altering logical row values.
Question 37
A location aggregation stalls on one large metro area although other partitions finish quickly. Which result BEST verifies that the proposed solution meets the stated requirement?
- A new qualifying object produces the expected job run while idle periods do not generate needless scheduled work.
- The revised job has a more balanced task distribution and avoids one executor dominating the join stage.
- Repeated queries improve measurably without stale data or unacceptable executor memory pressure.
- A representative rerun reduces unnecessary spill and finishes within the approved memory and cost budget.
Explanation
Correct Answer
B:The revised job has a more balanced task distribution and avoids one executor dominating the join stage. Skew occurs when keys distribute unevenly; adding workers alone may leave the dominant hot partition unchanged.
Incorrect Answers
A:A new qualifying object produces the expected job run while idle periods do not generate needless scheduled work. This would validate File arrival job trigger in another workload; it does not establish success of the requirement here. For this Spark skewed join diagnosis scenario, verify: The revised job has a more balanced task distribution and avoids one executor dominating the join stage.
C:Repeated queries improve measurably without stale data or unacceptable executor memory pressure. This would validate Caching useful intermediate results in another workload; it does not establish success of the requirement here. For this Spark skewed join diagnosis scenario, verify: The revised job has a more balanced task distribution and avoids one executor dominating the join stage.
D:A representative rerun reduces unnecessary spill and finishes within the approved memory and cost budget. This would validate Shuffle spill and memory tuning in another workload; it does not establish success of the requirement here. For this Spark skewed join diagnosis scenario, verify: The revised job has a more balanced task distribution and avoids one executor dominating the join stage.
Question 38
A weekly archival process was mistakenly deployed as continuous and keeps paid compute running between arrivals. Which implementation is MOST appropriate for this requirement?
- Use Spark UI task-level metrics and a plan to detect hot join keys and remediate skew safely.
- Create a Lakeflow Job schedule in the intended time zone with dependency-aware processing windows and availability requirements.
- Use a supported continuous job trigger for a pipeline that must remain active, with restart and cost controls matching its service objective.
- Use a supported Lakeflow Job repair to rerun failed task paths after correcting the underlying issue, preserving successful completed work.
Explanation
Correct Answer
C:Use a supported continuous job trigger for a pipeline that must remain active, with restart and cost controls matching its service objective. This implementation meets the requirement because Continuous execution is suitable for always-on workloads; it has a different cost and lifecycle profile from a once-per-day batch job. The relevant preflight is: Inspect trigger type, workload streaming semantics, run state, restarting behavior and monitoring rules.
Incorrect Answers
A:Use Spark UI task-level metrics and a plan to detect hot join keys and remediate skew safely. This change targets Spark skewed join diagnosis, where Skew occurs when keys distribute unevenly; adding workers alone may leave the dominant hot partition unchanged. It does not solve the specific Continuous job execution requirement; that instead calls for: Use a supported continuous job trigger for a pipeline that must remain active, with restart and cost controls matching its service objective.
B:Create a Lakeflow Job schedule in the intended time zone with dependency-aware processing windows and availability requirements. This change targets Time-based job scheduling, where Time-based schedules trigger on a clock rather than on successful source arrival; time zone choices matter for business deadlines. It does not solve the specific Continuous job execution requirement; that instead calls for: Use a supported continuous job trigger for a pipeline that must remain active, with restart and cost controls matching its service objective.
D:Use a supported Lakeflow Job repair to rerun failed task paths after correcting the underlying issue, preserving successful completed work. This change targets Repairing failed job runs, where Job repair reruns failed portions and respects task dependencies; it does not make writes idempotent by itself. It does not solve the specific Continuous job execution requirement; that instead calls for: Use a supported continuous job trigger for a pipeline that must remain active, with restart and cost controls matching its service objective.
Question 39
A clickstream table has billions of events and most queries constrain event_date rather than individual user IDs. Before making changes, which evidence should the engineer examine FIRST to assess the requirement?
- Inspect common filter predicates, partition cardinality, file counts and query plan partition pruning.
- Inspect required update/delete operations, simultaneous writers, schema handling and table history requirements.
- Inspect connector availability, source connectivity, incremental cursor behavior, permissions and ingestion logs.
- Inspect key uniqueness, event timestamps, ingestion sequence, duplicate counts and ordering rules.
Explanation
Correct Answer
A:Inspect common filter predicates, partition cardinality, file counts and query plan partition pruning. Partitioning can reduce scan work for common filters but excessive partitions create costly small files and metadata overhead. The intended corrective action is: Choose limited sensible partition columns for large filtered datasets while avoiding extreme high-cardinality partition fragmentation.
Incorrect Answers
B:Inspect required update/delete operations, simultaneous writers, schema handling and table history requirements. This checks Delta versus plain Parquet table format, not the relevant Partition pruning and small-file risk prerequisite. Partitioning can reduce scan work for common filters but excessive partitions create costly small files and metadata overhead. For the described case, the discriminating evidence is: Inspect common filter predicates, partition cardinality, file counts and query plan partition pruning.
C:Inspect connector availability, source connectivity, incremental cursor behavior, permissions and ingestion logs. This checks Lakeflow Connect managed ingestion, not the relevant Partition pruning and small-file risk prerequisite. Partitioning can reduce scan work for common filters but excessive partitions create costly small files and metadata overhead. For the described case, the discriminating evidence is: Inspect common filter predicates, partition cardinality, file counts and query plan partition pruning.
D:Inspect key uniqueness, event timestamps, ingestion sequence, duplicate counts and ordering rules. This checks Deduplication with window ranking, not the relevant Partition pruning and small-file risk prerequisite. Partitioning can reduce scan work for common filters but excessive partitions create costly small files and metadata overhead. For the described case, the discriminating evidence is: Inspect common filter predicates, partition cardinality, file counts and query plan partition pruning.
Question 40
A telemetry Delta table receives broad ingest writes while interactive queries selectively filter device groups and event dates. Which implementation is MOST appropriate for this requirement?
- Choose limited sensible partition columns for large filtered datasets while avoiding extreme high-cardinality partition fragmentation.
- Ingest supported Azure Event Hubs streams through an appropriate Spark connector with checkpoint and offset management.
- Use supported liquid clustering on a Delta table to adapt data layout to frequently filtered columns without manually managing fixed partitions.
- Model valid-time or event-time history so analysts can reconstruct state as it existed at a specified historical instant.
Explanation
Correct Answer
C:Use supported liquid clustering on a Delta table to adapt data layout to frequently filtered columns without manually managing fixed partitions. This implementation meets the requirement because Liquid clustering reorganizes file layout based on chosen keys; it should be selected with support constraints rather than mixed casually with conflicting layout methods. The relevant preflight is: Review table characteristics, query filter columns, clustering eligibility and optimization schedule.
Incorrect Answers
A:Choose limited sensible partition columns for large filtered datasets while avoiding extreme high-cardinality partition fragmentation. This change targets Partition pruning and small-file risk, where Partitioning can reduce scan work for common filters but excessive partitions create costly small files and metadata overhead. It does not solve the specific Liquid clustering data layout requirement; that instead calls for: Use supported liquid clustering on a Delta table to adapt data layout to frequently filtered columns without manually managing fixed partitions.
B:Ingest supported Azure Event Hubs streams through an appropriate Spark connector with checkpoint and offset management. This change targets Azure Event Hubs ingestion, where Event Hubs delivers partitioned event streams; a connector and consumer progress management are required for a reliable ingest. It does not solve the specific Liquid clustering data layout requirement; that instead calls for: Use supported liquid clustering on a Delta table to adapt data layout to frequently filtered columns without manually managing fixed partitions.
D:Model valid-time or event-time history so analysts can reconstruct state as it existed at a specified historical instant. This change targets Temporal as-of query model, where Temporal modeling distinguishes when facts were true from when they arrived; time travel to a file snapshot is not automatically a domain-level history design. It does not solve the specific Liquid clustering data layout requirement; that instead calls for: Use supported liquid clustering on a Delta table to adapt data layout to frequently filtered columns without manually managing fixed partitions.