Microsoft DP-750 Practice Test 40
Question 390
A billing extract appends half its rows then times out, and a retry must not double charge customers. Which technical principle BEST explains the correct design decision?
- Retries repeat failed task work; their safety depends on idempotent business logic rather than the retry checkbox alone.
- Declarative pipelines model table relationships and managed processing, whereas notebooks offer explicit procedural control and custom code.
- Timeouts bound runaway work but do not automatically roll back arbitrary external side effects or invalid partial writes.
- REST endpoints allow programmatic resource changes but require deliberate API validation, versioning and idempotency safeguards.
Explanation
Correct Answer
A:Retries repeat failed task work; their safety depends on idempotent business logic rather than the retry checkbox alone. A sound implementation is: Apply bounded job retries only after making output writes idempotent, so transient failure recovery cannot double count results.
Incorrect Answers
B:Declarative pipelines model table relationships and managed processing, whereas notebooks offer explicit procedural control and custom code. This statement describes Notebook versus declarative pipeline rather than the situation at hand. The Retries with idempotent writes design instead follows: Retries repeat failed task work; their safety depends on idempotent business logic rather than the retry checkbox alone.
C: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 Retries with idempotent writes design instead follows: Retries repeat failed task work; their safety depends on idempotent business logic rather than the retry checkbox alone.
D:REST endpoints allow programmatic resource changes but require deliberate API validation, versioning and idempotency safeguards. This statement describes REST API deployment automation rather than the situation at hand. The Retries with idempotent writes design instead follows: Retries repeat failed task work; their safety depends on idempotent business logic rather than the retry checkbox alone.
Question 391
An engineering group needs a controlled shared path for JSON lookup files that are not meant to become relational tables. 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.
- Genie relies on governed data, examples and semantic instructions; conversational discovery does not override Unity Catalog data permissions.
- Unity Catalog names resolve within catalog and schema scopes; choosing the proper fully qualified path prevents accidental environment collisions.
- Runtime and library versions determine supported APIs and dependencies; installing an arbitrary wheel cannot repair an incompatible execution environment.
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:Genie relies on governed data, examples and semantic instructions; conversational discovery does not override Unity Catalog data permissions. This statement describes AI BI Genie semantic instructions 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:Unity Catalog names resolve within catalog and schema scopes; choosing the proper fully qualified path prevents accidental environment collisions. This statement describes Schema organization and three-part naming rather than the situation at hand. The 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:Runtime and library versions determine supported APIs and dependencies; installing an arbitrary wheel cannot repair an incompatible execution environment. This statement describes Runtime and library compatibility 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 392
A legacy XML service requires custom parsing and incremental checkpoint tracking inside a scheduled notebook. Which technical principle BEST explains the correct design decision?
- A medallion layout separates source preservation, quality standardization and consumption-ready aggregates rather than duplicating one uncontrolled table.
- Notebooks offer flexible ingestion logic but require the engineer to implement state, schema checking and recovery deliberately.
- COPY INTO tracks previously loaded files for supported repeatable ingestion; unchecked INSERT SELECT on all files can double count rows.
- Watermarks bound state and late-data handling; a processing-time trigger does not automatically resolve event-time disorder.
Explanation
Correct Answer
B:Notebooks offer flexible ingestion logic but require the engineer to implement state, schema checking and recovery deliberately. A sound implementation is: Use a notebook ingest task for a small custom extraction with explicit idempotent writes and error handling when no suitable managed connector applies.
Incorrect Answers
A:A medallion layout separates source preservation, quality standardization and consumption-ready aggregates rather than duplicating one uncontrolled table. This statement describes Medallion bronze silver gold modeling rather than the situation at hand. The Notebook-based ingestion orchestration design instead follows: Notebooks offer flexible ingestion logic but require the engineer to implement state, schema checking and recovery deliberately.
C:COPY INTO tracks previously loaded files for supported repeatable ingestion; unchecked INSERT SELECT on all files can double count rows. This statement describes COPY INTO idempotent file loads rather than the situation at hand. The Notebook-based ingestion orchestration design instead follows: Notebooks offer flexible ingestion logic but require the engineer to implement state, schema checking and recovery deliberately.
D:Watermarks bound state and late-data handling; a processing-time trigger does not automatically resolve event-time disorder. This statement describes Streaming watermarks for late events rather than the situation at hand. The Notebook-based ingestion orchestration design instead follows: Notebooks offer flexible ingestion logic but require the engineer to implement state, schema checking and recovery deliberately.
Question 393
An internal platform service provisions approved Databricks jobs based on submitted change requests. Which implementation is MOST appropriate for this requirement?
- Use authenticated supported Databricks REST APIs for controlled deployment or job management with response validation and bounded retries.
- Store production notebooks and source files in a controlled Git repository with reviews instead of editing released logic directly.
- Apply supported Delta OPTIMIZE maintenance to compact fragmented files and evaluate optional data layout separately.
- Resolve concurrent pipeline changes through reviewed pull requests, conflict checks and tested integration instead of manually copying fragments into production.
Explanation
Correct Answer
A:Use authenticated supported Databricks REST APIs for controlled deployment or job management with response validation and bounded retries. This implementation meets the requirement because REST endpoints allow programmatic resource changes but require deliberate API validation, versioning and idempotency safeguards. The relevant preflight is: Inspect target workspace host, principal scope, request payload, returned IDs and HTTP status codes.
Incorrect Answers
B: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 REST API deployment automation requirement; that instead calls for: Use authenticated supported Databricks REST APIs for controlled deployment or job management with response validation and bounded retries.
C: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 REST API deployment automation requirement; that instead calls for: Use authenticated supported Databricks REST APIs for controlled deployment or job management with response validation and bounded retries.
D: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 REST API deployment automation requirement; that instead calls for: Use authenticated supported Databricks REST APIs for controlled deployment or job management with response validation and bounded retries.
Question 394
A retail loyalty field appears unique in samples but contains repeated IDs and many blank values across full history. Which technical principle BEST explains the correct design decision?
- Profiling reveals source quality and distributions; applying casting or deduplication without evidence can hide data defects.
- 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.
- Pivot and unpivot reshape dimensions into columns or records; aggregation changes grain and must preserve intended measure semantics.
Explanation
Correct Answer
A:Profiling reveals source quality and distributions; applying casting or deduplication without evidence can hide data defects. A sound implementation is: Profile counts, null frequencies, min/max, distinct values and representative distributions before selecting transformations.
Incorrect Answers
B: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 Data profiling and skew detection design instead follows: Profiling reveals source quality and distributions; applying casting or deduplication without evidence can hide data defects.
C: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 Data profiling and skew detection design instead follows: Profiling reveals source quality and distributions; applying casting or deduplication without evidence can hide data defects.
D:Pivot and unpivot reshape dimensions into columns or records; aggregation changes grain and must preserve intended measure semantics. This statement describes Pivot unpivot and group aggregations rather than the situation at hand. The Data profiling and skew detection design instead follows: Profiling reveals source quality and distributions; applying casting or deduplication without evidence can hide data defects.
Question 395
An ecommerce API adds a nullable promotional_code field to its JSON feed midweek. Which implementation is MOST appropriate for this requirement?
- Apply domain-specific missing-data rules distinguishing unknown values from zero or a valid category.
- Attach supported Lakeflow Spark Declarative Pipelines expectations with warning, drop or fail behavior appropriate to data quality policy.
- Choose and test a supported schema evolution mode for incoming files with added or changed fields rather than silently accepting arbitrary types.
- Use a notebook ingest task for a small custom extraction with explicit idempotent writes and error handling when no suitable managed connector applies.
Explanation
Correct Answer
C: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
A: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.
B:Attach supported Lakeflow Spark Declarative Pipelines expectations with warning, drop or fail behavior appropriate to data quality policy. This change targets Lakeflow expectations and data quality actions, where Pipeline expectations enforce declarative row-quality checks; passing a schema does not prove values satisfy business constraints. 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:Use a notebook ingest task for a small custom extraction with explicit idempotent writes and error handling when no suitable managed connector applies. This change targets Notebook-based ingestion orchestration, where Notebooks offer flexible ingestion logic but require the engineer to implement state, schema checking and recovery deliberately. 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 396
An order table receives corrected customer addresses while dashboards query it concurrently. Which technical principle BEST explains the correct design decision?
- Delta extends Parquet storage with a transaction log and table operations; raw Parquet files alone do not provide identical ACID table semantics.
- Liquid clustering reorganizes file layout based on chosen keys; it should be selected with support constraints rather than mixed casually with conflicting layout methods.
- Auto Loader tracks discovered files and supports incremental cloud object storage ingestion, reducing manual list-and-copy work.
- Batch suits bounded periodic work, whereas streaming is appropriate when low-latency incremental processing is required and supported.
Explanation
Correct Answer
A:Delta extends Parquet storage with a transaction log and table operations; raw Parquet files alone do not provide identical ACID table semantics. A sound implementation is: Store a frequently updated and concurrently read analytical dataset as a Delta table with transaction logging rather than unmanaged plain Parquet files.
Incorrect Answers
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 Delta versus plain Parquet table format design instead follows: Delta extends Parquet storage with a transaction log and table operations; raw Parquet files alone do not provide identical ACID table semantics.
C:Auto Loader tracks discovered files and supports incremental cloud object storage ingestion, reducing manual list-and-copy work. This statement describes Auto Loader incremental cloud files rather than the situation at hand. The Delta versus plain Parquet table format design instead follows: Delta extends Parquet storage with a transaction log and table operations; raw Parquet files alone do not provide identical ACID table semantics.
D:Batch suits bounded periodic work, whereas streaming is appropriate when low-latency incremental processing is required and supported. This statement describes Batch versus streaming ingestion choice rather than the situation at hand. The Delta versus plain Parquet table format design instead follows: Delta extends Parquet storage with a transaction log and table operations; raw Parquet files alone do not provide identical ACID table semantics.
Question 397
A cloud operations team cannot correlate Databricks job failures with Azure incident records due to missing diagnostic forwarding. Which result BEST verifies that the proposed solution meets the stated requirement?
- The revised job has a more balanced task distribution and avoids one executor dominating the join stage.
- A test failure is discoverable in monitoring logs and the assigned alert fires with a traceable job identifier.
- A representative rerun reduces unnecessary spill and finishes within the approved memory and cost budget.
- A release can be traced to an reviewed commit and recovered without copying code from a live notebook.
Explanation
Correct Answer
B:A test failure is discoverable in monitoring logs and the assigned alert fires with a traceable job identifier. Central monitoring and alerts improve detection and triage; they do not automatically correct job data semantics.
Incorrect Answers
A: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 Azure Monitor logs and alerts scenario, verify: A test failure is discoverable in monitoring logs and the assigned alert fires with a traceable job identifier.
C:A representative rerun reduces unnecessary spill and finishes within the approved memory and cost budget. This would validate Shuffle spill and memory tuning in another workload; it does not establish success of the requirement here. For this Azure Monitor logs and alerts scenario, verify: A test failure is discoverable in monitoring logs and the assigned alert fires with a traceable job identifier.
D: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 Azure Monitor logs and alerts scenario, verify: A test failure is discoverable in monitoring logs and the assigned alert fires with a traceable job identifier.
Question 398
A new analytics team sees dozens of tables but cannot tell whether revenue is gross, refunded or tax inclusive. Which result BEST verifies that the proposed solution meets the stated requirement?
- A regional user reads only rows authorized for the region while administrators retain appropriate permitted visibility.
- An impact analysis identifies affected dashboards and pipelines before a breaking field change is approved.
- The intended recipient reads only approved shared datasets and access can be withdrawn and reviewed.
- Catalog Explorer shows business definitions and consumers can distinguish similarly named fields and units.
Explanation
Correct Answer
D:Catalog Explorer shows business definitions and consumers can distinguish similarly named fields and units. Descriptive metadata improves data discovery and stewardship; table comments do not encrypt, transform or secure the data themselves.
Incorrect Answers
A:A regional user reads only rows authorized for the region while administrators retain appropriate permitted visibility. This would validate Table row filters in another workload; it does not establish success of the requirement here. For this Table and column descriptions scenario, verify: Catalog Explorer shows business definitions and consumers can distinguish similarly named fields and units.
B: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 Table and column descriptions scenario, verify: Catalog Explorer shows business definitions and consumers can distinguish similarly named fields and units.
C:The intended recipient reads only approved shared datasets and access can be withdrawn and reviewed. This would validate Delta Sharing restricted recipient in another workload; it does not establish success of the requirement here. For this Table and column descriptions scenario, verify: Catalog Explorer shows business definitions and consumers can distinguish similarly named fields and units.
Question 399
A junior analyst requires permission to execute prepared notebooks but currently receives unrestricted permission to manage all clusters. Which technical principle BEST explains the correct design decision?
- Genie relies on governed data, examples and semantic instructions; conversational discovery does not override Unity Catalog data permissions.
- Compute permissions control use and management of compute; Unity Catalog object permissions independently govern the data read by that compute.
- Runtime and library versions determine supported APIs and dependencies; installing an arbitrary wheel cannot repair an incompatible execution environment.
- Job compute provides reproducible scheduled execution isolation and cost control compared with keeping an interactive cluster running for every task.
Explanation
Correct Answer
B:Compute permissions control use and management of compute; Unity Catalog object permissions independently govern the data read by that compute. A sound implementation is: Grant the smallest compute permission required to run the intended workload without providing cluster administration rights.
Incorrect Answers
A:Genie relies on governed data, examples and semantic instructions; conversational discovery does not override Unity Catalog data permissions. This statement describes AI BI Genie semantic instructions rather than the situation at hand. The Compute access permissions design instead follows: Compute permissions control use and management of compute; Unity Catalog object permissions independently govern the data read by that compute.
C:Runtime and library versions determine supported APIs and dependencies; installing an arbitrary wheel cannot repair an incompatible execution environment. This statement describes Runtime and library compatibility rather than the situation at hand. The Compute access permissions design instead follows: Compute permissions control use and management of compute; Unity Catalog object permissions independently govern the data read by that compute.
D:Job compute provides reproducible scheduled execution isolation and cost control compared with keeping an interactive cluster running for every task. This statement describes Dedicated job compute rather than the situation at hand. The Compute access permissions design instead follows: Compute permissions control use and management of compute; Unity Catalog object permissions independently govern the data read by that compute.
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.