Microsoft DP-750 Practice Test 8
Question 70
A platform team introduces a new Spark feature while legacy code relies on a library validated only on an older runtime. Which result BEST verifies that the proposed solution meets the stated requirement?
- The automated pipeline provisions the intended compute, completes successfully and releases it when the run ends.
- Dropping the test table has the documented data-lifecycle effect and downstream external consumers retain any data they are meant to manage.
- A clean cluster or job environment imports the required packages and runs the regression tests successfully.
- The eligible job executes on serverless compute with recorded consumption and correct data results.
Explanation
Correct Answer
C:A clean cluster or job environment imports the required packages and runs the regression tests successfully. Runtime and library versions determine supported APIs and dependencies; installing an arbitrary wheel cannot repair an incompatible execution environment.
Incorrect Answers
A:The automated pipeline provisions the intended compute, completes successfully and releases it when the run ends. This would validate Dedicated job compute in another workload; it does not establish success of the requirement here. For this Runtime and library compatibility scenario, verify: A clean cluster or job environment imports the required packages and runs the regression tests successfully.
B:Dropping the test table has the documented data-lifecycle effect and downstream external consumers retain any data they are meant to manage. This would validate Managed versus external table lifecycle in another workload; it does not establish success of the requirement here. For this Runtime and library compatibility scenario, verify: A clean cluster or job environment imports the required packages and runs the regression tests successfully.
D:The eligible job executes on serverless compute with recorded consumption and correct data results. This would validate Serverless compute for supported tasks in another workload; it does not establish success of the requirement here. For this Runtime and library compatibility scenario, verify: A clean cluster or job environment imports the required packages and runs the regression tests successfully.
Question 71
A storage administrator wants to delete old Delta files immediately to free space, but analysts need last week's snapshots. Which implementation is MOST appropriate for this requirement?
- Design bounded date-parameter backfill runs with reproducible inputs, workload quotas and safe target write semantics.
- Compare job compute consumption, task duration and resource configuration against SLAs to identify waste and sizing opportunities.
- Connect supported Databricks diagnostic signals to Azure Monitor or Log Analytics and configure actionable alerts for important job failures.
- Run Delta VACUUM only after confirming retention policy, time travel requirements and all active readers or writers.
Explanation
Correct Answer
D:Run Delta VACUUM only after confirming retention policy, time travel requirements and all active readers or writers. This implementation meets the requirement because VACUUM deletes eligible old physical files; it can make historical versions unreadable and must respect configured safety periods. The relevant preflight is: Inspect candidate removed files, minimum retention settings, compliance holds and streaming checkpoint dependencies.
Incorrect Answers
A:Design bounded date-parameter backfill runs with reproducible inputs, workload quotas and safe target write semantics. This change targets Historical backfill execution, where Backfills replay defined historical windows and must account for late data and idempotency rather than simply repeating the latest run. It does not solve the specific Delta VACUUM retention safety requirement; that instead calls for: Run Delta VACUUM only after confirming retention policy, time travel requirements and all active readers or writers.
B:Compare job compute consumption, task duration and resource configuration against SLAs to identify waste and sizing opportunities. This change targets Compute consumption and cost monitoring, where Compute optimization measures total work and billed consumption, not simply minimizing worker count regardless of deadlines. It does not solve the specific Delta VACUUM retention safety requirement; that instead calls for: Run Delta VACUUM only after confirming retention policy, time travel requirements and all active readers or writers.
C:Connect supported Databricks diagnostic signals to Azure Monitor or Log Analytics and configure actionable alerts for important job failures. This change targets Azure Monitor logs and alerts, where Central monitoring and alerts improve detection and triage; they do not automatically correct job data semantics. It does not solve the specific Delta VACUUM retention safety requirement; that instead calls for: Run Delta VACUUM only after confirming retention policy, time travel requirements and all active readers or writers.
Question 72
A billing extract appends half its rows then times out, and a retry must not double charge customers. Which TWO actions together provide the most appropriate implementation and a necessary verification check? Select TWO.
- A release can be traced to an reviewed commit and recovered without copying code from a live notebook.
- Configure supported condition tasks or task values to branch on documented upstream outcomes rather than running every branch.
- Inspect configured parameter defaults, task references, input validation and values recorded in run details.
- Apply bounded job retries only after making output writes idempotent, so transient failure recovery cannot double count results.
- Inspect failed run history, partial writes, retry count, target keys and overwrite or MERGE behavior.
Explanation
Correct Answers
D:Apply bounded job retries only after making output writes idempotent, so transient failure recovery cannot double count results. This implementation meets the requirement because Retries repeat failed task work; their safety depends on idempotent business logic rather than the retry checkbox alone. The relevant preflight is: Inspect failed run history, partial writes, retry count, target keys and overwrite or MERGE behavior.
E:Inspect failed run history, partial writes, retry count, target keys and overwrite or MERGE behavior. Retries repeat failed task work; their safety depends on idempotent business logic rather than the retry checkbox alone. The intended corrective action is: Apply bounded job retries only after making output writes idempotent, so transient failure recovery cannot double count results.
Incorrect Answers
A:A release can be traced to an reviewed commit and recovered without copying code from a live notebook. This step belongs to Git-backed notebook source control and does not provide one of the two required checks here. Retries repeat failed task work; their safety depends on idempotent business logic rather than the retry checkbox alone.
B:Configure supported condition tasks or task values to branch on documented upstream outcomes rather than running every branch. This step belongs to Conditional job task branches and does not provide one of the two required checks here. Retries repeat failed task work; their safety depends on idempotent business logic rather than the retry checkbox alone.
C:Inspect configured parameter defaults, task references, input validation and values recorded in run details. This step belongs to Job parameters and task values and does not provide one of the two required checks here. Retries repeat failed task work; their safety depends on idempotent business logic rather than the retry checkbox alone.
Question 73
A production ETL process caches a huge table used only once and then suffers executor memory eviction. Which result BEST verifies that the proposed solution meets the stated requirement?
- Repeated queries improve measurably without stale data or unacceptable executor memory pressure.
- A test failure is discoverable in monitoring logs and the assigned alert fires with a traceable job identifier.
- A controlled restart returns the ongoing processing workload to service without silently starting duplicate independent consumers.
- The revised job has a more balanced task distribution and avoids one executor dominating the join stage.
Explanation
Correct Answer
A:Repeated queries improve measurably without stale data or unacceptable executor memory pressure. Caching can accelerate repeated reads but indiscriminate persistence consumes memory and can become stale.
Incorrect Answers
B:A test failure is discoverable in monitoring logs and the assigned alert fires with a traceable job identifier. This would validate Azure Monitor logs and alerts in another workload; it does not establish success of the requirement here. For this Caching useful intermediate results scenario, verify: Repeated queries improve measurably without stale data or unacceptable executor memory pressure.
C:A controlled restart returns the ongoing processing workload to service without silently starting duplicate independent consumers. This would validate Continuous job execution in another workload; it does not establish success of the requirement here. For this Caching useful intermediate results scenario, verify: Repeated queries improve measurably without stale data or unacceptable executor memory pressure.
D:The revised job has a more balanced task distribution and avoids one executor dominating the join stage. This would validate Spark skewed join diagnosis in another workload; it does not establish success of the requirement here. For this Caching useful intermediate results scenario, verify: Repeated queries improve measurably without stale data or unacceptable executor memory pressure.
Question 74
An engineering team manually builds jobs in three Databricks workspaces and settings drift between environments. Which implementation is MOST appropriate for this requirement?
- Resolve concurrent pipeline changes through reviewed pull requests, conflict checks and tested integration instead of manually copying fragments into production.
- Define Databricks jobs and pipelines in source-controlled Declarative Automation Bundles with environment-specific targets.
- Store production notebooks and source files in a controlled Git repository with reviews instead of editing released logic directly.
- Use a supported Lakeflow Job repair to rerun failed task paths after correcting the underlying issue, preserving successful completed work.
Explanation
Correct Answer
B:Define Databricks jobs and pipelines in source-controlled Declarative Automation Bundles with environment-specific targets. This implementation meets the requirement because Declarative Automation Bundles replace manual resource recreation with project configuration stored alongside source and tests. The relevant preflight is: Inspect bundle YAML resources, target overrides, included source files and expected deploy differences.
Incorrect Answers
A:Resolve concurrent pipeline changes through reviewed pull requests, conflict checks and tested integration instead of manually copying fragments into production. This change targets Pull requests and merge conflicts, where Branches and pull requests help coordinate conflicting edits; an unreviewed forced overwrite can silently discard another engineer's work. It does not solve the specific Declarative Automation Bundles definitions requirement; that instead calls for: Define Databricks jobs and pipelines in source-controlled Declarative Automation Bundles with environment-specific targets.
C:Store production notebooks and source files in a controlled Git repository with reviews instead of editing released logic directly. This change targets Git-backed notebook source control, where Version control tracks deliberate source changes and supports reproducible releases; workspace edit history alone does not replace a reviewed Git workflow. It does not solve the specific Declarative Automation Bundles definitions requirement; that instead calls for: Define Databricks jobs and pipelines in source-controlled Declarative Automation Bundles with environment-specific targets.
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 Declarative Automation Bundles definitions requirement; that instead calls for: Define Databricks jobs and pipelines in source-controlled Declarative Automation Bundles with environment-specific targets.
Question 75
A public university is migrating BI reports from a shared developer cluster that stops when the developer logs out. Which TWO actions together provide the most appropriate implementation and a necessary verification check? Select TWO.
- Pin an appropriate supported Databricks Runtime and compatible libraries, testing a new version before production promotion.
- Use a Databricks SQL warehouse for governed interactive SQL BI workloads instead of attaching dashboards to an arbitrary notebook cluster.
- Inspect query clients, SQL concurrency, warehouse permissions and query history to identify the supported serving compute.
- Consumers receive results with the intended refresh semantics and the query cost aligns with the design.
- Inspect cluster idle duration, current termination setting, active jobs and user session patterns before shortening the timeout.
Explanation
Correct Answers
B:Use a Databricks SQL warehouse for governed interactive SQL BI workloads instead of attaching dashboards to an arbitrary notebook cluster. This implementation meets the requirement because SQL warehouses serve SQL analytics workloads; they are not a substitute for arbitrary Spark driver code or a general-purpose notebook environment. The relevant preflight is: Inspect query clients, SQL concurrency, warehouse permissions and query history to identify the supported serving compute.
C: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
A:Pin an appropriate supported Databricks Runtime and compatible libraries, testing a new version before production promotion. This step belongs to Runtime and library compatibility and does not provide one of the two required checks here. SQL warehouses serve SQL analytics workloads; they are not a substitute for arbitrary Spark driver code or a general-purpose notebook environment.
D:Consumers receive results with the intended refresh semantics and the query cost aligns with the design. This step belongs to Views and materialized views and does not provide one of the two required checks here. SQL warehouses serve SQL analytics workloads; they are not a substitute for arbitrary Spark driver code or a general-purpose notebook environment.
E:Inspect cluster idle duration, current termination setting, active jobs and user session patterns before shortening the timeout. This step belongs to Idle compute auto-termination and does not provide one of the two required checks here. SQL warehouses serve SQL analytics workloads; they are not a substitute for arbitrary Spark driver code or a general-purpose notebook environment.
Question 76
A fraud-monitoring service must refresh new transaction events within a few minutes of arrival. Which technical principle BEST explains the correct design decision?
- Structured Streaming checkpoint state is needed for reliable progress and state recovery; using a new path can restart ingestion.
- Liquid clustering reorganizes file layout based on chosen keys; it should be selected with support constraints rather than mixed casually with conflicting layout methods.
- 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.
- Batch suits bounded periodic work, whereas streaming is appropriate when low-latency incremental processing is required and supported.
Explanation
Correct Answer
D:Batch suits bounded periodic work, whereas streaming is appropriate when low-latency incremental processing is required and supported. A sound implementation is: Choose a scheduled batch or streaming approach based on source arrival patterns, freshness targets and operational cost.
Incorrect Answers
A:Structured Streaming checkpoint state is needed for reliable progress and state recovery; using a new path can restart ingestion. This statement describes Structured Streaming checkpoint recovery rather than the situation at hand. The Batch versus streaming ingestion choice design instead follows: Batch suits bounded periodic work, whereas streaming is appropriate when low-latency incremental processing is required and supported.
B:Liquid clustering reorganizes file layout based on chosen keys; it should be selected with support constraints rather than mixed casually with conflicting layout methods. This statement describes Liquid clustering data layout rather than the situation at hand. The Batch versus streaming ingestion choice design instead follows: Batch suits bounded periodic work, whereas streaming is appropriate when low-latency incremental processing is required and supported.
C: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. This statement describes Temporal as-of query model rather than the situation at hand. The Batch versus streaming ingestion choice design instead follows: Batch suits bounded periodic work, whereas streaming is appropriate when low-latency incremental processing is required and supported.
Question 77
A document enrichment pipeline must store source PDF files and model configuration artifacts under a governed location. Which implementation is MOST appropriate for this requirement?
- Create appropriately scoped Unity Catalog catalogs for distinct data ownership or environment boundaries.
- Provide reviewed dataset descriptions and Genie instructions for governed natural-language exploration rather than assuming it infers business definitions automatically.
- Grant the smallest compute permission required to run the intended workload without providing cluster administration rights.
- Create and permission a Unity Catalog volume for non-tabular files needed by governed pipelines.
Explanation
Correct Answer
D:Create and permission a Unity Catalog volume for non-tabular files needed by governed pipelines. This implementation meets the requirement because Unity Catalog volumes govern file collections and paths; they are not a replacement for registering structured tables to query by table name. The relevant preflight is: Inspect whether the input is a managed data table or files such as images and configuration artifacts and verify volume permissions.
Incorrect Answers
A:Create appropriately scoped Unity Catalog catalogs for distinct data ownership or environment boundaries. This change targets Catalog isolation for business units, where Catalogs are top-level organizational and governance boundaries in Unity Catalog, not physical Spark clusters or copies of a workspace. It does not solve the specific Unity Catalog volumes for files requirement; that instead calls for: Create and permission a Unity Catalog volume for non-tabular files needed by governed pipelines.
B:Provide reviewed dataset descriptions and Genie instructions for governed natural-language exploration rather than assuming it infers business definitions automatically. This change targets AI BI Genie semantic instructions, where Genie relies on governed data, examples and semantic instructions; conversational discovery does not override Unity Catalog data permissions. It does not solve the specific Unity Catalog volumes for files requirement; that instead calls for: Create and permission a Unity Catalog volume for non-tabular files needed by governed pipelines.
C:Grant the smallest compute permission required to run the intended workload without providing cluster administration rights. This change targets Compute access permissions, where Compute permissions control use and management of compute; Unity Catalog object permissions independently govern the data read by that compute. It does not solve the specific Unity Catalog volumes for files requirement; that instead calls for: Create and permission a Unity Catalog volume for non-tabular files needed by governed pipelines.
Question 78
A support analyst needs customer churn statistics but must not view unmasked personal phone numbers. Before making changes, which evidence should the engineer examine FIRST to assess the requirement?
- Inspect Azure managed identity association, supported connector, resource permissions and sign-in errors.
- Review share membership, recipient authentication mode, data sensitivity and recipient entitlements.
- Inspect principal membership and effective privileges at catalog, schema and table scopes.
- Inspect mask function, column data type, user entitlements and returned values for test principals.
Explanation
Correct Answer
D:Inspect mask function, column data type, user entitlements and returned values for test principals. Column masks restrict visible values of a field at query time; masking does not mean dropping entire rows from a dataset. The intended corrective action is: Apply a supported column mask so authorized roles see actual sensitive values and other roles see masked equivalents.
Incorrect Answers
A:Inspect Azure managed identity association, supported connector, resource permissions and sign-in errors. This checks Managed identities for Azure resources, not the relevant Column masks prerequisite. Column masks restrict visible values of a field at query time; masking does not mean dropping entire rows from a dataset. For the described case, the discriminating evidence is: Inspect mask function, column data type, user entitlements and returned values for test principals.
B:Review share membership, recipient authentication mode, data sensitivity and recipient entitlements. This checks Delta Sharing restricted recipient, not the relevant Column masks prerequisite. Column masks restrict visible values of a field at query time; masking does not mean dropping entire rows from a dataset. For the described case, the discriminating evidence is: Inspect mask function, column data type, user entitlements and returned values for test principals.
C:Inspect principal membership and effective privileges at catalog, schema and table scopes. This checks Unity Catalog grants and least privilege, not the relevant Column masks prerequisite. Column masks restrict visible values of a field at query time; masking does not mean dropping entire rows from a dataset. For the described case, the discriminating evidence is: Inspect mask function, column data type, user entitlements and returned values for test principals.
Question 79
An ecommerce transformation runs in 8 minutes on busy days but consumes idle workers during quiet weekdays. Which implementation is MOST appropriate for this requirement?
- Configure supported connections and foreign catalogs for read access to external database sources without first copying every source table.
- Select supported serverless job compute for eligible scheduled workloads after checking workload and workspace prerequisites.
- 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.
Explanation
Correct Answer
C:Set supported autoscaling minimum and maximum worker bounds using measured load and required completion times. This implementation meets the requirement because Autoscaling responds to changing compute demand but does not fix skewed keys, broken queries or unbounded costs by itself. The relevant preflight is: Compare CPU use, executor demand, peak parallel tasks, shuffle pressure, worker counts and scaling events across representative runs.
Incorrect Answers
A:Configure supported connections and foreign catalogs for read access to external database sources without first copying every source table. This change targets Lakehouse Federation foreign catalogs, where Lakehouse Federation exposes remote data through governed foreign catalogs, whereas ingestion pipelines physically copy data into a lakehouse table. It does not solve the specific Compute autoscaling requirement; that instead calls for: Set supported autoscaling minimum and maximum worker bounds using measured load and required completion times.
B:Select supported serverless job compute for eligible scheduled workloads after checking workload and workspace prerequisites. This change targets Serverless compute for supported tasks, where Serverless removes most cluster provisioning management for supported tasks but does not make unsupported libraries or workloads automatically compatible. It does not solve the specific Compute autoscaling requirement; that instead calls for: Set supported autoscaling minimum and maximum worker bounds using measured load and required completion times.
D:Evaluate Photon-enabled supported compute for eligible SQL and DataFrame workloads with representative performance measurements. This change targets Photon SQL acceleration, where Photon accelerates supported vectorized SQL and DataFrame operations; it is not an automatic speedup for every Python UDF or unsupported code path. It does not solve the specific Compute autoscaling requirement; that instead calls for: Set supported autoscaling minimum and maximum worker bounds using measured load and required completion times.
Question 80
A weekly archival process was mistakenly deployed as continuous and keeps paid compute running between arrivals. Which TWO actions together provide the most appropriate implementation and a necessary verification check? Select TWO.
- 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.
- Inspect failed tasks, existing side effects, dependency graph, corrected task settings and run lineage.
- A representative rerun reduces unnecessary spill and finishes within the approved memory and cost budget.
- Inspect trigger type, workload streaming semantics, run state, restarting behavior and monitoring rules.
Explanation
Correct Answers
B: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.
E:Inspect trigger type, workload streaming semantics, run state, restarting behavior and monitoring rules. Continuous execution is suitable for always-on workloads; it has a different cost and lifecycle profile from a once-per-day batch job. The intended corrective action is: Use a supported continuous job trigger for a pipeline that must remain active, with restart and cost controls matching its service objective.
Incorrect Answers
A: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. Continuous execution is suitable for always-on workloads; it has a different cost and lifecycle profile from a once-per-day batch job.
C:Inspect failed tasks, existing side effects, dependency graph, corrected task settings and run lineage. This step belongs to Repairing failed job runs and does not provide one of the two required checks here. Continuous execution is suitable for always-on workloads; it has a different cost and lifecycle profile from a once-per-day batch job.
D:A representative rerun reduces unnecessary spill and finishes within the approved memory and cost budget. This step belongs to Shuffle spill and memory tuning and does not provide one of the two required checks here. Continuous execution is suitable for always-on workloads; it has a different cost and lifecycle profile from a once-per-day batch job.