Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free Microsoft Implementing Data Engineering Solutions Using Azure Databricks DP-750 Exam Questions

Last updated: · 13 practice questions with answers and explanations

Page: 1 / 11 Total 108 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Set up and configure an Azure Databricks environment

Skill tested: Selects compute configuration appropriate for interactive development and shared access.

A data engineering team is migrating exploratory notebook work to an Azure Databricks workspace. Engineers need to interactively run notebooks, install approved libraries, and collaborate on a shared dataset. The team wants compute to start quickly and stop automatically after inactivity. A separate production pipeline already uses job-oriented compute, and the exploratory environment must not become a long-running cluster. Which compute choice best meets the team's requirements?

Correct Answer: D. Create an all-purpose compute resource with an appropriate access mode and an auto-termination interval.
Explanation:

All-purpose compute is intended for interactive notebook development, and its access mode can support the required collaboration and governance model. Configuring auto-termination limits idle resource use without preventing engineers from starting interactive work when needed. Jobs compute is designed for automated workloads rather than persistent shared development. A SQL warehouse is intended for SQL analytics, not general-purpose notebook execution. A continuously running single-node job resource does not fit collaborative development and wastes resources while idle.

Question 2

New Multiple answers

Topic: Set up and configure an Azure Databricks environment

Skill tested: Diagnoses library installation scope and verifies compute access through permissions.

A workspace administrator is preparing a governed development environment. A Python package is required by several notebooks, and the team must be able to use it on approved shared compute without manually installing it in each notebook. One engineer can see the compute resource but receives an authorization error when attempting to attach. The organization does not want to grant workspace-wide administrative rights. Which TWO actions should the administrator take? Select TWO.

Correct Answer: B. Grant the engineer the compute permission required to attach to that resource.; D. Install the package as a compute-scoped library on the approved compute resource.
Explanation:

A compute-scoped library makes the dependency available to workloads using that approved compute, rather than relying on each notebook author to install it. The authorization failure is separate: visibility does not itself grant permission to attach, so the administrator should grant the least-privilege compute permission that permits attachment. Workspace administrator membership is excessive, while metastore ownership governs data governance rather than compute attachment. A notebook installation cell is not a centrally managed library deployment and does not reliably satisfy the shared-compute requirement.

Question 3

New Single answer

Topic: Set up and configure an Azure Databricks environment

Skill tested: Chooses compute settings to improve Spark workload performance within cost constraints.

A nightly Spark transformation processes a large volume of records. Monitoring shows that a small number of tasks run much longer than the rest, leaving most executors idle near the end of the job. The data volume varies substantially by day, so the team wants the cluster to scale within limits rather than provision for the largest day every night. The workload is not latency-sensitive, and the team has confirmed that the long tasks are not caused by a single exceptionally large input file. Which change is the best first configuration improvement?

Correct Answer: B. Enable autoscaling with suitable minimum and maximum worker bounds, then investigate the straggling tasks in the Spark UI.
Explanation:

Bounded autoscaling allows worker capacity to follow varying workload demand while controlling the maximum resource footprint. The Spark UI should be used to inspect task duration and executor behavior because idle executors alongside a few stragglers can indicate uneven task work or other bottlenecks that scaling alone will not eliminate. A fixed maximum cluster ignores the cost constraint. Reducing workers is unlikely to resolve stragglers and can increase runtime. Driver sizing does not directly make long executor tasks finish faster.

Question 4

New Single answer

Topic: Secure and govern Unity Catalog objects

Skill tested: Applies Unity Catalog grants at the narrowest catalog and schema scope.

A reporting group needs to query tables in the `finance_curated` schema of the `analytics` catalog. The group must not create tables, alter objects, or read data in other schemas. A platform team currently proposes granting broad access on the catalog to simplify onboarding. You must give the group the minimum Unity Catalog privileges needed to discover the schema and query existing tables, while preserving the stated boundaries. Which grant design is most appropriate?

Correct Answer: C. Grant `USE CATALOG` on `analytics` and `USE SCHEMA` plus `SELECT` on `finance_curated`.
Explanation:

Unity Catalog access requires the relevant namespace usage privileges as well as privileges on the data object. Granting `USE CATALOG` and `USE SCHEMA` permits the group to resolve the requested namespace, while `SELECT` on the schema grants read access to its tables without granting object creation or access to other schemas. Catalog-wide `ALL PRIVILEGES` is unnecessarily broad. `SELECT` on a catalog is not the applicable table-reading grant, and `CREATE SCHEMA` exceeds the request. Schema usage alone does not grant table data access.

Question 5

New Multiple answers

Topic: Secure and govern Unity Catalog objects

Skill tested: Configures row filters and column masks to enforce sensitive-data access policies.

A retailer stores customer records in a Unity Catalog table with a region column and a national identifier column. Analysts may see only rows for regions assigned to them, while members of a designated privacy group may see the identifier; other authorized analysts must receive a masked value. The team wants policy enforcement at query time so the same restrictions apply through different SQL clients. Which TWO approaches best satisfy the requirement? Select TWO.

Correct Answer: A. Apply a column mask to the identifier that returns its value for the privacy group and a masked representation for other users.; B. Apply a row filter that evaluates the user's permitted regions and excludes rows outside that set.
Explanation:

A Unity Catalog row filter enforces row-level access during queries, and a column mask can conditionally expose or obscure a sensitive value based on the querying principal or group. These policies apply at the governed data object rather than relying on each client to implement controls. Per-user physical copies create operational and consistency problems and are not a substitute for query-time policy enforcement. Documentation or user instructions do not enforce access. Partitioning is a storage and performance technique, not an authorization boundary.

Question 6

New Single answer

Topic: Secure and govern Unity Catalog objects

Skill tested: Verifies effective Unity Catalog access and uses audit records for governance evidence.

A compliance analyst reports that a user can query a table despite not seeing a direct `SELECT` grant assigned to the user. The organization needs to identify the effective authorization path and preserve evidence of data-access activity. The user may belong to nested or inherited groups, and the team must not change permissions until the cause is understood. What should the data steward do first?

Correct Answer: A. Inspect effective privileges, including group and inherited grants, and review Unity Catalog audit events for the user's access.
Explanation:

The absence of a direct user grant does not establish that access is unauthorized: permissions may be inherited through a group or granted at a broader securable scope. Inspecting effective privileges identifies the authorization path without making a disruptive change, while audit events provide evidence of relevant access activity. Immediately revoking broad grants can interrupt legitimate workloads and destroy the opportunity to understand the issue. Workspace membership alone is not equivalent to table privileges, and disabling table history does not address current access authorization.

Question 7

New Multiple answers

Topic: Prepare and process data

Skill tested: Builds incremental ingestion using Auto Loader schema tracking and checkpoint state.

A logistics company receives continuously arriving JSON files in cloud object storage. New fields may appear over time, and the ingestion pipeline must process new files incrementally without rereading the full directory after each run. The team wants to retain streaming progress and schema evolution state across restarts. It uses a Unity Catalog managed target table and does not want to maintain a custom file-discovery process. Which TWO design choices best meet these needs? Select TWO.

Correct Answer: C. Configure a persistent schema location for Auto Loader to track inferred schema and evolution.; D. Use Auto Loader with a persistent checkpoint location for the streaming query.
Explanation:

Auto Loader is designed for incremental file ingestion, and its checkpoint stores streaming progress so restarts can continue without treating all prior input as new. A persistent schema location records inferred schema information and supports controlled schema evolution as new fields arrive. In-memory tracking is lost when a process ends and requires custom discovery logic. Overwriting the target risks losing prior data and does not provide durable incremental progress. A broadcast variable is a runtime optimization, not persistent ingestion state.

Question 8

New Single answer

Topic: Prepare and process data

Skill tested: Enforces incoming data quality with schema validation and controlled corrupt-record handling.

An ingestion pipeline reads partner-delivered CSV files into a curated table. The contract requires an integer order identifier and decimal amount; malformed records must be quarantined for investigation, and the pipeline must fail visibly if a required field disappears rather than silently publishing incomplete data. The source occasionally includes extra optional columns that may be ignored. Which implementation best satisfies these requirements?

Correct Answer: D. Define an explicit schema, configure corrupt-record capture, and validate required columns before writing curated output.
Explanation:

An explicit schema enforces the expected types instead of allowing each file's contents to determine the interpretation. Capturing corrupt records supports quarantine and investigation, while an explicit validation step can prevent a missing required field from being silently accepted into curated output. Inferred permissive parsing weakens the contract and loses the required error evidence. Writing unvalidated strings to production delays failures and can publish bad data. Schema evolution addresses compatible schema changes; it should not be used to waive required-field validation.

Question 9

New Single answer

Topic: Prepare and process data

Skill tested: Selects Delta partitioning based on data volume and query predicates.

A team stores several terabytes of event data in a Delta table. Most queries filter by event date and aggregate across many customers; only a small number of analyses filter on customer identifier. The current table is partitioned by customer identifier, producing many small directories and slow metadata operations. The team wants date-filtered scans to prune data effectively without creating excessive partitions. Which redesign is most appropriate?

Correct Answer: C. Partition by event date at a suitable granularity and avoid partitioning by the high-cardinality customer identifier.
Explanation:

Partitioning should align with common selective predicates while avoiding high-cardinality keys that create excessive partition directories and small files. A date-based partition at an appropriate granularity allows date-range queries to skip irrelevant data and matches the dominant workload. Adding customer identifier to the partition specification worsens partition proliferation. Finer customer partitioning amplifies the existing problem. Removing the date column would eliminate useful filtering rather than improve layout.

Question 10

New Multiple answers

Topic: Prepare and process data

Skill tested: Uses Delta Lake clustering and maintenance to improve selective query performance.

A large Unity Catalog Delta table is queried by many different combinations of customer ID, product ID, and transaction date. The workload changes over time, so a fixed partition scheme would be difficult to maintain. The table is large enough for data layout optimization to matter, and the team can run scheduled maintenance. It wants to improve data skipping without partitioning on high-cardinality columns. Which TWO actions are most appropriate? Select TWO.

Correct Answer: D. Run `OPTIMIZE` as appropriate to compact and organize files for the chosen table layout.; E. Use liquid clustering on suitable frequently filtered columns and maintain the table with the applicable clustering optimization.
Explanation:

Liquid clustering can organize Delta data around selected columns without imposing a rigid high-cardinality partition tree, making it suitable when predicates vary and the layout may need to evolve. Appropriate `OPTIMIZE` maintenance compacts and organizes files, supporting the intended layout and data skipping. Partitioning by every customer-product combination or by every queried column creates excessive small partitions and maintenance overhead. Disabling statistics undermines file-level skipping rather than improving it.

Question 11

New Single answer

Topic: Prepare and process data

Skill tested: Implements deterministic deduplication and cleansing with Spark transformations.

A streaming source can resend the same business event after a retry. Each event has a stable event ID, an event timestamp, and a source update sequence. The curated Delta table must retain only one row per event ID, preferring the row with the highest update sequence and then the newest timestamp when sequences tie. The source can contain null IDs and malformed timestamps, which must be excluded from curated output. Which transformation strategy is best?

Correct Answer: C. Filter invalid IDs and timestamps, rank rows per event ID by update sequence and timestamp descending, and keep rank one.
Explanation:

Filtering invalid keys and timestamps prevents malformed records from contaminating the curated table. A window rank ordered by update sequence and timestamp implements the required deterministic preference and retains one selected row per event ID. `dropDuplicates` does not express which duplicate should win. Sorting only by timestamp omits the required sequence priority and may remain nondeterministic on ties. Arbitrary first-value aggregation likewise fails to encode the business selection rule.

Question 12

New Single answer

Topic: Prepare and process data

Skill tested: Chooses a dimensional model that supports reliable fact-to-dimension joins.

A finance team receives transaction records and must publish a model for repeated reporting by product, customer, and transaction date. Analysts need additive measures such as quantity and net amount, while descriptive attributes change more slowly than transactions. The pipeline must support joins that do not multiply transaction measures and must keep the model understandable for SQL consumers. Which modeling design is most appropriate?

Correct Answer: D. Create a transaction fact table at a clearly defined grain with foreign keys to product, customer, and date dimensions.
Explanation:

A fact table with an explicit transaction grain and dimension keys provides a stable structure for additive measures and repeated analytical joins. Defining the grain prevents ambiguous duplication, while dimensions hold descriptive context for customer, product, and date analysis. A single unkeyed denormalized table makes consistency and joins harder to manage. Per-report copies create duplicate maintenance paths. A transaction-level dimension misclassifies measures and pushes aggregation logic into consumers.

Question 13

New Single answer

Topic: Deploy and maintain data pipelines and workloads

Skill tested: Designs Lakeflow Jobs task dependencies and failure behavior for pipeline stages.

A production workflow has three stages: ingest raw files, validate and transform them, and publish a reporting table. Transformation must not start unless ingestion succeeds, and publishing must not start unless transformation succeeds. If validation fails, the team wants the job to stop downstream publication while retaining a clear failed run for investigation. Which Lakeflow Jobs design best meets the requirements?

Correct Answer: A. Create one job with a dependency chain from ingestion to transformation to publication and use fail-fast task behavior for failed prerequisites.
Explanation:

A dependency chain expresses the required execution order and prevents downstream tasks from running before their prerequisites succeed. If validation or transformation fails, the job records the failure and does not publish the reporting table, preserving a diagnosable run. Independent schedules can race and cannot guarantee ordering. Swallowing exceptions makes failed work appear successful and may allow bad data to proceed. Making publication first reverses the required dependency.