Microsoft DP-750 Practice Test 25
Question 240
A reporting group needs SELECT on one governed dataset without becoming owner of the whole metastore. Which technical principle BEST explains the correct design decision?
- Column masks restrict visible values of a field at query time; masking does not mean dropping entire rows from a dataset.
- Unity Catalog permissions determine access to data objects independently of whether a principal can start compute.
- ABAC policies centralize tag-driven controls across collections of objects; manual per-table filters are better suited to isolated cases.
- Managed identities provide Azure resource authentication without manually managed passwords but require explicit resource authorization.
Explanation
Correct Answer
B:Unity Catalog permissions determine access to data objects independently of whether a principal can start compute. A sound implementation is: Grant only required Unity Catalog privileges on the relevant securable objects to the appropriate group or service principal.
Incorrect Answers
A:Column masks restrict visible values of a field at query time; masking does not mean dropping entire rows from a dataset. This statement describes Column masks rather than the situation at hand. The Unity Catalog grants and least privilege design instead follows: Unity Catalog permissions determine access to data objects independently of whether a principal can start compute.
C:ABAC policies centralize tag-driven controls across collections of objects; manual per-table filters are better suited to isolated cases. This statement describes ABAC governed tags and policies rather than the situation at hand. The Unity Catalog grants and least privilege design instead follows: Unity Catalog permissions determine access to data objects independently of whether a principal can start compute.
D:Managed identities provide Azure resource authentication without manually managed passwords but require explicit resource authorization. This statement describes Managed identities for Azure resources rather than the situation at hand. The Unity Catalog grants and least privilege design instead follows: Unity Catalog permissions determine access to data objects independently of whether a principal can start compute.
Question 241
An internal platform service provisions approved Databricks jobs based on submitted change requests. Which TWO actions together provide the most appropriate implementation and a necessary verification check? Select TWO.
- Use authenticated supported Databricks REST APIs for controlled deployment or job management with response validation and bounded retries.
- The job runs at the intended business time and does not inadvertently overlap protected maintenance windows.
- Inspect bundle YAML resources, target overrides, included source files and expected deploy differences.
- Inspect target workspace host, principal scope, request payload, returned IDs and HTTP status codes.
- Build layered tests covering transformation logic, connected services and a representative end-to-end pipeline with acceptance checks.
Explanation
Correct Answers
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.
D:Inspect target workspace host, principal scope, request payload, returned IDs and HTTP status codes. REST endpoints allow programmatic resource changes but require deliberate API validation, versioning and idempotency safeguards. The intended corrective action is: Use authenticated supported Databricks REST APIs for controlled deployment or job management with response validation and bounded retries.
Incorrect Answers
B:The job runs at the intended business time and does not inadvertently overlap protected maintenance windows. This step belongs to Time-based job scheduling and does not provide one of the two required checks here. REST endpoints allow programmatic resource changes but require deliberate API validation, versioning and idempotency safeguards.
C:Inspect bundle YAML resources, target overrides, included source files and expected deploy differences. This step belongs to Declarative Automation Bundles definitions and does not provide one of the two required checks here. REST endpoints allow programmatic resource changes but require deliberate API validation, versioning and idempotency safeguards.
E:Build layered tests covering transformation logic, connected services and a representative end-to-end pipeline with acceptance checks. This step belongs to Unit integration and end to end tests and does not provide one of the two required checks here. REST endpoints allow programmatic resource changes but require deliberate API validation, versioning and idempotency safeguards.
Question 242
An account analytics table has changing frequent filters by customer and region and a static partitioning strategy ages poorly. Which result BEST verifies that the proposed solution meets the stated requirement?
- A controlled restart resumes from committed progress without unexpectedly reprocessing the entire available stream.
- Query plans benefit from data skipping after appropriate clustering while maintenance remains consistent with the chosen layout.
- Queries for a chosen historical date return the correct version without leaking future corrections into past reports.
- The Delta table supports atomic changes, consistent reads and documented versioned recovery behavior.
Explanation
Correct Answer
B:Query plans benefit from data skipping after appropriate clustering while maintenance remains consistent with the chosen layout. Liquid clustering reorganizes file layout based on chosen keys; it should be selected with support constraints rather than mixed casually with conflicting layout methods.
Incorrect Answers
A:A controlled restart resumes from committed progress without unexpectedly reprocessing the entire available stream. This would validate Structured Streaming checkpoint recovery in another workload; it does not establish success of the requirement here. For this Liquid clustering data layout scenario, verify: Query plans benefit from data skipping after appropriate clustering while maintenance remains consistent with the chosen layout.
C:Queries for a chosen historical date return the correct version without leaking future corrections into past reports. This would validate Temporal as-of query model in another workload; it does not establish success of the requirement here. For this Liquid clustering data layout scenario, verify: Query plans benefit from data skipping after appropriate clustering while maintenance remains consistent with the chosen layout.
D:The Delta table supports atomic changes, consistent reads and documented versioned recovery behavior. This would validate Delta versus plain Parquet table format in another workload; it does not establish success of the requirement here. For this Liquid clustering data layout scenario, verify: Query plans benefit from data skipping after appropriate clustering while maintenance remains consistent with the chosen layout.
Question 243
A cloud operations team cannot correlate Databricks job failures with Azure incident records due to missing diagnostic forwarding. 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.
- Connect supported Databricks diagnostic signals to Azure Monitor or Log Analytics and configure actionable alerts for important job failures.
- Compare job compute consumption, task duration and resource configuration against SLAs to identify waste and sizing opportunities.
- Apply supported Delta OPTIMIZE maintenance to compact fragmented files and evaluate optional data layout separately.
Explanation
Correct Answer
B:Connect supported Databricks diagnostic signals to Azure Monitor or Log Analytics and configure actionable alerts for important job failures. This implementation meets the requirement because Central monitoring and alerts improve detection and triage; they do not automatically correct job data semantics. The relevant preflight is: Inspect diagnostic settings, delivered events, query filters, alert evaluation frequency and on-call notifications.
Incorrect Answers
A:Apply bounded job retries only after making output writes idempotent, so transient failure recovery cannot double count results. This change targets Retries with idempotent writes, where Retries repeat failed task work; their safety depends on idempotent business logic rather than the retry checkbox alone. It does not solve the specific Azure Monitor logs and alerts requirement; that instead calls for: Connect supported Databricks diagnostic signals to Azure Monitor or Log Analytics and configure actionable alerts for important job failures.
C:Compare job compute consumption, task duration and resource configuration against SLAs to identify waste and sizing opportunities. This change targets Compute consumption and cost monitoring, where Compute optimization measures total work and billed consumption, not simply minimizing worker count regardless of deadlines. It does not solve the specific Azure Monitor logs and alerts requirement; that instead calls for: Connect supported Databricks diagnostic signals to Azure Monitor or Log Analytics and configure actionable alerts for important job failures.
D: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 Azure Monitor logs and alerts requirement; that instead calls for: Connect supported Databricks diagnostic signals to Azure Monitor or Log Analytics and configure actionable alerts for important job failures.
Question 244
A developer patches a production notebook interactively and no one can reproduce the exact code that ran last Tuesday. Before making changes, which evidence should the engineer examine FIRST to assess the requirement?
- Inspect notification settings, task failure records, delivery channel configuration and contact scope.
- Inspect competing branches, changed files, reviewed diffs, CI results and specific conflicting lines.
- Inspect bundle YAML resources, target overrides, included source files and expected deploy differences.
- Inspect repository remotes, committed versions, author changes and correspondence between deployed version and source control.
Explanation
Correct Answer
D:Inspect repository remotes, committed versions, author changes and correspondence between deployed version and source control. Version control tracks deliberate source changes and supports reproducible releases; workspace edit history alone does not replace a reviewed Git workflow. The intended corrective action is: Store production notebooks and source files in a controlled Git repository with reviews instead of editing released logic directly.
Incorrect Answers
A:Inspect notification settings, task failure records, delivery channel configuration and contact scope. This checks Job failure notifications, not the relevant Git-backed notebook source control prerequisite. Version control tracks deliberate source changes and supports reproducible releases; workspace edit history alone does not replace a reviewed Git workflow. For the described case, the discriminating evidence is: Inspect repository remotes, committed versions, author changes and correspondence between deployed version and source control.
B:Inspect competing branches, changed files, reviewed diffs, CI results and specific conflicting lines. This checks Pull requests and merge conflicts, not the relevant Git-backed notebook source control prerequisite. Version control tracks deliberate source changes and supports reproducible releases; workspace edit history alone does not replace a reviewed Git workflow. For the described case, the discriminating evidence is: Inspect repository remotes, committed versions, author changes and correspondence between deployed version and source control.
C:Inspect bundle YAML resources, target overrides, included source files and expected deploy differences. This checks Declarative Automation Bundles definitions, not the relevant Git-backed notebook source control prerequisite. Version control tracks deliberate source changes and supports reproducible releases; workspace edit history alone does not replace a reviewed Git workflow. For the described case, the discriminating evidence is: Inspect repository remotes, committed versions, author changes and correspondence between deployed version and source control.
Question 245
A sales dashboard repeats the same expensive aggregation on every refresh though hourly updates are acceptable. Which result BEST verifies that the proposed solution meets the stated requirement?
- Unused interactive compute shuts down after the approved idle window without aborting required scheduled work.
- Authorized users query the foreign catalog as intended and source permissions remain enforced.
- Consumers receive results with the intended refresh semantics and the query cost aligns with the design.
- Queries resolve the intended three-level identifier and objects appear in the correct governed schema.
Explanation
Correct Answer
C:Consumers receive results with the intended refresh semantics and the query cost aligns with the design. A regular view encapsulates query logic without persisting its result; a materialized view maintains an asynchronously refreshed result when supported.
Incorrect Answers
A:Unused interactive compute shuts down after the approved idle window without aborting required scheduled work. This would validate Idle compute auto-termination in another workload; it does not establish success of the requirement here. For this Views and materialized views scenario, verify: Consumers receive results with the intended refresh semantics and the query cost aligns with the design.
B:Authorized users query the foreign catalog as intended and source permissions remain enforced. This would validate Lakehouse Federation foreign catalogs in another workload; it does not establish success of the requirement here. For this Views and materialized views scenario, verify: Consumers receive results with the intended refresh semantics and the query cost aligns with the design.
D:Queries resolve the intended three-level identifier and objects appear in the correct governed schema. This would validate Schema organization and three-part naming in another workload; it does not establish success of the requirement here. For this Views and materialized views scenario, verify: Consumers receive results with the intended refresh semantics and the query cost aligns with the design.
Question 246
An analytics table performs well on large batch files but worsens after a high-frequency microbatch deployment. Which implementation is MOST appropriate for this requirement?
- Connect supported Databricks diagnostic signals to Azure Monitor or Log Analytics and configure actionable alerts for important job failures.
- Compare job compute consumption, task duration and resource configuration against SLAs to identify waste and sizing opportunities.
- Design bounded date-parameter backfill runs with reproducible inputs, workload quotas and safe target write semantics.
- Apply supported Delta OPTIMIZE maintenance to compact fragmented files and evaluate optional data layout separately.
Explanation
Correct Answer
D: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.
Incorrect Answers
A:Connect supported Databricks diagnostic signals to Azure Monitor or Log Analytics and configure actionable alerts for important job failures. This change targets Azure Monitor logs and alerts, where Central monitoring and alerts improve detection and triage; they do not automatically correct job data semantics. It does not solve the specific Delta OPTIMIZE file compaction requirement; that instead calls for: Apply supported Delta OPTIMIZE maintenance to compact fragmented files and evaluate optional data layout separately.
B:Compare job compute consumption, task duration and resource configuration against SLAs to identify waste and sizing opportunities. This change targets Compute consumption and cost monitoring, where Compute optimization measures total work and billed consumption, not simply minimizing worker count regardless of deadlines. It does not solve the specific Delta OPTIMIZE file compaction requirement; that instead calls for: Apply supported Delta OPTIMIZE maintenance to compact fragmented files and evaluate optional data layout separately.
C:Design bounded date-parameter backfill runs with reproducible inputs, workload quotas and safe target write semantics. This change targets Historical backfill execution, where Backfills replay defined historical windows and must account for late data and idempotency rather than simply repeating the latest run. It does not solve the specific Delta OPTIMIZE file compaction requirement; that instead calls for: Apply supported Delta OPTIMIZE maintenance to compact fragmented files and evaluate optional data layout separately.
Question 247
A metrics feed arrives with a column per sensor type and must become a tall dataset of sensor observations. Which implementation is MOST appropriate for this requirement?
- Apply grouping, aggregation or pivot/unpivot to produce the required reporting grain with explicit null and duplicate handling.
- Choose a supported SQL join or UNION/INTERSECT/EXCEPT operation based on whether columns or row sets must be combined.
- Persist a stable supported checkpoint location for a streaming query and understand replay behavior on restart.
- Deduplicate by a documented business key and deterministic latest-event ordering, resolving ties explicitly.
Explanation
Correct Answer
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.
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 Pivot unpivot and group aggregations requirement; that instead calls for: Apply grouping, aggregation or pivot/unpivot to produce the required reporting grain with explicit null and duplicate handling.
C:Persist a stable supported checkpoint location for a streaming query and understand replay behavior on restart. This change targets Structured Streaming checkpoint recovery, where Structured Streaming checkpoint state is needed for reliable progress and state recovery; using a new path can restart ingestion. It does not solve the specific Pivot unpivot and group aggregations requirement; that instead calls for: Apply grouping, aggregation or pivot/unpivot to produce the required reporting grain with explicit null and duplicate handling.
D:Deduplicate by a documented business key and deterministic latest-event ordering, resolving ties explicitly. This change targets Deduplication with window ranking, where Window ranking can select an authoritative record per key; arbitrary dropDuplicates on ambiguous updates may preserve the wrong version. It does not solve the specific Pivot unpivot and group aggregations requirement; that instead calls for: Apply grouping, aggregation or pivot/unpivot to produce the required reporting grain with explicit null and duplicate handling.
Question 248
A factory emits machine health messages continuously to an Azure Event Hubs namespace. Which result BEST verifies that the proposed solution meets the stated requirement?
- Representative filtered reads skip irrelevant partitions and the table avoids an explosion of tiny partition directories.
- New events reach the intended Delta pipeline and offsets advance without unauthorized credential exposure.
- A controlled restart resumes from committed progress without unexpectedly reprocessing the entire available stream.
- The new table contains the expected transformed rows and is queryable under the intended three-part name.
Explanation
Correct Answer
B:New events reach the intended Delta pipeline and offsets advance without unauthorized credential exposure. Event Hubs delivers partitioned event streams; a connector and consumer progress management are required for a reliable ingest.
Incorrect Answers
A:Representative filtered reads skip irrelevant partitions and the table avoids an explosion of tiny partition directories. This would validate Partition pruning and small-file risk in another workload; it does not establish success of the requirement here. For this Azure Event Hubs ingestion scenario, verify: New events reach the intended Delta pipeline and offsets advance without unauthorized credential exposure.
C:A controlled restart resumes from committed progress without unexpectedly reprocessing the entire available stream. This would validate Structured Streaming checkpoint recovery in another workload; it does not establish success of the requirement here. For this Azure Event Hubs ingestion scenario, verify: New events reach the intended Delta pipeline and offsets advance without unauthorized credential exposure.
D:The new table contains the expected transformed rows and is queryable under the intended three-part name. This would validate CREATE TABLE AS SELECT materialization in another workload; it does not establish success of the requirement here. For this Azure Event Hubs ingestion scenario, verify: New events reach the intended Delta pipeline and offsets advance without unauthorized credential exposure.
Question 249
A contractor can start a cluster but receives an authorization error reading a restricted finance table. Which implementation is MOST appropriate for this requirement?
- Use supported Azure managed identity authorization when accessing Azure resources instead of storing a long-lived application secret.
- Configure and review supported Databricks audit delivery and system log evidence for sensitive object changes.
- Grant only required Unity Catalog privileges on the relevant securable objects to the appropriate group or service principal.
- Run unattended Databricks operations using a scoped service principal rather than a departing employee's personal identity.
Explanation
Correct Answer
C:Grant only required Unity Catalog privileges on the relevant securable objects to the appropriate group or service principal. This implementation meets the requirement because Unity Catalog permissions determine access to data objects independently of whether a principal can start compute. The relevant preflight is: Inspect principal membership and effective privileges at catalog, schema and table scopes.
Incorrect Answers
A:Use supported Azure managed identity authorization when accessing Azure resources instead of storing a long-lived application secret. This change targets Managed identities for Azure resources, where Managed identities provide Azure resource authentication without manually managed passwords but require explicit resource authorization. It does not solve the specific Unity Catalog grants and least privilege requirement; that instead calls for: Grant only required Unity Catalog privileges on the relevant securable objects to the appropriate group or service principal.
B:Configure and review supported Databricks audit delivery and system log evidence for sensitive object changes. This change targets Audit logs for governed access, where Audit records document supported operations for investigation and oversight; they do not automatically prevent a permitted but undesirable query. It does not solve the specific Unity Catalog grants and least privilege requirement; that instead calls for: Grant only required Unity Catalog privileges on the relevant securable objects to the appropriate group or service principal.
D: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 Unity Catalog grants and least privilege requirement; that instead calls for: Grant only required Unity Catalog privileges on the relevant securable objects to the appropriate group or service principal.
Question 250
A team loads a daily set of Parquet extracts and occasionally reruns the batch after timeout. Which result BEST verifies that the proposed solution meets the stated requirement?
- Rerunning the same supported file load does not duplicate already processed files and newly added files appear.
- Expected late arrivals within the tolerated window contribute correctly while obsolete state is bounded as designed.
- A test fixture reconciles summarized totals and produces expected wide or long reporting columns.
- New events reach the intended Delta pipeline and offsets advance without unauthorized credential exposure.
Explanation
Correct Answer
A:Rerunning the same supported file load does not duplicate already processed files and newly added files appear. COPY INTO tracks previously loaded files for supported repeatable ingestion; unchecked INSERT SELECT on all files can double count rows.
Incorrect Answers
B:Expected late arrivals within the tolerated window contribute correctly while obsolete state is bounded as designed. This would validate Streaming watermarks for late events in another workload; it does not establish success of the requirement here. For this COPY INTO idempotent file loads scenario, verify: Rerunning the same supported file load does not duplicate already processed files and newly added files appear.
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 COPY INTO idempotent file loads scenario, verify: Rerunning the same supported file load does not duplicate already processed files and newly added files appear.
D:New events reach the intended Delta pipeline and offsets advance without unauthorized credential exposure. This would validate Azure Event Hubs ingestion in another workload; it does not establish success of the requirement here. For this COPY INTO idempotent file loads scenario, verify: Rerunning the same supported file load does not duplicate already processed files and newly added files appear.