Microsoft DP-750 Practice Test 42
Question 410
A marketing lookup needs only each store's current manager and intentionally discards earlier assignments. Which implementation is MOST appropriate for this requirement?
- Use an SCD Type 1 update when the business requires only the newest attribute value rather than prior versions.
- Choose a supported SQL join or UNION/INTERSECT/EXCEPT operation based on whether columns or row sets must be combined.
- Separate landing, validated and business-ready data layers with explicit transformation contracts and lineage.
- Implement SCD Type 2 records with effective dating or current flags when historical attribute changes must remain queryable.
Explanation
Correct Answer
A:Use an SCD Type 1 update when the business requires only the newest attribute value rather than prior versions. This implementation meets the requirement because SCD Type 1 overwrites prior attribute state; it does not preserve a timeline of superseded values. The relevant preflight is: Inspect the natural key, effective update feed, uniqueness conditions and stated history requirements.
Incorrect Answers
B:Choose a supported SQL join or UNION/INTERSECT/EXCEPT operation based on whether columns or row sets must be combined. This change targets SQL joins versus set operators, where Joins combine related columns by matching keys, while set operations combine or compare whole compatible row sets. It does not solve the specific Slowly changing dimension Type 1 requirement; that instead calls for: Use an SCD Type 1 update when the business requires only the newest attribute value rather than prior versions.
C:Separate landing, validated and business-ready data layers with explicit transformation contracts and lineage. This change targets Medallion bronze silver gold modeling, where A medallion layout separates source preservation, quality standardization and consumption-ready aggregates rather than duplicating one uncontrolled table. It does not solve the specific Slowly changing dimension Type 1 requirement; that instead calls for: Use an SCD Type 1 update when the business requires only the newest attribute value rather than prior versions.
D:Implement SCD Type 2 records with effective dating or current flags when historical attribute changes must remain queryable. This change targets Slowly changing dimension Type 2, where SCD Type 2 preserves prior attribute states in separate time-bounded rows, unlike overwrite-only Type 1 handling. It does not solve the specific Slowly changing dimension Type 1 requirement; that instead calls for: Use an SCD Type 1 update when the business requires only the newest attribute value rather than prior versions.
Question 411
An ingestion workflow needs a notebook extract task, SQL transformation task and validation task with separate owners. Which TWO actions together provide the most appropriate implementation and a necessary verification check? Select TWO.
- The table has fewer appropriately sized files and representative scans improve without changing the logical records.
- 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.
- Apply bounded job retries only after making output writes idempotent, so transient failure recovery cannot double count results.
- Inspect task dependencies, upstream data readiness, run timestamps and failure propagation.
Explanation
Correct Answers
B: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.
C: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
A:The table has fewer appropriately sized files and representative scans improve without changing the logical records. This step belongs to Delta OPTIMIZE file compaction 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:Apply bounded job retries only after making output writes idempotent, so transient failure recovery cannot double count results. This step belongs to Retries with idempotent writes 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 task dependencies, upstream data readiness, run timestamps and failure propagation. This step belongs to Pipeline dependency ordering 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 412
A procurement application keeps current orders in a supported external database and analysts need occasional federated SQL access. Which technical principle BEST explains the correct design decision?
- A regular view encapsulates query logic without persisting its result; a materialized view maintains an asynchronously refreshed result when supported.
- Lakehouse Federation exposes remote data through governed foreign catalogs, whereas ingestion pipelines physically copy data into a lakehouse table.
- Autoscaling responds to changing compute demand but does not fix skewed keys, broken queries or unbounded costs by itself.
- Genie relies on governed data, examples and semantic instructions; conversational discovery does not override Unity Catalog data permissions.
Explanation
Correct Answer
B:Lakehouse Federation exposes remote data through governed foreign catalogs, whereas ingestion pipelines physically copy data into a lakehouse table. A sound implementation is: Configure supported connections and foreign catalogs for read access to external database sources without first copying every source table.
Incorrect Answers
A: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 Lakehouse Federation foreign catalogs design instead follows: Lakehouse Federation exposes remote data through governed foreign catalogs, whereas ingestion pipelines physically copy data into a lakehouse table.
C:Autoscaling responds to changing compute demand but does not fix skewed keys, broken queries or unbounded costs by itself. This statement describes Compute autoscaling rather than the situation at hand. The Lakehouse Federation foreign catalogs design instead follows: Lakehouse Federation exposes remote data through governed foreign catalogs, whereas ingestion pipelines physically copy data into a lakehouse table.
D: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 Lakehouse Federation foreign catalogs design instead follows: Lakehouse Federation exposes remote data through governed foreign catalogs, whereas ingestion pipelines physically copy data into a lakehouse table.
Question 413
A storage ingestion pipeline must access a protected Azure storage account and security prohibits checked-in access keys. Which result BEST verifies that the proposed solution meets the stated requirement?
- Scheduled operations continue under the approved nonhuman identity and cannot access unauthorized data.
- Expired information is removed under approved policy without deleting records under an applicable hold or required recovery period.
- An approved workload accesses its designated Azure storage resource with no embedded static client secret.
- The principal can resolve and query the intended table without gaining access to other schemas.
Explanation
Correct Answer
C:An approved workload accesses its designated Azure storage resource with no embedded static client secret. Managed identities provide Azure resource authentication without manually managed passwords but require explicit resource authorization.
Incorrect Answers
A:Scheduled operations continue under the approved nonhuman identity and cannot access unauthorized data. This would validate Service principal for automated data jobs in another workload; it does not establish success of the requirement here. For this Managed identities for Azure resources scenario, verify: An approved workload accesses its designated Azure storage resource with no embedded static client secret.
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 Managed identities for Azure resources scenario, verify: An approved workload accesses its designated Azure storage resource with no embedded static client secret.
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 Managed identities for Azure resources scenario, verify: An approved workload accesses its designated Azure storage resource with no embedded static client secret.
Question 414
A network timeout occasionally breaks a notebook that writes daily totals and operations wants automatic retries. Which implementation is MOST appropriate for this requirement?
- Apply bounded job retries only after making output writes idempotent, so transient failure recovery cannot double count results.
- Choose Lakeflow Spark Declarative Pipelines for managed dataflow and expectation-driven incremental tables, or notebook tasks for custom procedural logic.
- Investigate shuffle and disk spill metrics, memory pressure and partition sizing before changing Spark compute configuration.
- Set realistic task timeouts and cancellation behavior with explicit handling of partial outputs and long-running operations.
Explanation
Correct Answer
A: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
B:Choose Lakeflow Spark Declarative Pipelines for managed dataflow and expectation-driven incremental tables, or notebook tasks for custom procedural logic. This change targets Notebook versus declarative pipeline, where Declarative pipelines model table relationships and managed processing, whereas notebooks offer explicit procedural control and custom code. 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:Investigate shuffle and disk spill metrics, memory pressure and partition sizing before changing Spark compute configuration. This change targets Shuffle spill and memory tuning, where Large shuffles and insufficient execution memory can force disk spill; caching unrelated tables is not a universal remedy. 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:Set realistic task timeouts and cancellation behavior with explicit handling of partial outputs and long-running operations. This change targets Timeouts and cancellation safety, where Timeouts bound runaway work but do not automatically roll back arbitrary external side effects or invalid partial writes. 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 415
A regulated feed must stop publication when customer_id is null rather than silently dropping high-risk records. Which TWO actions together provide the most appropriate implementation and a necessary verification check? Select TWO.
- Historical fact queries join to the dimension version effective at the event time with one active version per key.
- Inspect null frequencies, mandatory fields, source conventions and downstream aggregation meaning.
- Use data types and explicit casts matched to source semantics, preserving required decimals and rejecting unsafe conversions.
- Attach supported Lakeflow Spark Declarative Pipelines expectations with warning, drop or fail behavior appropriate to data quality policy.
- Inspect invalid row examples, expectation definitions, pipeline event logs and required downstream completeness.
Explanation
Correct Answers
D:Attach supported Lakeflow Spark Declarative Pipelines expectations with warning, drop or fail behavior appropriate to data quality policy. This implementation meets the requirement because Pipeline expectations enforce declarative row-quality checks; passing a schema does not prove values satisfy business constraints. The relevant preflight is: Inspect invalid row examples, expectation definitions, pipeline event logs and required downstream completeness.
E:Inspect invalid row examples, expectation definitions, pipeline event logs and required downstream completeness. Pipeline expectations enforce declarative row-quality checks; passing a schema does not prove values satisfy business constraints. The intended corrective action is: Attach supported Lakeflow Spark Declarative Pipelines expectations with warning, drop or fail behavior appropriate to data quality policy.
Incorrect Answers
A: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. Pipeline expectations enforce declarative row-quality checks; passing a schema does not prove values satisfy business constraints.
B:Inspect null frequencies, mandatory fields, source conventions and downstream aggregation meaning. This step belongs to Missing and null value handling and does not provide one of the two required checks here. Pipeline expectations enforce declarative row-quality checks; passing a schema does not prove values satisfy business constraints.
C:Use data types and explicit casts matched to source semantics, preserving required decimals and rejecting unsafe conversions. This step belongs to Data type cast and numeric precision and does not provide one of the two required checks here. Pipeline expectations enforce declarative row-quality checks; passing a schema does not prove values satisfy business constraints.
Question 416
A regulator requests reprocessing of the past ten missing daily partitions after a connector outage. Which implementation is MOST appropriate for this requirement?
- Resolve concurrent pipeline changes through reviewed pull requests, conflict checks and tested integration instead of manually copying fragments into production.
- Create a Lakeflow Job schedule in the intended time zone with dependency-aware processing windows and availability requirements.
- Design bounded date-parameter backfill runs with reproducible inputs, workload quotas and safe target write semantics.
- Use a supported file arrival trigger when the workflow should start after new qualifying files appear at a monitored location.
Explanation
Correct Answer
C:Design bounded date-parameter backfill runs with reproducible inputs, workload quotas and safe target write semantics. This implementation meets the requirement because Backfills replay defined historical windows and must account for late data and idempotency rather than simply repeating the latest run. The relevant preflight is: Inspect missed partitions, retention limits, date parameter handling and deduplication or MERGE keys.
Incorrect Answers
A:Resolve concurrent pipeline changes through reviewed pull requests, conflict checks and tested integration instead of manually copying fragments into production. This change targets Pull requests and merge conflicts, where Branches and pull requests help coordinate conflicting edits; an unreviewed forced overwrite can silently discard another engineer's work. It does not solve the specific Historical backfill execution requirement; that instead calls for: Design bounded date-parameter backfill runs with reproducible inputs, workload quotas and safe target write semantics.
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 Historical backfill execution requirement; that instead calls for: Design bounded date-parameter backfill runs with reproducible inputs, workload quotas and safe target write semantics.
D:Use a supported file arrival trigger when the workflow should start after new qualifying files appear at a monitored location. This change targets File arrival job trigger, where A file arrival trigger is event-driven from new data presence; a fixed schedule does not inherently signal source readiness. It does not solve the specific Historical backfill execution requirement; that instead calls for: Design bounded date-parameter backfill runs with reproducible inputs, workload quotas and safe target write semantics.
Question 417
A team wrongly expects a view definition to become a fully materialized dataset without creating a table. Which implementation is MOST appropriate for this requirement?
- Ingest supported Azure Event Hubs streams through an appropriate Spark connector with checkpoint and offset management.
- Apply grouping, aggregation or pivot/unpivot to produce the required reporting grain with explicit null and duplicate handling.
- Use SQL COPY INTO for supported incremental file-to-Delta loading while retaining file-processing state and monitoring errors.
- Use CREATE TABLE AS SELECT when a persistent new table must be created from a defined query result.
Explanation
Correct Answer
D: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: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 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:Apply grouping, aggregation or pivot/unpivot to produce the required reporting grain with explicit null and duplicate handling. This change targets Pivot unpivot and group aggregations, where Pivot and unpivot reshape dimensions into columns or records; aggregation changes grain and must preserve intended measure semantics. 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.
C: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.
Question 418
A team wants a protected main branch where new extraction logic requires code review and a successful build. Which TWO actions together provide the most appropriate implementation and a necessary verification check? Select TWO.
- Approved obsolete files are removed while required history and active streaming readers remain functional.
- Inspect competing branches, changed files, reviewed diffs, CI results and specific conflicting lines.
- Use authenticated supported Databricks REST APIs for controlled deployment or job management with response validation and bounded retries.
- Inspect deterministic fixtures, test environment isolation, downstream assertions and failure coverage.
- Resolve concurrent pipeline changes through reviewed pull requests, conflict checks and tested integration instead of manually copying fragments into production.
Explanation
Correct Answers
B:Inspect competing branches, changed files, reviewed diffs, CI results and specific conflicting lines. Branches and pull requests help coordinate conflicting edits; an unreviewed forced overwrite can silently discard another engineer's work. The intended corrective action is: Resolve concurrent pipeline changes through reviewed pull requests, conflict checks and tested integration instead of manually copying fragments into production.
E:Resolve concurrent pipeline changes through reviewed pull requests, conflict checks and tested integration instead of manually copying fragments into production. This implementation meets the requirement because Branches and pull requests help coordinate conflicting edits; an unreviewed forced overwrite can silently discard another engineer's work. The relevant preflight is: Inspect competing branches, changed files, reviewed diffs, CI results and specific conflicting lines.
Incorrect Answers
A:Approved obsolete files are removed while required history and active streaming readers remain functional. This step belongs to Delta VACUUM retention safety and does not provide one of the two required checks here. Branches and pull requests help coordinate conflicting edits; an unreviewed forced overwrite can silently discard another engineer's work.
C:Use authenticated supported Databricks REST APIs for controlled deployment or job management with response validation and bounded retries. This step belongs to REST API deployment automation and does not provide one of the two required checks here. Branches and pull requests help coordinate conflicting edits; an unreviewed forced overwrite can silently discard another engineer's work.
D:Inspect deterministic fixtures, test environment isolation, downstream assertions and failure coverage. This step belongs to Unit integration and end to end tests and does not provide one of the two required checks here. Branches and pull requests help coordinate conflicting edits; an unreviewed forced overwrite can silently discard another engineer's work.
Question 419
A sales dashboard must show each territory manager only deals belonging to that person's territory. Before making changes, which evidence should the engineer examine FIRST to assess the requirement?
- Inspect object metadata, description quality, owners and whether descriptions align with current schema and lineage.
- Inspect mask function, column data type, user entitlements and returned values for test principals.
- Inspect table filter attachment, identity context, SQL function behavior and test queries for separate roles.
- Inspect secret scope access, vault policies, key rotation state and the job principal's permissions.
Explanation
Correct Answer
C:Inspect table filter attachment, identity context, SQL function behavior and test queries for separate roles. Row filters enforce per-row query-time security and should be validated separately from ordinary table-level SELECT grants. The intended corrective action is: Apply a governed table row filter with a suitable SQL function to constrain which records different identities can read.
Incorrect Answers
A:Inspect object metadata, description quality, owners and whether descriptions align with current schema and lineage. This checks Table and column descriptions, not the relevant Table row filters prerequisite. Row filters enforce per-row query-time security and should be validated separately from ordinary table-level SELECT grants. For the described case, the discriminating evidence is: Inspect table filter attachment, identity context, SQL function behavior and test queries for separate roles.
B:Inspect mask function, column data type, user entitlements and returned values for test principals. This checks Column masks, not the relevant Table row filters prerequisite. Row filters enforce per-row query-time security and should be validated separately from ordinary table-level SELECT grants. For the described case, the discriminating evidence is: Inspect table filter attachment, identity context, SQL function behavior and test queries for separate roles.
D:Inspect secret scope access, vault policies, key rotation state and the job principal's permissions. This checks Azure Key Vault backed secrets, not the relevant Table row filters prerequisite. Row filters enforce per-row query-time security and should be validated separately from ordinary table-level SELECT grants. For the described case, the discriminating evidence is: Inspect table filter attachment, identity context, SQL function behavior and test queries for separate roles.
Question 420
A security officer asks who granted SELECT to an external group in a production catalog. Before making changes, which evidence should the engineer examine FIRST to assess the requirement?
- Inspect relevant audit event types, event timestamps, identities, target objects and configured delivery destination.
- Inspect table history needs, retention configuration, applicable holds and cleanup consequences before deleting data.
- Inspect Catalog Explorer lineage graphs, owner and modification history, upstream input tables and downstream reports.
- Inspect Azure managed identity association, supported connector, resource permissions and sign-in errors.
Explanation
Correct Answer
A:Inspect relevant audit event types, event timestamps, identities, target objects and configured delivery destination. Audit records document supported operations for investigation and oversight; they do not automatically prevent a permitted but undesirable query. The intended corrective action is: Configure and review supported Databricks audit delivery and system log evidence for sensitive object changes.
Incorrect Answers
B:Inspect table history needs, retention configuration, applicable holds and cleanup consequences before deleting data. This checks Retention and deletion policy, not the relevant Audit logs for governed access prerequisite. Audit records document supported operations for investigation and oversight; they do not automatically prevent a permitted but undesirable query. For the described case, the discriminating evidence is: Inspect relevant audit event types, event timestamps, identities, target objects and configured delivery destination.
C:Inspect Catalog Explorer lineage graphs, owner and modification history, upstream input tables and downstream reports. This checks Data lineage and dependencies, not the relevant Audit logs for governed access prerequisite. Audit records document supported operations for investigation and oversight; they do not automatically prevent a permitted but undesirable query. For the described case, the discriminating evidence is: Inspect relevant audit event types, event timestamps, identities, target objects and configured delivery destination.
D:Inspect Azure managed identity association, supported connector, resource permissions and sign-in errors. This checks Managed identities for Azure resources, not the relevant Audit logs for governed access prerequisite. Audit records document supported operations for investigation and oversight; they do not automatically prevent a permitted but undesirable query. For the described case, the discriminating evidence is: Inspect relevant audit event types, event timestamps, identities, target objects and configured delivery destination.