Microsoft DP-750 Practice Test 21
Question 200
A streaming Delta table accumulates hundreds of thousands of tiny files and dashboard planning time grows. Which TWO actions together provide the most appropriate implementation and a necessary verification check? Select TWO.
- Inspect Spark stage DAG, shuffle bytes, spilled bytes, executor memory and task failures.
- Apply supported Delta OPTIMIZE maintenance to compact fragmented files and evaluate optional data layout separately.
- Inspect current file counts, average file size, workload throughput and table maintenance schedule.
- Run Delta VACUUM only after confirming retention policy, time travel requirements and all active readers or writers.
- A release can be traced to an reviewed commit and recovered without copying code from a live notebook.
Explanation
Correct Answers
B:Apply supported Delta OPTIMIZE maintenance to compact fragmented files and evaluate optional data layout separately. This implementation meets the requirement because OPTIMIZE reorganizes physical Delta files for execution efficiency; it is not a substitute for data cleansing or access policies. The relevant preflight is: Inspect current file counts, average file size, workload throughput and table maintenance schedule.
C:Inspect current file counts, average file size, workload throughput and table maintenance schedule. OPTIMIZE reorganizes physical Delta files for execution efficiency; it is not a substitute for data cleansing or access policies. The intended corrective action is: Apply supported Delta OPTIMIZE maintenance to compact fragmented files and evaluate optional data layout separately.
Incorrect Answers
A:Inspect Spark stage DAG, shuffle bytes, spilled bytes, executor memory and task failures. This step belongs to Shuffle spill and memory tuning and does not provide one of the two required checks here. OPTIMIZE reorganizes physical Delta files for execution efficiency; it is not a substitute for data cleansing or access policies.
D:Run Delta VACUUM only after confirming retention policy, time travel requirements and all active readers or writers. This step belongs to Delta VACUUM retention safety and does not provide one of the two required checks here. OPTIMIZE reorganizes physical Delta files for execution efficiency; it is not a substitute for data cleansing or access policies.
E: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. OPTIMIZE reorganizes physical Delta files for execution efficiency; it is not a substitute for data cleansing or access policies.
Question 201
An analyst has a validated aggregation query and needs a new independently queryable curated table created once. Which implementation is MOST appropriate for this requirement?
- Use SQL COPY INTO for supported incremental file-to-Delta loading while retaining file-processing state and monitoring errors.
- Use Auto Loader with a durable checkpoint and schema location for scalable incremental ingestion of new cloud files.
- Use CREATE TABLE AS SELECT when a persistent new table must be created from a defined query result.
- Choose a scheduled batch or streaming approach based on source arrival patterns, freshness targets and operational cost.
Explanation
Correct Answer
C:Use CREATE TABLE AS SELECT when a persistent new table must be created from a defined query result. This implementation meets the requirement because CTAS materializes a query result into a table, whereas CREATE VIEW preserves a query definition instead of copying its output. The relevant preflight is: Inspect source query output schema, intended target catalog, target existence and table permissions.
Incorrect Answers
A:Use SQL COPY INTO for supported incremental file-to-Delta loading while retaining file-processing state and monitoring errors. This change targets COPY INTO idempotent file loads, where COPY INTO tracks previously loaded files for supported repeatable ingestion; unchecked INSERT SELECT on all files can double count rows. It does not solve the specific CREATE TABLE AS SELECT materialization requirement; that instead calls for: Use CREATE TABLE AS SELECT when a persistent new table must be created from a defined query result.
B:Use Auto Loader with a durable checkpoint and schema location for scalable incremental ingestion of new cloud files. This change targets Auto Loader incremental cloud files, where Auto Loader tracks discovered files and supports incremental cloud object storage ingestion, reducing manual list-and-copy work. It does not solve the specific CREATE TABLE AS SELECT materialization requirement; that instead calls for: Use CREATE TABLE AS SELECT when a persistent new table must be created from a defined query result.
D:Choose a scheduled batch or streaming approach based on source arrival patterns, freshness targets and operational cost. This change targets Batch versus streaming ingestion choice, where Batch suits bounded periodic work, whereas streaming is appropriate when low-latency incremental processing is required and supported. It does not solve the specific CREATE TABLE AS SELECT materialization requirement; that instead calls for: Use CREATE TABLE AS SELECT when a persistent new table must be created from a defined query result.
Question 202
A production ETL process caches a huge table used only once and then suffers executor memory eviction. Which TWO actions together provide the most appropriate implementation and a necessary verification check? Select TWO.
- Run Delta VACUUM only after confirming retention policy, time travel requirements and all active readers or writers.
- Inspect job run histories, billed usage, cluster idle time, scaling behavior and task performance.
- A forced transient failure followed by retry produces one correct target record set with no duplicate accumulation.
- Cache only reused supported intermediate datasets when the expected benefit exceeds the memory and refresh cost.
- Inspect reuse count, cache hit information, storage memory, invalidation needs and query timings.
Explanation
Correct Answers
D:Cache only reused supported intermediate datasets when the expected benefit exceeds the memory and refresh cost. This implementation meets the requirement because Caching can accelerate repeated reads but indiscriminate persistence consumes memory and can become stale. The relevant preflight is: Inspect reuse count, cache hit information, storage memory, invalidation needs and query timings.
E:Inspect reuse count, cache hit information, storage memory, invalidation needs and query timings. Caching can accelerate repeated reads but indiscriminate persistence consumes memory and can become stale. The intended corrective action is: Cache only reused supported intermediate datasets when the expected benefit exceeds the memory and refresh cost.
Incorrect Answers
A:Run Delta VACUUM only after confirming retention policy, time travel requirements and all active readers or writers. This step belongs to Delta VACUUM retention safety and does not provide one of the two required checks here. Caching can accelerate repeated reads but indiscriminate persistence consumes memory and can become stale.
B:Inspect job run histories, billed usage, cluster idle time, scaling behavior and task performance. This step belongs to Compute consumption and cost monitoring and does not provide one of the two required checks here. Caching can accelerate repeated reads but indiscriminate persistence consumes memory and can become stale.
C:A forced transient failure followed by retry produces one correct target record set with no duplicate accumulation. This step belongs to Retries with idempotent writes and does not provide one of the two required checks here. Caching can accelerate repeated reads but indiscriminate persistence consumes memory and can become stale.
Question 203
A sales dashboard repeats the same expensive aggregation on every refresh though hourly updates are acceptable. Which TWO actions together provide the most appropriate implementation and a necessary verification check? Select TWO.
- Worker capacity expands or contracts within limits while critical runs meet their processing objective.
- Inspect query repetition, source-change frequency, refresh expectations, supported SQL and serving cost.
- Choose a managed or external Unity Catalog table based on who owns the underlying storage lifecycle and external access requirements.
- Review existing catalog and schema paths, object owners, naming conflicts and SQL references before deploying.
- Select a normal view or a supported materialized view according to whether a persisted refreshed result is required.
Explanation
Correct Answers
B:Inspect query repetition, source-change frequency, refresh expectations, supported SQL and serving cost. A regular view encapsulates query logic without persisting its result; a materialized view maintains an asynchronously refreshed result when supported. The intended corrective action is: Select a normal view or a supported materialized view according to whether a persisted refreshed result is required.
E:Select a normal view or a supported materialized view according to whether a persisted refreshed result is required. This implementation meets the requirement because A regular view encapsulates query logic without persisting its result; a materialized view maintains an asynchronously refreshed result when supported. The relevant preflight is: Inspect query repetition, source-change frequency, refresh expectations, supported SQL and serving cost.
Incorrect Answers
A:Worker capacity expands or contracts within limits while critical runs meet their processing objective. This step belongs to Compute autoscaling and does not provide one of the two required checks here. A regular view encapsulates query logic without persisting its result; a materialized view maintains an asynchronously refreshed result when supported.
C:Choose a managed or external Unity Catalog table based on who owns the underlying storage lifecycle and external access requirements. This step belongs to Managed versus external table lifecycle and does not provide one of the two required checks here. A regular view encapsulates query logic without persisting its result; a materialized view maintains an asynchronously refreshed result when supported.
D:Review existing catalog and schema paths, object owners, naming conflicts and SQL references before deploying. This step belongs to Schema organization and three-part naming and does not provide one of the two required checks here. A regular view encapsulates query logic without persisting its result; a materialized view maintains an asynchronously refreshed result when supported.
Question 204
A marketing team wants to purge obsolete identity data while a regulator requires selected records to be retained. 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.
- Use governed tags with central attribute-based access-control policies to scale consistently applied filtering or masking where supported.
- Use Unity Catalog lineage features to trace supported upstream and downstream dependencies before a schema change.
- Define governed retention and supported deletion processes aligned with legal holds and data lifecycle requirements.
Explanation
Correct Answer
D:Define governed retention and supported deletion processes aligned with legal holds and data lifecycle requirements. This implementation meets the requirement because Retention balances data lifecycle, legal obligations and recovery needs; physical cleanup operations may have separate safety constraints. The relevant preflight is: Inspect table history needs, retention configuration, applicable holds and cleanup consequences before deleting data.
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 Retention and deletion policy requirement; that instead calls for: Define governed retention and supported deletion processes aligned with legal holds and data lifecycle requirements.
B: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 Retention and deletion policy requirement; that instead calls for: Define governed retention and supported deletion processes aligned with legal holds and data lifecycle requirements.
C:Use Unity Catalog lineage features to trace supported upstream and downstream dependencies before a schema change. This change targets Data lineage and dependencies, where Lineage connects produced and consumed data assets for impact analysis; it is not a backup of historical table content. It does not solve the specific Retention and deletion policy requirement; that instead calls for: Define governed retention and supported deletion processes aligned with legal holds and data lifecycle requirements.
Question 205
A mobile transaction feed occasionally uploads records two hours after the device transaction timestamp. Before making changes, which evidence should the engineer examine FIRST to assess the requirement?
- Inspect key uniqueness, event timestamps, ingestion sequence, duplicate counts and ordering rules.
- Inspect source operation codes, business keys, duplicate matches and ordering of change events.
- Inspect input folder, file discovery progress, checkpoint metadata, schema storage and ingested-file counts.
- Inspect event-time field, observed late arrival distribution, state size and output update policy.
Explanation
Correct Answer
D: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:Inspect key uniqueness, event timestamps, ingestion sequence, duplicate counts and ordering rules. This checks Deduplication with window ranking, 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 source operation codes, business keys, duplicate matches and ordering of change events. This checks MERGE upserts and change data capture, 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.
C:Inspect input folder, file discovery progress, checkpoint metadata, schema storage and ingested-file counts. This checks Auto Loader incremental cloud files, 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 206
A marketing team wants to purge obsolete identity data while a regulator requires selected records to be retained. Which TWO actions together provide the most appropriate implementation and a necessary verification check? Select TWO.
- Configure a secure Delta Sharing arrangement with approved recipient, shared assets and monitored access.
- Define governed retention and supported deletion processes aligned with legal holds and data lifecycle requirements.
- The workload obtains the intended secret through authorized integration and the notebook contains no literal credential.
- Inspect table history needs, retention configuration, applicable holds and cleanup consequences before deleting data.
- Review effective governed tags, policy assignments, target objects and identity-specific query behavior.
Explanation
Correct Answers
B:Define governed retention and supported deletion processes aligned with legal holds and data lifecycle requirements. This implementation meets the requirement because Retention balances data lifecycle, legal obligations and recovery needs; physical cleanup operations may have separate safety constraints. The relevant preflight is: Inspect table history needs, retention configuration, applicable holds and cleanup consequences before deleting data.
D:Inspect table history needs, retention configuration, applicable holds and cleanup consequences before deleting data. Retention balances data lifecycle, legal obligations and recovery needs; physical cleanup operations may have separate safety constraints. The intended corrective action is: Define governed retention and supported deletion processes aligned with legal holds and data lifecycle requirements.
Incorrect Answers
A:Configure a secure Delta Sharing arrangement with approved recipient, shared assets and monitored access. This step belongs to Delta Sharing restricted recipient and does not provide one of the two required checks here. Retention balances data lifecycle, legal obligations and recovery needs; physical cleanup operations may have separate safety constraints.
C:The workload obtains the intended secret through authorized integration and the notebook contains no literal credential. This step belongs to Azure Key Vault backed secrets and does not provide one of the two required checks here. Retention balances data lifecycle, legal obligations and recovery needs; physical cleanup operations may have separate safety constraints.
E:Review effective governed tags, policy assignments, target objects and identity-specific query behavior. This step belongs to ABAC governed tags and policies and does not provide one of the two required checks here. Retention balances data lifecycle, legal obligations and recovery needs; physical cleanup operations may have separate safety constraints.
Question 207
A shipping pipeline currently rereads its entire landing folder every 15 minutes to detect a handful of new files. Which TWO actions together provide the most appropriate implementation and a necessary verification check? Select TWO.
- Inspect source query output schema, intended target catalog, target existence and table permissions.
- Use Auto Loader with a durable checkpoint and schema location for scalable incremental ingestion of new cloud files.
- Inspect input folder, file discovery progress, checkpoint metadata, schema storage and ingested-file counts.
- Use SQL COPY INTO for supported incremental file-to-Delta loading while retaining file-processing state and monitoring errors.
- A test fixture reconciles summarized totals and produces expected wide or long reporting columns.
Explanation
Correct Answers
B:Use Auto Loader with a durable checkpoint and schema location for scalable incremental ingestion of new cloud files. This implementation meets the requirement because Auto Loader tracks discovered files and supports incremental cloud object storage ingestion, reducing manual list-and-copy work. The relevant preflight is: Inspect input folder, file discovery progress, checkpoint metadata, schema storage and ingested-file counts.
C:Inspect input folder, file discovery progress, checkpoint metadata, schema storage and ingested-file counts. Auto Loader tracks discovered files and supports incremental cloud object storage ingestion, reducing manual list-and-copy work. The intended corrective action is: Use Auto Loader with a durable checkpoint and schema location for scalable incremental ingestion of new cloud files.
Incorrect Answers
A:Inspect source query output schema, intended target catalog, target existence and table permissions. This step belongs to CREATE TABLE AS SELECT materialization and does not provide one of the two required checks here. Auto Loader tracks discovered files and supports incremental cloud object storage ingestion, reducing manual list-and-copy work.
D:Use SQL COPY INTO for supported incremental file-to-Delta loading while retaining file-processing state and monitoring errors. This step belongs to COPY INTO idempotent file loads and does not provide one of the two required checks here. Auto Loader tracks discovered files and supports incremental cloud object storage ingestion, reducing manual list-and-copy work.
E:A test fixture reconciles summarized totals and produces expected wide or long reporting columns. This step belongs to Pivot unpivot and group aggregations and does not provide one of the two required checks here. Auto Loader tracks discovered files and supports incremental cloud object storage ingestion, reducing manual list-and-copy work.
Question 208
A shipping pipeline currently rereads its entire landing folder every 15 minutes to detect a handful of new files. Before making changes, which evidence should the engineer examine FIRST to assess the requirement?
- Inspect required update/delete operations, simultaneous writers, schema handling and table history requirements.
- Inspect source query output schema, intended target catalog, target existence and table permissions.
- Inspect checkpoint path, query identity, progress offsets, output sink mode and code changes.
- Inspect input folder, file discovery progress, checkpoint metadata, schema storage and ingested-file counts.
Explanation
Correct Answer
D:Inspect input folder, file discovery progress, checkpoint metadata, schema storage and ingested-file counts. Auto Loader tracks discovered files and supports incremental cloud object storage ingestion, reducing manual list-and-copy work. The intended corrective action is: Use Auto Loader with a durable checkpoint and schema location for scalable incremental ingestion of new cloud files.
Incorrect Answers
A:Inspect required update/delete operations, simultaneous writers, schema handling and table history requirements. This checks Delta versus plain Parquet table format, not the relevant Auto Loader incremental cloud files prerequisite. Auto Loader tracks discovered files and supports incremental cloud object storage ingestion, reducing manual list-and-copy work. For the described case, the discriminating evidence is: Inspect input folder, file discovery progress, checkpoint metadata, schema storage and ingested-file counts.
B:Inspect source query output schema, intended target catalog, target existence and table permissions. This checks CREATE TABLE AS SELECT materialization, not the relevant Auto Loader incremental cloud files prerequisite. Auto Loader tracks discovered files and supports incremental cloud object storage ingestion, reducing manual list-and-copy work. For the described case, the discriminating evidence is: Inspect input folder, file discovery progress, checkpoint metadata, schema storage and ingested-file counts.
C:Inspect checkpoint path, query identity, progress offsets, output sink mode and code changes. This checks Structured Streaming checkpoint recovery, not the relevant Auto Loader incremental cloud files prerequisite. Auto Loader tracks discovered files and supports incremental cloud object storage ingestion, reducing manual list-and-copy work. For the described case, the discriminating evidence is: Inspect input folder, file discovery progress, checkpoint metadata, schema storage and ingested-file counts.
Question 209
A platform team introduces a new Spark feature while legacy code relies on a library validated only on an older runtime. Before making changes, which evidence should the engineer examine FIRST to assess the requirement?
- Check supported task types, serverless availability, workload dependencies and run details before changing a job's compute.
- Inspect current runtime version, Python packages, dependency conflicts and runtime-specific feature support in failed executions.
- Inspect published tables, metric definitions, sample questions, Genie instructions and access permissions.
- Inspect cluster idle duration, current termination setting, active jobs and user session patterns before shortening the timeout.
Explanation
Correct Answer
B:Inspect current runtime version, Python packages, dependency conflicts and runtime-specific feature support in failed executions. Runtime and library versions determine supported APIs and dependencies; installing an arbitrary wheel cannot repair an incompatible execution environment. The intended corrective action is: Pin an appropriate supported Databricks Runtime and compatible libraries, testing a new version before production promotion.
Incorrect Answers
A:Check supported task types, serverless availability, workload dependencies and run details before changing a job's compute. This checks Serverless compute for supported tasks, not the relevant Runtime and library compatibility prerequisite. Runtime and library versions determine supported APIs and dependencies; installing an arbitrary wheel cannot repair an incompatible execution environment. For the described case, the discriminating evidence is: Inspect current runtime version, Python packages, dependency conflicts and runtime-specific feature support in failed executions.
C:Inspect published tables, metric definitions, sample questions, Genie instructions and access permissions. This checks AI BI Genie semantic instructions, not the relevant Runtime and library compatibility prerequisite. Runtime and library versions determine supported APIs and dependencies; installing an arbitrary wheel cannot repair an incompatible execution environment. For the described case, the discriminating evidence is: Inspect current runtime version, Python packages, dependency conflicts and runtime-specific feature support in failed executions.
D:Inspect cluster idle duration, current termination setting, active jobs and user session patterns before shortening the timeout. This checks Idle compute auto-termination, not the relevant Runtime and library compatibility prerequisite. Runtime and library versions determine supported APIs and dependencies; installing an arbitrary wheel cannot repair an incompatible execution environment. For the described case, the discriminating evidence is: Inspect current runtime version, Python packages, dependency conflicts and runtime-specific feature support in failed executions.
Question 210
A team wants a protected main branch where new extraction logic requires code review and a successful build. Which technical principle BEST explains the correct design decision?
- Branches and pull requests help coordinate conflicting edits; an unreviewed forced overwrite can silently discard another engineer's work.
- Parameterization separates workflow configuration from code and makes reruns reproducible and auditable.
- Version control tracks deliberate source changes and supports reproducible releases; workspace edit history alone does not replace a reviewed Git workflow.
- Declarative Automation Bundles replace manual resource recreation with project configuration stored alongside source and tests.
Explanation
Correct Answer
A:Branches and pull requests help coordinate conflicting edits; an unreviewed forced overwrite can silently discard another engineer's work. A sound implementation is: Resolve concurrent pipeline changes through reviewed pull requests, conflict checks and tested integration instead of manually copying fragments into production.
Incorrect Answers
B:Parameterization separates workflow configuration from code and makes reruns reproducible and auditable. This statement describes Job parameters and task values rather than the situation at hand. The Pull requests and merge conflicts design instead follows: Branches and pull requests help coordinate conflicting edits; an unreviewed forced overwrite can silently discard another engineer's work.
C:Version control tracks deliberate source changes and supports reproducible releases; workspace edit history alone does not replace a reviewed Git workflow. This statement describes Git-backed notebook source control rather than the situation at hand. The Pull requests and merge conflicts design instead follows: Branches and pull requests help coordinate conflicting edits; an unreviewed forced overwrite can silently discard another engineer's work.
D:Declarative Automation Bundles replace manual resource recreation with project configuration stored alongside source and tests. This statement describes Declarative Automation Bundles definitions rather than the situation at hand. The Pull requests and merge conflicts design instead follows: Branches and pull requests help coordinate conflicting edits; an unreviewed forced overwrite can silently discard another engineer's work.