DP-750 · Sample questions
DP-750 sample questions with answers and explanations
10 real questions from the CertifyDeck DP-750 bank, spread across the domains of the official Microsoft Certified: Azure Databricks Data Engineer Associate skills outline, with the correct answer and a full explanation of why the other options are wrong. They are original questions written from the public syllabus, not exam dumps, and they are the same style you will find in the practice tests and mock exams.
- Question 1Domain: Prepare and process dataMedium
A notebook in a Lakeflow job runs on serverless compute every hour. It reads new records from a Delta table as a stream and writes them to another table. Each run must process all records that are available when it starts and then stop, so that no compute runs between scheduled runs. (spark.readStream.table("main.sales.bronze_orders") .writeStream .option("checkpointLocation", chk) ______ .toTable("main.sales.silver_orders")) Which line should you insert?
- A..trigger(availableNow=True)
- B..trigger(realTime='5 minutes')
- C..trigger(processingTime='1 hour')
- D..trigger(continuous='1 second')
Show answer and explanation
Correct answer: A. .trigger(availableNow=True)
Explanation
The availableNow trigger processes all data available when the query starts as an incremental batch and then stops, and it is the trigger Databricks recommends on serverless notebooks and jobs. A processingTime trigger keeps the query running and checking for data at a fixed interval, which fails the requirement to stop between runs and is not supported on serverless. The continuous trigger is not supported, and real-time mode is a long-running mode for sub-second operational workloads.
Official references
- Question 2Domain: Prepare and process dataMedium
A warehouse system records millions of stock movements per day. Analysts only need to study trends in the end-of-day stock level of each product, and storing every movement is expensive and serves no analytic requirement. Which type of fact table should you design?
- A.A factless fact table that counts stock movement events
- B.An accumulating snapshot fact table with one row per milestone
- C.A periodic snapshot fact table of daily stock balances
- D.A transaction fact table with one row per stock movement
Show answer and explanation
Correct answer: C. A periodic snapshot fact table of daily stock balances
Explanation
A periodic snapshot fact table stores measurements at predefined intervals, such as the end-of-day stock balance of every product, and can replace a transaction fact table when recording every transaction is expensive and supports no useful analysis. A transaction fact table would store every movement, which the requirement rules out. An accumulating snapshot tracks milestones of a workflow, and a factless fact table has no measures, so neither stores stock levels.
Official references
- Question 3Domain: Set up and configure an Azure Databricks environmentMedium
Kestrel Insurance has three business domains (claims, policy and billing) and three environments (dev, test and prod), all in one Azure region. Developers must never be able to change production data, and access must be granted at the highest level of the Unity Catalog namespace. Which naming strategy should you use?
- A.One catalog per domain, with tables suffixed _dev, _test and _prod
- B.One metastore per environment, each with catalogs named after the domains
- C.One catalog for the region, with one schema per environment named dev, test and prod
- D.One catalog per domain and environment, such as claims_dev and claims_prod
Show answer and explanation
Correct answer: D. One catalog per domain and environment, such as claims_dev and claims_prod
Explanation
A {domain}_{environment} pattern such as claims_dev and claims_prod gives each environment its own catalog, the top level of the namespace, so permissions are granted per catalog and developers work only in dev catalogs. Suffixing tables keeps all environments in one catalog and forces table-level grants, and schema-per-environment puts the boundary below the catalog. An Azure region can have only one metastore, so metastores per environment are not possible.
Official references
- Question 4Domain: Set up and configure an Azure Databricks environmentEasy
You have an Azure Databricks workspace that is enabled for Unity Catalog and for serverless compute. You are creating a Lakeflow Jobs job that runs a Python notebook every night to load data into a Delta table. The notebook needs no custom cluster settings. You need the compute option that requires the least infrastructure management. Which compute should you configure for the notebook task?
- A.A pro SQL warehouse that the analysts already share
- B.Serverless compute for jobs
- C.The classic all-purpose compute that the team uses for development
- D.Classic jobs compute attached to an instance pool
Show answer and explanation
Correct answer: B. Serverless compute for jobs
Explanation
Serverless compute is the recommended compute for most automated workloads because Azure Databricks manages the infrastructure and scaling. Classic jobs compute is meant for non-SQL jobs that need custom cluster settings not available in serverless, and a pool adds idle capacity to manage. Classic all-purpose compute should generally be avoided for automated workloads, and a SQL warehouse is not a supported compute for notebook tasks.
Official references
- Question 5Domain: Set up and configure an Azure Databricks environmentEasy
You have an Azure Databricks workspace that is enabled for Unity Catalog. Analysts need a reusable object named finance.reporting.open_invoices that returns open invoices from the table finance.raw.invoices. The object must always reflect the current contents of the source table when it is queried, and it must not process or store any data when it is created. Which object should you create?
- A.A managed table created with CREATE TABLE AS SELECT
- B.A materialized view defined with CREATE MATERIALIZED VIEW
- C.A view defined with CREATE VIEW
- D.A temporary view defined with CREATE TEMPORARY VIEW
Show answer and explanation
Correct answer: C. A view defined with CREATE VIEW
Explanation
A Unity Catalog view registers only the query text in the schema; creating it does not process or write data, and its logic is evaluated each time it is queried. A materialized view stores precomputed results in an underlying table and a CTAS table copies data at creation, so both fail the no-stored-data requirement. A temporary view is not registered in a schema or catalog, so it cannot be a reusable object for other analysts.
Official references
- Question 6Domain: Deploy and maintain data pipelines and workloadsEasy
You are adding a gold dataset to a Lakeflow Spark Declarative Pipelines pipeline. The dataset aggregates daily revenue per store by joining sales with a store dimension. Rows in the sales source can be updated and deleted, and jobs and dashboards outside the pipeline query the result. Which dataset type should you define?
- A.An append flow that uses ONCE to write into a streaming table
- B.A temporary view defined in the pipeline source code
- C.A materialized view
- D.A streaming table that reads the sales table with STREAM()
Show answer and explanation
Correct answer: C. A materialized view
Explanation
A materialized view suits aggregations and joins over sources that change through updates and deletes, because it keeps its results consistent with the current state of the source, and it is published to Unity Catalog so consumers outside the pipeline can query it. A streaming table is designed for append-only sources and processes each record once. A view is not persisted and can be used only inside the same pipeline, and an append flow with ONCE runs one time unless the target is fully refreshed.
Official references
- Question 7Domain: Deploy and maintain data pipelines and workloadsMedium
The Delta table main.web.events is partitioned by event_date and does not use liquid clustering. Frequent small appends create many small files, but only in the partitions of the last few days. Older partitions are already compacted. You need to compact the small files while limiting the compute cost of the maintenance run. Which statement should you run?
- A.REORG TABLE main.web.events APPLY (PURGE)
- B.VACUUM main.web.events LITE
- C.OPTIMIZE main.web.events WHERE event_date >= '2026-11-27'
- D.OPTIMIZE main.web.events ZORDER BY (user_id)
Show answer and explanation
Correct answer: C. OPTIMIZE main.web.events WHERE event_date >= '2026-11-27'
Explanation
OPTIMIZE compacts small files, and an optional WHERE predicate on partition columns restricts the rewrite to a subset of the table, which keeps the cost down. Adding ZORDER BY without a predicate is tempting, but it processes the whole table and Z-ordering is not idempotent, so it fails the cost requirement. VACUUM deletes unreferenced files without compacting live ones, and REORG ... APPLY (PURGE) rewrites files to apply soft-deletes rather than to compact recent partitions.
Official references
- Question 8Domain: Secure and govern Unity Catalog objectsMedium
A Python application that runs outside Azure Databricks must call Azure Databricks APIs to start jobs and must also read messages from an Azure Storage queue. Your security team requires one non-human identity that can authenticate to Azure Databricks and to other Azure resources. Which identity should the application use?
- A.A personal access token of a workspace user
- B.A Microsoft Entra ID managed service principal
- C.The managed identity of the access connector for Azure Databricks
- D.An Azure Databricks managed service principal
Show answer and explanation
Correct answer: B. A Microsoft Entra ID managed service principal
Explanation
Databricks recommends Microsoft Entra ID managed service principals when you must authenticate with Azure Databricks and other Azure resources at the same time; they can use Databricks OAuth and Microsoft Entra ID tokens. An Azure Databricks managed service principal is recommended for Databricks-only automation, so it fails the requirement to reach other Azure resources. The access connector's managed identity is used by Unity Catalog to reach storage, and a personal access token belongs to a human user.
Official references
- Question 9Domain: Secure and govern Unity Catalog objectsMedium
You are creating a dynamic view over the Unity Catalog table claims.core.policies. Only members of the group claims_auditors may see the policyholder_email column; other users must see the literal REDACTED. claims_auditors is an account-level group synchronized from Microsoft Entra ID and is not a workspace-local group. CASE WHEN <function>('claims_auditors') THEN policyholder_email ELSE 'REDACTED' END AS policyholder_email Which function should you use for <function>?
- A.session_user
- B.is_account_group_member
- C.current_user
- D.is_member
Show answer and explanation
Correct answer: B. is_account_group_member
Explanation
is_account_group_member returns TRUE if the current user belongs to the specified account-level group and is the function recommended for dynamic views against Unity Catalog data. is_member checks workspace-level group membership, is kept for Hive metastore compatibility, and does not evaluate account-level groups, so it fails for claims_auditors. session_user and current_user return the user's identity rather than testing group membership.
Official references
- Question 10Domain: Secure and govern Unity Catalog objectsMedium
You share the table retail.gold.sales by using OpenSharing (formerly Delta Sharing). The table has a column named country. Each of your 20 recipients has a custom recipient property named country. You need each recipient to see only the rows for its own country while you maintain a single share. You run: ALTER SHARE retail_share ADD TABLE retail.gold.sales PARTITION <expression>; Which expression should you use?
- A.(country = CURRENT_RECIPIENT().databricks.name)
- B.(country = 'ES'), (country = 'FR'), (country = 'DE')
- C.(country = current_user())
- D.(country = CURRENT_RECIPIENT().country)
Show answer and explanation
Correct answer: D. (country = CURRENT_RECIPIENT().country)
Explanation
Parameterized partition sharing uses CURRENT_RECIPIENT().<property-key> in the partition specification, so OpenSharing delivers to each recipient only the data that matches its own property value, and one share serves all recipients. A static list of partitions gives every recipient all the listed countries. databricks.name is the default property that holds the recipient name, not its country, and current_user() is not the recipient-property mechanism used for partition filtering.
Official references
How to use these DP-750 sample questions
Answer each question before opening the explanation, and write down why you discarded the other options. On DP-750, most mistakes come from choosing an option that is technically possible but does not meet every requirement in the scenario.
These 10 questions are a taste of the format, not a diagnostic. To know which domains you fail, practice by domain for free and take a timed mock exam that mirrors the official weights and duration.
Practice DP-750 with hundreds more questions
Start for free, no sign-up or card. Every question includes an explanation like the ones above, and the mock exam reproduces the official DP-750 format.