Microsoft DP-750 Practice Test 2
Question 10
An upstream service changes an integer account_id into a mixed text format and ingestion must not misinterpret keys silently. Which implementation is MOST appropriate for this requirement?
- Choose and test a supported schema evolution mode for incoming files with added or changed fields rather than silently accepting arbitrary types.
- Ingest supported Azure Event Hubs streams through an appropriate Spark connector with checkpoint and offset management.
- Use data types and explicit casts matched to source semantics, preserving required decimals and rejecting unsafe conversions.
- Apply domain-specific missing-data rules distinguishing unknown values from zero or a valid category.
Explanation
Correct Answer
A:Choose and test a supported schema evolution mode for incoming files with added or changed fields rather than silently accepting arbitrary types. This implementation meets the requirement because Schema evolution controls changing file structure; a checkpoint alone does not guarantee arbitrary incompatible type changes are safe. The relevant preflight is: Inspect schemaLocation history, rescue or error columns, new sample files and the configured schema evolution behavior.
Incorrect Answers
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 Auto Loader schema evolution policy requirement; that instead calls for: Choose and test a supported schema evolution mode for incoming files with added or changed fields rather than silently accepting arbitrary types.
C: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 Auto Loader schema evolution policy requirement; that instead calls for: Choose and test a supported schema evolution mode for incoming files with added or changed fields rather than silently accepting arbitrary types.
D:Apply domain-specific missing-data rules distinguishing unknown values from zero or a valid category. This change targets Missing and null value handling, where Missing values represent unavailable information; filling every null with zero can introduce false measurements or misleading statistics. It does not solve the specific Auto Loader schema evolution policy requirement; that instead calls for: Choose and test a supported schema evolution mode for incoming files with added or changed fields rather than silently accepting arbitrary types.
Question 11
An insurer's small nightly data validation job waits for an oversized classic cluster to start before each execution. Which TWO actions together provide the most appropriate implementation and a necessary verification check? Select TWO.
- Check supported task types, serverless availability, workload dependencies and run details before changing a job's compute.
- Consumers receive results with the intended refresh semantics and the query cost aligns with the design.
- Configure an appropriately sized job compute resource for an automated multi-step Spark workload instead of reusing a constantly running shared development cluster.
- Compare task duration, execution plans, runtime compatibility, Photon setting and price per completed workload.
- Select supported serverless job compute for eligible scheduled workloads after checking workload and workspace prerequisites.
Explanation
Correct Answers
A:Check supported task types, serverless availability, workload dependencies and run details before changing a job's compute. Serverless removes most cluster provisioning management for supported tasks but does not make unsupported libraries or workloads automatically compatible. The intended corrective action is: Select supported serverless job compute for eligible scheduled workloads after checking workload and workspace prerequisites.
E:Select supported serverless job compute for eligible scheduled workloads after checking workload and workspace prerequisites. This implementation meets the requirement because Serverless removes most cluster provisioning management for supported tasks but does not make unsupported libraries or workloads automatically compatible. The relevant preflight is: Check supported task types, serverless availability, workload dependencies and run details before changing a job's compute.
Incorrect Answers
B: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. Serverless removes most cluster provisioning management for supported tasks but does not make unsupported libraries or workloads automatically compatible.
C:Configure an appropriately sized job compute resource for an automated multi-step Spark workload instead of reusing a constantly running shared development cluster. This step belongs to Dedicated job compute and does not provide one of the two required checks here. Serverless removes most cluster provisioning management for supported tasks but does not make unsupported libraries or workloads automatically compatible.
D:Compare task duration, execution plans, runtime compatibility, Photon setting and price per completed workload. This step belongs to Photon SQL acceleration and does not provide one of the two required checks here. Serverless removes most cluster provisioning management for supported tasks but does not make unsupported libraries or workloads automatically compatible.
Question 12
Two research institutions need to share selected governed Delta data without sharing staff passwords or full cloud storage credentials. Which technical principle BEST explains the correct design decision?
- Descriptive metadata improves data discovery and stewardship; table comments do not encrypt, transform or secure the data themselves.
- Central secret management reduces plaintext credential exposure, but scoped permissions and rotation remain necessary.
- Delta Sharing provides governed cross-organization data access without giving recipients broad workspace administrator privileges.
- Audit records document supported operations for investigation and oversight; they do not automatically prevent a permitted but undesirable query.
Explanation
Correct Answer
C:Delta Sharing provides governed cross-organization data access without giving recipients broad workspace administrator privileges. A sound implementation is: Configure a secure Delta Sharing arrangement with approved recipient, shared assets and monitored access.
Incorrect Answers
A:Descriptive metadata improves data discovery and stewardship; table comments do not encrypt, transform or secure the data themselves. This statement describes Table and column descriptions rather than the situation at hand. The Delta Sharing restricted recipient design instead follows: Delta Sharing provides governed cross-organization data access without giving recipients broad workspace administrator privileges.
B:Central secret management reduces plaintext credential exposure, but scoped permissions and rotation remain necessary. This statement describes Azure Key Vault backed secrets rather than the situation at hand. The Delta Sharing restricted recipient design instead follows: Delta Sharing provides governed cross-organization data access without giving recipients broad workspace administrator privileges.
D:Audit records document supported operations for investigation and oversight; they do not automatically prevent a permitted but undesirable query. This statement describes Audit logs for governed access rather than the situation at hand. The Delta Sharing restricted recipient design instead follows: Delta Sharing provides governed cross-organization data access without giving recipients broad workspace administrator privileges.
Question 13
A weekly backfill must reprocess only the supplied settlement date without editing source notebook code. Which technical principle BEST explains the correct design decision?
- VACUUM deletes eligible old physical files; it can make historical versions unreadable and must respect configured safety periods.
- Timeouts bound runaway work but do not automatically roll back arbitrary external side effects or invalid partial writes.
- A multi-task job coordinates heterogeneous processing stages with explicit scheduling and resource selection rather than hiding everything inside one notebook.
- Parameterization separates workflow configuration from code and makes reruns reproducible and auditable.
Explanation
Correct Answer
D:Parameterization separates workflow configuration from code and makes reruns reproducible and auditable. A sound implementation is: Pass explicit job or task parameters and supported task values rather than hard-coding environment-specific dates into notebooks.
Incorrect Answers
A:VACUUM deletes eligible old physical files; it can make historical versions unreadable and must respect configured safety periods. This statement describes Delta VACUUM retention safety rather than the situation at hand. The Job parameters and task values design instead follows: Parameterization separates workflow configuration from code and makes reruns reproducible and auditable.
B:Timeouts bound runaway work but do not automatically roll back arbitrary external side effects or invalid partial writes. This statement describes Timeouts and cancellation safety rather than the situation at hand. The Job parameters and task values design instead follows: Parameterization separates workflow configuration from code and makes reruns reproducible and auditable.
C:A multi-task job coordinates heterogeneous processing stages with explicit scheduling and resource selection rather than hiding everything inside one notebook. This statement describes Lakeflow multi-task Jobs DAG rather than the situation at hand. The Job parameters and task values design instead follows: Parameterization separates workflow configuration from code and makes reruns reproducible and auditable.
Question 14
A ride-sharing analytics job joins location events with trips and must not hold unlimited state for never-arriving matches. Before making changes, which evidence should the engineer examine FIRST to assess the requirement?
- Measure event arrival frequency, end-to-end freshness requirement, backfill needs and continuous-compute budget.
- Inspect checkpoint path, query identity, progress offsets, output sink mode and code changes.
- Inspect event-time field, observed late arrival distribution, state size and output update policy.
- Inspect source endpoint contract, retry boundaries, saved high-water mark and target write semantics.
Explanation
Correct Answer
C:Inspect event-time field, observed late arrival distribution, state size and output update policy. Watermarks bound state and late-data handling; a processing-time trigger does not automatically resolve event-time disorder. The intended corrective action is: Use event-time watermarks with a justified lateness tolerance for stateful streaming aggregations and joins.
Incorrect Answers
A:Measure event arrival frequency, end-to-end freshness requirement, backfill needs and continuous-compute budget. This checks Batch versus streaming ingestion choice, not the relevant Streaming watermarks for late events prerequisite. Watermarks bound state and late-data handling; a processing-time trigger does not automatically resolve event-time disorder. For the described case, the discriminating evidence is: Inspect event-time field, observed late arrival distribution, state size and output update policy.
B:Inspect checkpoint path, query identity, progress offsets, output sink mode and code changes. This checks Structured Streaming checkpoint recovery, not the relevant Streaming watermarks for late events prerequisite. Watermarks bound state and late-data handling; a processing-time trigger does not automatically resolve event-time disorder. For the described case, the discriminating evidence is: Inspect event-time field, observed late arrival distribution, state size and output update policy.
D:Inspect source endpoint contract, retry boundaries, saved high-water mark and target write semantics. This checks Notebook-based ingestion orchestration, not the relevant Streaming watermarks for late events prerequisite. Watermarks bound state and late-data handling; a processing-time trigger does not automatically resolve event-time disorder. For the described case, the discriminating evidence is: Inspect event-time field, observed late arrival distribution, state size and output update policy.
Question 15
A clinical operations report requires provider codes while patient identifiers must be masked for nonclinical users. Which result BEST verifies that the proposed solution meets the stated requirement?
- An impact analysis identifies affected dashboards and pipelines before a breaking field change is approved.
- The principal can resolve and query the intended table without gaining access to other schemas.
- An approved workload accesses its designated Azure storage resource with no embedded static client secret.
- A general analyst sees the approved obfuscated field while an authorized investigator sees original values.
Explanation
Correct Answer
D:A general analyst sees the approved obfuscated field while an authorized investigator sees original values. Column masks restrict visible values of a field at query time; masking does not mean dropping entire rows from a dataset.
Incorrect Answers
A:An impact analysis identifies affected dashboards and pipelines before a breaking field change is approved. This would validate Data lineage and dependencies in another workload; it does not establish success of the requirement here. For this Column masks scenario, verify: A general analyst sees the approved obfuscated field while an authorized investigator sees original values.
B: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 Column masks scenario, verify: A general analyst sees the approved obfuscated field while an authorized investigator sees original values.
C:An approved workload accesses its designated Azure storage resource with no embedded static client secret. This would validate Managed identities for Azure resources in another workload; it does not establish success of the requirement here. For this Column masks scenario, verify: A general analyst sees the approved obfuscated field while an authorized investigator sees original values.
Question 16
A vendor sends three updates to one shipment and the most recent status must be retained. 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.
- New source changes appear in the intended Unity Catalog target without repeatedly copying all historical source rows.
- A test fixture reconciles summarized totals and produces expected wide or long reporting columns.
- A small expected result fixture proves the intended join or set semantics without accidental row multiplication.
Explanation
Correct Answer
A:Each intended business key retains the correct selected record and the retained row count matches validated expectations. Window ranking can select an authoritative record per key; arbitrary dropDuplicates on ambiguous updates may preserve the wrong version.
Incorrect Answers
B: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 Deduplication with window ranking scenario, verify: Each intended business key retains the correct selected record and the retained row count matches validated expectations.
C: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 Deduplication with window ranking scenario, verify: Each intended business key retains the correct selected record and the retained row count matches validated expectations.
D:A small expected result fixture proves the intended join or set semantics without accidental row multiplication. This would validate SQL joins versus set operators in another workload; it does not establish success of the requirement here. For this Deduplication with window ranking scenario, verify: Each intended business key retains the correct selected record and the retained row count matches validated expectations.
Question 17
A billing extract appends half its rows then times out, and a retry must not double charge customers. Before making changes, which evidence should the engineer examine FIRST to assess the requirement?
- Inspect evaluated condition expressions, upstream task values, dependent tasks and skipped-run records.
- Inspect failed run history, partial writes, retry count, target keys and overwrite or MERGE behavior.
- Inspect task dependencies, upstream data readiness, run timestamps and failure propagation.
- Inspect missed partitions, retention limits, date parameter handling and deduplication or MERGE keys.
Explanation
Correct Answer
B: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:Inspect evaluated condition expressions, upstream task values, dependent tasks and skipped-run records. This checks Conditional job task branches, not the relevant Retries with idempotent writes prerequisite. Retries repeat failed task work; their safety depends on idempotent business logic rather than the retry checkbox alone. For the described case, the discriminating evidence is: Inspect failed run history, partial writes, retry count, target keys and overwrite or MERGE behavior.
C:Inspect task dependencies, upstream data readiness, run timestamps and failure propagation. This checks Pipeline dependency ordering, not the relevant Retries with idempotent writes prerequisite. Retries repeat failed task work; their safety depends on idempotent business logic rather than the retry checkbox alone. For the described case, the discriminating evidence is: Inspect failed run history, partial writes, retry count, target keys and overwrite or MERGE behavior.
D:Inspect missed partitions, retention limits, date parameter handling and deduplication or MERGE keys. This checks Historical backfill execution, not the relevant Retries with idempotent writes prerequisite. Retries repeat failed task work; their safety depends on idempotent business logic rather than the retry checkbox alone. For the described case, the discriminating evidence is: Inspect failed run history, partial writes, retry count, target keys and overwrite or MERGE behavior.
Question 18
An insurer's small nightly data validation job waits for an oversized classic cluster to start before each execution. Which result BEST verifies that the proposed solution meets the stated requirement?
- Worker capacity expands or contracts within limits while critical runs meet their processing objective.
- Dashboard queries execute through the intended warehouse with monitored concurrency and without depending on a user's interactive notebook session.
- The eligible job executes on serverless compute with recorded consumption and correct data results.
- Approved teams discover their authorized catalog while unrelated catalogs remain outside their working scope.
Explanation
Correct Answer
C:The eligible job executes on serverless compute with recorded consumption and correct data results. Serverless removes most cluster provisioning management for supported tasks but does not make unsupported libraries or workloads automatically compatible.
Incorrect Answers
A:Worker capacity expands or contracts within limits while critical runs meet their processing objective. This would validate Compute autoscaling in another workload; it does not establish success of the requirement here. For this Serverless compute for supported tasks scenario, verify: The eligible job executes on serverless compute with recorded consumption and correct data results.
B:Dashboard queries execute through the intended warehouse with monitored concurrency and without depending on a user's interactive notebook session. This would validate SQL warehouse for analytics queries in another workload; it does not establish success of the requirement here. For this Serverless compute for supported tasks scenario, verify: The eligible job executes on serverless compute with recorded consumption and correct data results.
D:Approved teams discover their authorized catalog while unrelated catalogs remain outside their working scope. This would validate Catalog isolation for business units in another workload; it does not establish success of the requirement here. For this Serverless compute for supported tasks scenario, verify: The eligible job executes on serverless compute with recorded consumption and correct data results.
Question 19
A global data platform wants all datasets tagged highly confidential to receive governed access controls automatically. Which technical principle BEST explains the correct design decision?
- ABAC policies centralize tag-driven controls across collections of objects; manual per-table filters are better suited to isolated cases.
- Unity Catalog permissions determine access to data objects independently of whether a principal can start compute.
- Delta Sharing provides governed cross-organization data access without giving recipients broad workspace administrator privileges.
- Audit records document supported operations for investigation and oversight; they do not automatically prevent a permitted but undesirable query.
Explanation
Correct Answer
A:ABAC policies centralize tag-driven controls across collections of objects; manual per-table filters are better suited to isolated cases. A sound implementation is: Use governed tags with central attribute-based access-control policies to scale consistently applied filtering or masking where supported.
Incorrect Answers
B:Unity Catalog permissions determine access to data objects independently of whether a principal can start compute. This statement describes Unity Catalog grants and least privilege rather than the situation at hand. The ABAC governed tags and policies design instead follows: ABAC policies centralize tag-driven controls across collections of objects; manual per-table filters are better suited to isolated cases.
C:Delta Sharing provides governed cross-organization data access without giving recipients broad workspace administrator privileges. This statement describes Delta Sharing restricted recipient rather than the situation at hand. The ABAC governed tags and policies design instead follows: ABAC policies centralize tag-driven controls across collections of objects; manual per-table filters are better suited to isolated cases.
D:Audit records document supported operations for investigation and oversight; they do not automatically prevent a permitted but undesirable query. This statement describes Audit logs for governed access rather than the situation at hand. The ABAC governed tags and policies design instead follows: ABAC policies centralize tag-driven controls across collections of objects; manual per-table filters are better suited to isolated cases.
Question 20
A store manager wants one report row per store with separate columns for monthly sales categories. Which TWO actions together provide the most appropriate implementation and a necessary verification check? Select TWO.
- Apply grouping, aggregation or pivot/unpivot to produce the required reporting grain with explicit null and duplicate handling.
- Deduplicate by a documented business key and deterministic latest-event ordering, resolving ties explicitly.
- Inspect desired output grain, dimension keys, aggregation function and input shape before transposing values.
- Check key cardinality, join predicates, duplicates, null handling and set operator compatibility.
- Historical fact queries join to the dimension version effective at the event time with one active version per key.
Explanation
Correct Answers
A:Apply grouping, aggregation or pivot/unpivot to produce the required reporting grain with explicit null and duplicate handling. This implementation meets the requirement because Pivot and unpivot reshape dimensions into columns or records; aggregation changes grain and must preserve intended measure semantics. The relevant preflight is: Inspect desired output grain, dimension keys, aggregation function and input shape before transposing values.
C:Inspect desired output grain, dimension keys, aggregation function and input shape before transposing values. Pivot and unpivot reshape dimensions into columns or records; aggregation changes grain and must preserve intended measure semantics. The intended corrective action is: Apply grouping, aggregation or pivot/unpivot to produce the required reporting grain with explicit null and duplicate handling.
Incorrect Answers
B:Deduplicate by a documented business key and deterministic latest-event ordering, resolving ties explicitly. This step belongs to Deduplication with window ranking and does not provide one of the two required checks here. Pivot and unpivot reshape dimensions into columns or records; aggregation changes grain and must preserve intended measure semantics.
D:Check key cardinality, join predicates, duplicates, null handling and set operator compatibility. This step belongs to SQL joins versus set operators and does not provide one of the two required checks here. Pivot and unpivot reshape dimensions into columns or records; aggregation changes grain and must preserve intended measure semantics.
E:Historical fact queries join to the dimension version effective at the event time with one active version per key. This step belongs to Slowly changing dimension Type 2 and does not provide one of the two required checks here. Pivot and unpivot reshape dimensions into columns or records; aggregation changes grain and must preserve intended measure semantics.