Microsoft DP-750 Practice Test 41
Question 400
A multistage daily job fails on its final reporting task after its three expensive source ingests succeeded. 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.
- A release can be traced to an reviewed commit and recovered without copying code from a live notebook.
- The repaired run completes missing dependencies without rerunning all successful tasks unnecessarily or duplicating prior output.
- The job runs at the intended business time and does not inadvertently overlap protected maintenance windows.
Explanation
Correct Answer
C:The repaired run completes missing dependencies without rerunning all successful tasks unnecessarily or duplicating prior output. Job repair reruns failed portions and respects task dependencies; it does not make writes idempotent by itself.
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 Repairing failed job runs scenario, verify: The repaired run completes missing dependencies without rerunning all successful tasks unnecessarily or duplicating prior output.
B:A release can be traced to an reviewed commit and recovered without copying code from a live notebook. This would validate Git-backed notebook source control in another workload; it does not establish success of the requirement here. For this Repairing failed job runs scenario, verify: The repaired run completes missing dependencies without rerunning all successful tasks unnecessarily or duplicating prior output.
D:The job runs at the intended business time and does not inadvertently overlap protected maintenance windows. This would validate Time-based job scheduling in another workload; it does not establish success of the requirement here. For this Repairing failed job runs scenario, verify: The repaired run completes missing dependencies without rerunning all successful tasks unnecessarily or duplicating prior output.
Question 401
A regulated feed must stop publication when customer_id is null rather than silently dropping high-risk records. Which implementation is MOST appropriate for this requirement?
- Profile counts, null frequencies, min/max, distinct values and representative distributions before selecting transformations.
- Choose and test a supported schema evolution mode for incoming files with added or changed fields rather than silently accepting arbitrary types.
- Attach supported Lakeflow Spark Declarative Pipelines expectations with warning, drop or fail behavior appropriate to data quality policy.
- Use data types and explicit casts matched to source semantics, preserving required decimals and rejecting unsafe conversions.
Explanation
Correct Answer
C:Attach supported Lakeflow Spark Declarative Pipelines expectations with warning, drop or fail behavior appropriate to data quality policy. This implementation meets the requirement because Pipeline expectations enforce declarative row-quality checks; passing a schema does not prove values satisfy business constraints. The relevant preflight is: Inspect invalid row examples, expectation definitions, pipeline event logs and required downstream completeness.
Incorrect Answers
A:Profile counts, null frequencies, min/max, distinct values and representative distributions before selecting transformations. This change targets Data profiling and skew detection, where Profiling reveals source quality and distributions; applying casting or deduplication without evidence can hide data defects. It does not solve the specific Lakeflow expectations and data quality actions requirement; that instead calls for: Attach supported Lakeflow Spark Declarative Pipelines expectations with warning, drop or fail behavior appropriate to data quality policy.
B:Choose and test a supported schema evolution mode for incoming files with added or changed fields rather than silently accepting arbitrary types. This change targets Auto Loader schema evolution policy, where Schema evolution controls changing file structure; a checkpoint alone does not guarantee arbitrary incompatible type changes are safe. It does not solve the specific Lakeflow expectations and data quality actions requirement; that instead calls for: Attach supported Lakeflow Spark Declarative Pipelines expectations with warning, drop or fail behavior appropriate to data quality policy.
D:Use data types and explicit casts matched to source semantics, preserving required decimals and rejecting unsafe conversions. This change targets Data type cast and numeric precision, where A suitable schema preserves meaning; floating-point approximation and unvalidated casts can alter financial or timestamp calculations. It does not solve the specific Lakeflow expectations and data quality actions requirement; that instead calls for: Attach supported Lakeflow Spark Declarative Pipelines expectations with warning, drop or fail behavior appropriate to data quality policy.
Question 402
A finance group needs lower latency for repeated Delta SQL scans but must verify that its transformations are Photon compatible. Which implementation is MOST appropriate for this requirement?
- Choose a managed or external Unity Catalog table based on who owns the underlying storage lifecycle and external access requirements.
- Set supported autoscaling minimum and maximum worker bounds using measured load and required completion times.
- Evaluate Photon-enabled supported compute for eligible SQL and DataFrame workloads with representative performance measurements.
- Pin an appropriate supported Databricks Runtime and compatible libraries, testing a new version before production promotion.
Explanation
Correct Answer
C:Evaluate Photon-enabled supported compute for eligible SQL and DataFrame workloads with representative performance measurements. This implementation meets the requirement because Photon accelerates supported vectorized SQL and DataFrame operations; it is not an automatic speedup for every Python UDF or unsupported code path. The relevant preflight is: Compare task duration, execution plans, runtime compatibility, Photon setting and price per completed workload.
Incorrect Answers
A:Choose a managed or external Unity Catalog table based on who owns the underlying storage lifecycle and external access requirements. This change targets Managed versus external table lifecycle, where A managed table has platform-governed storage lifecycle while an external table refers to data at an independently managed storage location. It does not solve the specific Photon SQL acceleration requirement; that instead calls for: Evaluate Photon-enabled supported compute for eligible SQL and DataFrame workloads with representative performance measurements.
B:Set supported autoscaling minimum and maximum worker bounds using measured load and required completion times. This change targets Compute autoscaling, where Autoscaling responds to changing compute demand but does not fix skewed keys, broken queries or unbounded costs by itself. It does not solve the specific Photon SQL acceleration requirement; that instead calls for: Evaluate Photon-enabled supported compute for eligible SQL and DataFrame workloads with representative performance measurements.
D:Pin an appropriate supported Databricks Runtime and compatible libraries, testing a new version before production promotion. This change targets Runtime and library compatibility, where Runtime and library versions determine supported APIs and dependencies; installing an arbitrary wheel cannot repair an incompatible execution environment. It does not solve the specific Photon SQL acceleration requirement; that instead calls for: Evaluate Photon-enabled supported compute for eligible SQL and DataFrame workloads with representative performance measurements.
Question 403
A retail reporting group must expose daily revenue dashboards to analysts who only submit SQL queries and never run Python notebooks. Before making changes, which evidence should the engineer examine FIRST to assess the requirement?
- Inspect query clients, SQL concurrency, warehouse permissions and query history to identify the supported serving compute.
- Check supported task types, serverless availability, workload dependencies and run details before changing a job's compute.
- Compare task duration, execution plans, runtime compatibility, Photon setting and price per completed workload.
- Inspect whether the input is a managed data table or files such as images and configuration artifacts and verify volume permissions.
Explanation
Correct Answer
A:Inspect query clients, SQL concurrency, warehouse permissions and query history to identify the supported serving compute. SQL warehouses serve SQL analytics workloads; they are not a substitute for arbitrary Spark driver code or a general-purpose notebook environment. The intended corrective action is: Use a Databricks SQL warehouse for governed interactive SQL BI workloads instead of attaching dashboards to an arbitrary notebook cluster.
Incorrect Answers
B:Check supported task types, serverless availability, workload dependencies and run details before changing a job's compute. This checks Serverless compute for supported tasks, not the relevant SQL warehouse for analytics queries prerequisite. SQL warehouses serve SQL analytics workloads; they are not a substitute for arbitrary Spark driver code or a general-purpose notebook environment. For the described case, the discriminating evidence is: Inspect query clients, SQL concurrency, warehouse permissions and query history to identify the supported serving compute.
C:Compare task duration, execution plans, runtime compatibility, Photon setting and price per completed workload. This checks Photon SQL acceleration, not the relevant SQL warehouse for analytics queries prerequisite. SQL warehouses serve SQL analytics workloads; they are not a substitute for arbitrary Spark driver code or a general-purpose notebook environment. For the described case, the discriminating evidence is: Inspect query clients, SQL concurrency, warehouse permissions and query history to identify the supported serving compute.
D:Inspect whether the input is a managed data table or files such as images and configuration artifacts and verify volume permissions. This checks Unity Catalog volumes for files, not the relevant SQL warehouse for analytics queries prerequisite. SQL warehouses serve SQL analytics workloads; they are not a substitute for arbitrary Spark driver code or a general-purpose notebook environment. For the described case, the discriminating evidence is: Inspect query clients, SQL concurrency, warehouse permissions and query history to identify the supported serving compute.
Question 404
A location aggregation stalls on one large metro area although other partitions finish quickly. Which implementation is MOST appropriate for this requirement?
- Compose a Lakeflow Job with separately configured tasks and explicit dependencies for reusable production workflows.
- Apply supported Delta OPTIMIZE maintenance to compact fragmented files and evaluate optional data layout separately.
- Run Delta VACUUM only after confirming retention policy, time travel requirements and all active readers or writers.
- Use Spark UI task-level metrics and a plan to detect hot join keys and remediate skew safely.
Explanation
Correct Answer
D:Use Spark UI task-level metrics and a plan to detect hot join keys and remediate skew safely. This implementation meets the requirement because Skew occurs when keys distribute unevenly; adding workers alone may leave the dominant hot partition unchanged. The relevant preflight is: Inspect stage task duration, partition sizes, key frequencies, shuffle reads and skew handling options.
Incorrect Answers
A:Compose a Lakeflow Job with separately configured tasks and explicit dependencies for reusable production workflows. This change targets Lakeflow multi-task Jobs DAG, where A multi-task job coordinates heterogeneous processing stages with explicit scheduling and resource selection rather than hiding everything inside one notebook. It does not solve the specific Spark skewed join diagnosis requirement; that instead calls for: Use Spark UI task-level metrics and a plan to detect hot join keys and remediate skew safely.
B:Apply supported Delta OPTIMIZE maintenance to compact fragmented files and evaluate optional data layout separately. This change targets Delta OPTIMIZE file compaction, where OPTIMIZE reorganizes physical Delta files for execution efficiency; it is not a substitute for data cleansing or access policies. It does not solve the specific Spark skewed join diagnosis requirement; that instead calls for: Use Spark UI task-level metrics and a plan to detect hot join keys and remediate skew safely.
C:Run Delta VACUUM only after confirming retention policy, time travel requirements and all active readers or writers. This change targets Delta VACUUM retention safety, where VACUUM deletes eligible old physical files; it can make historical versions unreadable and must respect configured safety periods. It does not solve the specific Spark skewed join diagnosis requirement; that instead calls for: Use Spark UI task-level metrics and a plan to detect hot join keys and remediate skew safely.
Question 405
A reporting group needs SELECT on one governed dataset without becoming owner of the whole metastore. Which TWO actions together provide the most appropriate implementation and a necessary verification check? Select TWO.
- Expired information is removed under approved policy without deleting records under an applicable hold or required recovery period.
- Inspect table filter attachment, identity context, SQL function behavior and test queries for separate roles.
- Inspect principal membership and effective privileges at catalog, schema and table scopes.
- Run unattended Databricks operations using a scoped service principal rather than a departing employee's personal identity.
- Grant only required Unity Catalog privileges on the relevant securable objects to the appropriate group or service principal.
Explanation
Correct Answers
C:Inspect principal membership and effective privileges at catalog, schema and table scopes. Unity Catalog permissions determine access to data objects independently of whether a principal can start compute. The intended corrective action is: Grant only required Unity Catalog privileges on the relevant securable objects to the appropriate group or service principal.
E:Grant only required Unity Catalog privileges on the relevant securable objects to the appropriate group or service principal. This implementation meets the requirement because Unity Catalog permissions determine access to data objects independently of whether a principal can start compute. The relevant preflight is: Inspect principal membership and effective privileges at catalog, schema and table scopes.
Incorrect Answers
A:Expired information is removed under approved policy without deleting records under an applicable hold or required recovery period. This step belongs to Retention and deletion policy and does not provide one of the two required checks here. Unity Catalog permissions determine access to data objects independently of whether a principal can start compute.
B:Inspect table filter attachment, identity context, SQL function behavior and test queries for separate roles. This step belongs to Table row filters and does not provide one of the two required checks here. Unity Catalog permissions determine access to data objects independently of whether a principal can start compute.
D:Run unattended Databricks operations using a scoped service principal rather than a departing employee's personal identity. This step belongs to Service principal for automated data jobs and does not provide one of the two required checks here. Unity Catalog permissions determine access to data objects independently of whether a principal can start compute.
Question 406
A price-correction feed arrives late for one week and the engineer must recompute that week without resetting the full warehouse. Which TWO actions together provide the most appropriate implementation and a necessary verification check? Select TWO.
- Design bounded date-parameter backfill runs with reproducible inputs, workload quotas and safe target write semantics.
- Inspect missed partitions, retention limits, date parameter handling and deduplication or MERGE keys.
- Create a Lakeflow Job schedule in the intended time zone with dependency-aware processing windows and availability requirements.
- The chosen implementation expresses dependencies and data quality correctly and recovers after controlled restart.
- Inspect notification settings, task failure records, delivery channel configuration and contact scope.
Explanation
Correct Answers
A:Design bounded date-parameter backfill runs with reproducible inputs, workload quotas and safe target write semantics. This implementation meets the requirement because Backfills replay defined historical windows and must account for late data and idempotency rather than simply repeating the latest run. The relevant preflight is: Inspect missed partitions, retention limits, date parameter handling and deduplication or MERGE keys.
B:Inspect missed partitions, retention limits, date parameter handling and deduplication or MERGE keys. Backfills replay defined historical windows and must account for late data and idempotency rather than simply repeating the latest run. The intended corrective action is: Design bounded date-parameter backfill runs with reproducible inputs, workload quotas and safe target write semantics.
Incorrect Answers
C:Create a Lakeflow Job schedule in the intended time zone with dependency-aware processing windows and availability requirements. This step belongs to Time-based job scheduling and does not provide one of the two required checks here. Backfills replay defined historical windows and must account for late data and idempotency rather than simply repeating the latest run.
D:The chosen implementation expresses dependencies and data quality correctly and recovers after controlled restart. This step belongs to Notebook versus declarative pipeline and does not provide one of the two required checks here. Backfills replay defined historical windows and must account for late data and idempotency rather than simply repeating the latest run.
E:Inspect notification settings, task failure records, delivery channel configuration and contact scope. This step belongs to Job failure notifications and does not provide one of the two required checks here. Backfills replay defined historical windows and must account for late data and idempotency rather than simply repeating the latest run.
Question 407
An ingestion feed retries source pages so identical transactions appear twice with slightly different arrival timestamps. Which technical principle BEST explains the correct design decision?
- Joins combine related columns by matching keys, while set operations combine or compare whole compatible row sets.
- Pipeline expectations enforce declarative row-quality checks; passing a schema does not prove values satisfy business constraints.
- Window ranking can select an authoritative record per key; arbitrary dropDuplicates on ambiguous updates may preserve the wrong version.
- Profiling reveals source quality and distributions; applying casting or deduplication without evidence can hide data defects.
Explanation
Correct Answer
C:Window ranking can select an authoritative record per key; arbitrary dropDuplicates on ambiguous updates may preserve the wrong version. A sound implementation is: Deduplicate by a documented business key and deterministic latest-event ordering, resolving ties explicitly.
Incorrect Answers
A:Joins combine related columns by matching keys, while set operations combine or compare whole compatible row sets. This statement describes SQL joins versus set operators rather than the situation at hand. The Deduplication with window ranking design instead follows: Window ranking can select an authoritative record per key; arbitrary dropDuplicates on ambiguous updates may preserve the wrong version.
B:Pipeline expectations enforce declarative row-quality checks; passing a schema does not prove values satisfy business constraints. This statement describes Lakeflow expectations and data quality actions rather than the situation at hand. The Deduplication with window ranking design instead follows: Window ranking can select an authoritative record per key; arbitrary dropDuplicates on ambiguous updates may preserve the wrong version.
D:Profiling reveals source quality and distributions; applying casting or deduplication without evidence can hide data defects. This statement describes Data profiling and skew detection rather than the situation at hand. The Deduplication with window ranking design instead follows: Window ranking can select an authoritative record per key; arbitrary dropDuplicates on ambiguous updates may preserve the wrong version.
Question 408
A team wrongly expects a view definition to become a fully materialized dataset without creating a table. Which result BEST verifies that the proposed solution meets the stated requirement?
- One authoritative target row reflects the latest valid change for each key without duplicate match failures.
- Expected late arrivals within the tolerated window contribute correctly while obsolete state is bounded as designed.
- Test records retain expected currency and timestamp values and invalid inputs are quarantined rather than silently corrupted.
- The new table contains the expected transformed rows and is queryable under the intended three-part name.
Explanation
Correct Answer
D:The new table contains the expected transformed rows and is queryable under the intended three-part name. CTAS materializes a query result into a table, whereas CREATE VIEW preserves a query definition instead of copying its output.
Incorrect Answers
A:One authoritative target row reflects the latest valid change for each key without duplicate match failures. This would validate MERGE upserts and change data capture in another workload; it does not establish success of the requirement here. For this CREATE TABLE AS SELECT materialization scenario, verify: The new table contains the expected transformed rows and is queryable under the intended three-part name.
B:Expected late arrivals within the tolerated window contribute correctly while obsolete state is bounded as designed. This would validate Streaming watermarks for late events in another workload; it does not establish success of the requirement here. For this CREATE TABLE AS SELECT materialization scenario, verify: The new table contains the expected transformed rows and is queryable under the intended three-part name.
C: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 CREATE TABLE AS SELECT materialization scenario, verify: The new table contains the expected transformed rows and is queryable under the intended three-part name.
Question 409
A streaming Delta table accumulates hundreds of thousands of tiny files and dashboard planning time grows. Which technical principle BEST explains the correct design decision?
- OPTIMIZE reorganizes physical Delta files for execution efficiency; it is not a substitute for data cleansing or access policies.
- Large shuffles and insufficient execution memory can force disk spill; caching unrelated tables is not a universal remedy.
- Caching can accelerate repeated reads but indiscriminate persistence consumes memory and can become stale.
- Declarative Automation Bundles replace manual resource recreation with project configuration stored alongside source and tests.
Explanation
Correct Answer
A:OPTIMIZE reorganizes physical Delta files for execution efficiency; it is not a substitute for data cleansing or access policies. A sound implementation is: Apply supported Delta OPTIMIZE maintenance to compact fragmented files and evaluate optional data layout separately.
Incorrect Answers
B:Large shuffles and insufficient execution memory can force disk spill; caching unrelated tables is not a universal remedy. This statement describes Shuffle spill and memory tuning rather than the situation at hand. The Delta OPTIMIZE file compaction design instead follows: OPTIMIZE reorganizes physical Delta files for execution efficiency; it is not a substitute for data cleansing or access policies.
C:Caching can accelerate repeated reads but indiscriminate persistence consumes memory and can become stale. This statement describes Caching useful intermediate results rather than the situation at hand. The Delta OPTIMIZE file compaction design instead follows: OPTIMIZE reorganizes physical Delta files for execution efficiency; it is not a substitute for data cleansing or access policies.
D: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 Delta OPTIMIZE file compaction design instead follows: OPTIMIZE reorganizes physical Delta files for execution efficiency; it is not a substitute for data cleansing or access policies.
Question 410
A marketing lookup needs only each store's current manager and intentionally discards earlier assignments. Which implementation is MOST appropriate for this requirement?
- Use an SCD Type 1 update when the business requires only the newest attribute value rather than prior versions.
- Choose a supported SQL join or UNION/INTERSECT/EXCEPT operation based on whether columns or row sets must be combined.
- Separate landing, validated and business-ready data layers with explicit transformation contracts and lineage.
- Implement SCD Type 2 records with effective dating or current flags when historical attribute changes must remain queryable.
Explanation
Correct Answer
A:Use an SCD Type 1 update when the business requires only the newest attribute value rather than prior versions. This implementation meets the requirement because SCD Type 1 overwrites prior attribute state; it does not preserve a timeline of superseded values. The relevant preflight is: Inspect the natural key, effective update feed, uniqueness conditions and stated history requirements.
Incorrect Answers
B:Choose a supported SQL join or UNION/INTERSECT/EXCEPT operation based on whether columns or row sets must be combined. This change targets SQL joins versus set operators, where Joins combine related columns by matching keys, while set operations combine or compare whole compatible row sets. It does not solve the specific Slowly changing dimension Type 1 requirement; that instead calls for: Use an SCD Type 1 update when the business requires only the newest attribute value rather than prior versions.
C:Separate landing, validated and business-ready data layers with explicit transformation contracts and lineage. This change targets Medallion bronze silver gold modeling, where A medallion layout separates source preservation, quality standardization and consumption-ready aggregates rather than duplicating one uncontrolled table. It does not solve the specific Slowly changing dimension Type 1 requirement; that instead calls for: Use an SCD Type 1 update when the business requires only the newest attribute value rather than prior versions.
D:Implement SCD Type 2 records with effective dating or current flags when historical attribute changes must remain queryable. This change targets Slowly changing dimension Type 2, where SCD Type 2 preserves prior attribute states in separate time-bounded rows, unlike overwrite-only Type 1 handling. It does not solve the specific Slowly changing dimension Type 1 requirement; that instead calls for: Use an SCD Type 1 update when the business requires only the newest attribute value rather than prior versions.