Microsoft DP-750 Practice Test 7
Question 60
An ecommerce transformation runs in 8 minutes on busy days but consumes idle workers during quiet weekdays. Which TWO actions together provide the most appropriate implementation and a necessary verification check? Select TWO.
- Grant the smallest compute permission required to run the intended workload without providing cluster administration rights.
- Compare CPU use, executor demand, peak parallel tasks, shuffle pressure, worker counts and scaling events across representative runs.
- Set supported autoscaling minimum and maximum worker bounds using measured load and required completion times.
- Inspect current runtime version, Python packages, dependency conflicts and runtime-specific feature support in failed executions.
- A test set of natural-language questions returns the intended approved business definitions and respects user data entitlements.
Explanation
Correct Answers
B:Compare CPU use, executor demand, peak parallel tasks, shuffle pressure, worker counts and scaling events across representative runs. Autoscaling responds to changing compute demand but does not fix skewed keys, broken queries or unbounded costs by itself. The intended corrective action is: Set supported autoscaling minimum and maximum worker bounds using measured load and required completion times.
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:Grant the smallest compute permission required to run the intended workload without providing cluster administration rights. This step belongs to Compute access permissions and does not provide one of the two required checks here. Autoscaling responds to changing compute demand but does not fix skewed keys, broken queries or unbounded costs by itself.
D:Inspect current runtime version, Python packages, dependency conflicts and runtime-specific feature support in failed executions. This step belongs to Runtime and library compatibility and does not provide one of the two required checks here. Autoscaling responds to changing compute demand but does not fix skewed keys, broken queries or unbounded costs by itself.
E:A test set of natural-language questions returns the intended approved business definitions and respects user data entitlements. This step belongs to AI BI Genie semantic instructions and does not provide one of the two required checks here. Autoscaling responds to changing compute demand but does not fix skewed keys, broken queries or unbounded costs by itself.
Question 61
A billing extract appends half its rows then times out, and a retry must not double charge customers. Which implementation is MOST appropriate for this requirement?
- Configure supported condition tasks or task values to branch on documented upstream outcomes rather than running every branch.
- Apply bounded job retries only after making output writes idempotent, so transient failure recovery cannot double count results.
- Define the pipeline dependency graph so downstream transformations run only after required inputs have completed successfully.
- Cache only reused supported intermediate datasets when the expected benefit exceeds the memory and refresh cost.
Explanation
Correct Answer
B: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.
Incorrect Answers
A:Configure supported condition tasks or task values to branch on documented upstream outcomes rather than running every branch. This change targets Conditional job task branches, where Conditional task execution allows data-driven workflow branching; dependencies alone do not express mutually exclusive business paths. It does not solve the specific Retries with idempotent writes requirement; that instead calls for: Apply bounded job retries only after making output writes idempotent, so transient failure recovery cannot double count results.
C:Define the pipeline dependency graph so downstream transformations run only after required inputs have completed successfully. This change targets Pipeline dependency ordering, where Explicit task dependencies protect data consistency; merely listing tasks in the same job does not ensure correct predecessor completion. It does not solve the specific Retries with idempotent writes requirement; that instead calls for: Apply bounded job retries only after making output writes idempotent, so transient failure recovery cannot double count results.
D:Cache only reused supported intermediate datasets when the expected benefit exceeds the memory and refresh cost. This change targets Caching useful intermediate results, where Caching can accelerate repeated reads but indiscriminate persistence consumes memory and can become stale. It does not solve the specific Retries with idempotent writes requirement; that instead calls for: Apply bounded job retries only after making output writes idempotent, so transient failure recovery cannot double count results.
Question 62
A developer copies streaming code to production but reuses a test checkpoint and sees incorrect offsets and errors. 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.
- Expected late arrivals within the tolerated window contribute correctly while obsolete state is bounded as designed.
- New arrivals ingest exactly according to the supported checkpoint semantics and previously processed files are not blindly reloaded.
- A controlled restart resumes from committed progress without unexpectedly reprocessing the entire available stream.
Explanation
Correct Answer
D:A controlled restart resumes from committed progress without unexpectedly reprocessing the entire available stream. Structured Streaming checkpoint state is needed for reliable progress and state recovery; using a new path can restart ingestion.
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 Structured Streaming checkpoint recovery scenario, verify: A controlled restart resumes from committed progress without unexpectedly reprocessing the entire available stream.
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 Structured Streaming checkpoint recovery scenario, verify: A controlled restart resumes from committed progress without unexpectedly reprocessing the entire available stream.
C:New arrivals ingest exactly according to the supported checkpoint semantics and previously processed files are not blindly reloaded. This would validate Auto Loader incremental cloud files in another workload; it does not establish success of the requirement here. For this Structured Streaming checkpoint recovery scenario, verify: A controlled restart resumes from committed progress without unexpectedly reprocessing the entire available stream.
Question 63
A document enrichment pipeline must store source PDF files and model configuration artifacts under a governed location. Which technical principle BEST explains the correct design decision?
- Unity Catalog volumes govern file collections and paths; they are not a replacement for registering structured tables to query by table name.
- A managed table has platform-governed storage lifecycle while an external table refers to data at an independently managed storage location.
- Serverless removes most cluster provisioning management for supported tasks but does not make unsupported libraries or workloads automatically compatible.
- A regular view encapsulates query logic without persisting its result; a materialized view maintains an asynchronously refreshed result when supported.
Explanation
Correct Answer
A:Unity Catalog volumes govern file collections and paths; they are not a replacement for registering structured tables to query by table name. A sound implementation is: Create and permission a Unity Catalog volume for non-tabular files needed by governed pipelines.
Incorrect Answers
B:A managed table has platform-governed storage lifecycle while an external table refers to data at an independently managed storage location. This statement describes Managed versus external table lifecycle rather than the situation at hand. The Unity Catalog volumes for files design instead follows: Unity Catalog volumes govern file collections and paths; they are not a replacement for registering structured tables to query by table name.
C:Serverless removes most cluster provisioning management for supported tasks but does not make unsupported libraries or workloads automatically compatible. This statement describes Serverless compute for supported tasks rather than the situation at hand. The Unity Catalog volumes for files design instead follows: Unity Catalog volumes govern file collections and paths; they are not a replacement for registering structured tables to query by table name.
D:A regular view encapsulates query logic without persisting its result; a materialized view maintains an asynchronously refreshed result when supported. This statement describes Views and materialized views rather than the situation at hand. The Unity Catalog volumes for files design instead follows: Unity Catalog volumes govern file collections and paths; they are not a replacement for registering structured tables to query by table name.
Question 64
An ERP adapter uses procedural Python branching and nonstandard API calls that do not fit a pure declarative table pipeline. Which implementation is MOST appropriate for this requirement?
- Compose a Lakeflow Job with separately configured tasks and explicit dependencies for reusable production workflows.
- Create a Lakeflow Job schedule in the intended time zone with dependency-aware processing windows and availability requirements.
- Choose Lakeflow Spark Declarative Pipelines for managed dataflow and expectation-driven incremental tables, or notebook tasks for custom procedural logic.
- Apply bounded job retries only after making output writes idempotent, so transient failure recovery cannot double count results.
Explanation
Correct Answer
C:Choose Lakeflow Spark Declarative Pipelines for managed dataflow and expectation-driven incremental tables, or notebook tasks for custom procedural logic. This implementation meets the requirement because Declarative pipelines model table relationships and managed processing, whereas notebooks offer explicit procedural control and custom code. The relevant preflight is: Inspect transformation style, dependency complexity, source format, quality checks and required scheduling behavior.
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 Notebook versus declarative pipeline requirement; that instead calls for: Choose Lakeflow Spark Declarative Pipelines for managed dataflow and expectation-driven incremental tables, or notebook tasks for custom procedural logic.
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 Notebook versus declarative pipeline requirement; that instead calls for: Choose Lakeflow Spark Declarative Pipelines for managed dataflow and expectation-driven incremental tables, or notebook tasks for custom procedural logic.
D:Apply bounded job retries only after making output writes idempotent, so transient failure recovery cannot double count results. This change targets Retries with idempotent writes, where Retries repeat failed task work; their safety depends on idempotent business logic rather than the retry checkbox alone. It does not solve the specific Notebook versus declarative pipeline requirement; that instead calls for: Choose Lakeflow Spark Declarative Pipelines for managed dataflow and expectation-driven incremental tables, or notebook tasks for custom procedural logic.
Question 65
A customer-data job combines several transformations but troubleshooting is difficult because all work is inside one opaque notebook. Which TWO actions together provide the most appropriate implementation and a necessary verification check? Select TWO.
- Inspect task definitions, compute assignments, dependency edges, task identities and run states.
- Compose a Lakeflow Job with separately configured tasks and explicit dependencies for reusable production workflows.
- An automated update changes the intended job definition exactly once and records the resulting resource ID and run status.
- Pass explicit job or task parameters and supported task values rather than hard-coding environment-specific dates into notebooks.
- Inspect runtime distributions, task timeout configuration, cancellation logs and side effects before reducing limits.
Explanation
Correct Answers
A:Inspect task definitions, compute assignments, dependency edges, task identities and run states. A multi-task job coordinates heterogeneous processing stages with explicit scheduling and resource selection rather than hiding everything inside one notebook. The intended corrective action is: Compose a Lakeflow Job with separately configured tasks and explicit dependencies for reusable production workflows.
B:Compose a Lakeflow Job with separately configured tasks and explicit dependencies for reusable production workflows. This implementation meets the requirement because A multi-task job coordinates heterogeneous processing stages with explicit scheduling and resource selection rather than hiding everything inside one notebook. The relevant preflight is: Inspect task definitions, compute assignments, dependency edges, task identities and run states.
Incorrect Answers
C:An automated update changes the intended job definition exactly once and records the resulting resource ID and run status. This step belongs to REST API deployment automation and does not provide one of the two required checks here. A multi-task job coordinates heterogeneous processing stages with explicit scheduling and resource selection rather than hiding everything inside one notebook.
D:Pass explicit job or task parameters and supported task values rather than hard-coding environment-specific dates into notebooks. This step belongs to Job parameters and task values and does not provide one of the two required checks here. A multi-task job coordinates heterogeneous processing stages with explicit scheduling and resource selection rather than hiding everything inside one notebook.
E:Inspect runtime distributions, task timeout configuration, cancellation logs and side effects before reducing limits. This step belongs to Timeouts and cancellation safety and does not provide one of the two required checks here. A multi-task job coordinates heterogeneous processing stages with explicit scheduling and resource selection rather than hiding everything inside one notebook.
Question 66
A new analyst is granted SELECT on a Delta table but cannot resolve its three-part catalog schema path. Before making changes, which evidence should the engineer examine FIRST to assess the requirement?
- Inspect object hierarchy, USE CATALOG, USE SCHEMA and table privileges for the failing identity.
- Inspect Azure managed identity association, supported connector, resource permissions and sign-in errors.
- Inspect relevant audit event types, event timestamps, identities, target objects and configured delivery destination.
- Inspect principal membership and effective privileges at catalog, schema and table scopes.
Explanation
Correct Answer
A:Inspect object hierarchy, USE CATALOG, USE SCHEMA and table privileges for the failing identity. An object-level SELECT grant alone may not satisfy the necessary parent hierarchy privileges for resolving a Unity Catalog object. The intended corrective action is: Ensure principals have appropriate catalog and schema usage privileges in addition to table-level data permissions.
Incorrect Answers
B:Inspect Azure managed identity association, supported connector, resource permissions and sign-in errors. This checks Managed identities for Azure resources, not the relevant Parent object usage privileges prerequisite. An object-level SELECT grant alone may not satisfy the necessary parent hierarchy privileges for resolving a Unity Catalog object. For the described case, the discriminating evidence is: Inspect object hierarchy, USE CATALOG, USE SCHEMA and table privileges for the failing identity.
C:Inspect relevant audit event types, event timestamps, identities, target objects and configured delivery destination. This checks Audit logs for governed access, not the relevant Parent object usage privileges prerequisite. An object-level SELECT grant alone may not satisfy the necessary parent hierarchy privileges for resolving a Unity Catalog object. For the described case, the discriminating evidence is: Inspect object hierarchy, USE CATALOG, USE SCHEMA and table privileges for the failing identity.
D:Inspect principal membership and effective privileges at catalog, schema and table scopes. This checks Unity Catalog grants and least privilege, not the relevant Parent object usage privileges prerequisite. An object-level SELECT grant alone may not satisfy the necessary parent hierarchy privileges for resolving a Unity Catalog object. For the described case, the discriminating evidence is: Inspect object hierarchy, USE CATALOG, USE SCHEMA and table privileges for the failing identity.
Question 67
A storage ingestion pipeline must access a protected Azure storage account and security prohibits checked-in access keys. Which implementation is MOST appropriate for this requirement?
- Run unattended Databricks operations using a scoped service principal rather than a departing employee's personal identity.
- Apply a supported column mask so authorized roles see actual sensitive values and other roles see masked equivalents.
- Use governed tags with central attribute-based access-control policies to scale consistently applied filtering or masking where supported.
- Use supported Azure managed identity authorization when accessing Azure resources instead of storing a long-lived application secret.
Explanation
Correct Answer
D:Use supported Azure managed identity authorization when accessing Azure resources instead of storing a long-lived application secret. This implementation meets the requirement because Managed identities provide Azure resource authentication without manually managed passwords but require explicit resource authorization. The relevant preflight is: Inspect Azure managed identity association, supported connector, resource permissions and sign-in errors.
Incorrect Answers
A:Run unattended Databricks operations using a scoped service principal rather than a departing employee's personal identity. This change targets Service principal for automated data jobs, where A service principal supports automated workload authentication; its access still requires least-privilege grants and credential governance. It does not solve the specific Managed identities for Azure resources requirement; that instead calls for: Use supported Azure managed identity authorization when accessing Azure resources instead of storing a long-lived application secret.
B:Apply a supported column mask so authorized roles see actual sensitive values and other roles see masked equivalents. This change targets Column masks, where Column masks restrict visible values of a field at query time; masking does not mean dropping entire rows from a dataset. It does not solve the specific Managed identities for Azure resources requirement; that instead calls for: Use supported Azure managed identity authorization when accessing Azure resources instead of storing a long-lived application secret.
C:Use governed tags with central attribute-based access-control policies to scale consistently applied filtering or masking where supported. This change targets ABAC governed tags and policies, where ABAC policies centralize tag-driven controls across collections of objects; manual per-table filters are better suited to isolated cases. It does not solve the specific Managed identities for Azure resources requirement; that instead calls for: Use supported Azure managed identity authorization when accessing Azure resources instead of storing a long-lived application secret.
Question 68
A compliance team needs the same sensitive-field masking policy across hundreds of newly created tables. Which result BEST verifies that the proposed solution meets the stated requirement?
- Tables with the relevant governed tag enforce the expected policy without manually reapplying it to every table.
- Expired information is removed under approved policy without deleting records under an applicable hold or required recovery period.
- Authorized investigators can correlate the user, operation and affected asset for a tested administrative change.
- The principal can resolve and query the intended table without gaining access to other schemas.
Explanation
Correct Answer
A:Tables with the relevant governed tag enforce the expected policy without manually reapplying it to every table. ABAC policies centralize tag-driven controls across collections of objects; manual per-table filters are better suited to isolated cases.
Incorrect Answers
B:Expired information is removed under approved policy without deleting records under an applicable hold or required recovery period. This would validate Retention and deletion policy in another workload; it does not establish success of the requirement here. For this ABAC governed tags and policies scenario, verify: Tables with the relevant governed tag enforce the expected policy without manually reapplying it to every table.
C:Authorized investigators can correlate the user, operation and affected asset for a tested administrative change. This would validate Audit logs for governed access in another workload; it does not establish success of the requirement here. For this ABAC governed tags and policies scenario, verify: Tables with the relevant governed tag enforce the expected policy without manually reapplying it to every table.
D:The principal can resolve and query the intended table without gaining access to other schemas. This would validate Parent object usage privileges in another workload; it does not establish success of the requirement here. For this ABAC governed tags and policies scenario, verify: Tables with the relevant governed tag enforce the expected policy without manually reapplying it to every table.
Question 69
A clickstream table has billions of events and most queries constrain event_date rather than individual user IDs. Which technical principle BEST explains the correct design decision?
- Partitioning can reduce scan work for common filters but excessive partitions create costly small files and metadata overhead.
- 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.
- Delta MERGE supports conditional matched and unmatched actions; ambiguous multiple source matches can fail or produce incorrect results.
- Z-ordering collocates related values to improve data skipping; it does not itself filter unauthorized data or guarantee faster queries for every workload.
Explanation
Correct Answer
A:Partitioning can reduce scan work for common filters but excessive partitions create costly small files and metadata overhead. A sound implementation is: Choose limited sensible partition columns for large filtered datasets while avoiding extreme high-cardinality partition fragmentation.
Incorrect Answers
B: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 Partition pruning and small-file risk design instead follows: Partitioning can reduce scan work for common filters but excessive partitions create costly small files and metadata overhead.
C:Delta MERGE supports conditional matched and unmatched actions; ambiguous multiple source matches can fail or produce incorrect results. This statement describes MERGE upserts and change data capture rather than the situation at hand. The Partition pruning and small-file risk design instead follows: Partitioning can reduce scan work for common filters but excessive partitions create costly small files and metadata overhead.
D:Z-ordering collocates related values to improve data skipping; it does not itself filter unauthorized data or guarantee faster queries for every workload. This statement describes Z-ordering supported file layout rather than the situation at hand. The Partition pruning and small-file risk design instead follows: Partitioning can reduce scan work for common filters but excessive partitions create costly small files and metadata overhead.
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.