DP-700 · Sample questions
DP-700 sample questions with answers and explanations
10 real questions from the CertifyDeck DP-700 bank, spread across the domains of the official Microsoft Certified: Fabric 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: Implement and manage an analytics solutionMedium
A lakehouse in a Fabric workspace named WS-Retail has shortcuts to an Amazon S3 bucket. Notebooks read the same files many times a day, which generates high egress charges. You must reduce the egress charges without building a process that copies the files into OneLake. What should you do?
- A.Turn on OneLake diagnostics for WS-Retail and store the events in a lakehouse.
- B.Turn on shortcut caching in the OneLake settings of WS-Retail.
- C.Schedule a pipeline Copy activity that lands the S3 files in the lakehouse hourly.
- D.Run OPTIMIZE on the shortcut tables to compact the small files in the bucket.
Show answer and explanation
Correct answer: B. Turn on shortcut caching in the OneLake settings of WS-Retail.
Explanation
Shortcut caching, enabled in the OneLake tab of the workspace settings, stores files read through external shortcuts such as S3 in a workspace cache and serves later reads from it, which reduces cross-cloud egress. A scheduled Copy activity would copy the files, which the requirement rules out. OneLake diagnostics only logs data access, and OPTIMIZE compacts Delta files without avoiding repeated remote reads.
Official references
- Question 2Domain: Implement and manage an analytics solutionMedium
A deployment pipeline has Development, Test and Production stages. A notebook in Development uses a lakehouse named LH_Dev as its default lakehouse. After each deployment to Test, the notebook in Test must use a lakehouse named LH_Test as its default lakehouse. What should you configure?
- A.A default lakehouse rule for the notebook in the Test stage
- B.A parameter rule for the notebook in the Test stage
- C.A data source rule for the notebook, defined in the Test stage of the pipeline
- D.A data source rule for the LH_Test lakehouse in the Test stage
Show answer and explanation
Correct answer: A. A default lakehouse rule for the notebook in the Test stage
Explanation
Default lakehouse rules apply only to notebooks and set which lakehouse is connected as the notebook's default in the target stage, where the rule is defined. Data source and parameter rules are available for items such as semantic models, dataflows Gen1, paginated reports and mirrored databases, not for notebooks. Lakehouses aren't among the items you can create deployment rules for.
Official references
- Question 3Domain: Implement and manage an analytics solutionMedium
A lakehouse named LH_Flota is shared with a group named Grp_BI with the ReadAll permission. You add Grp_BI to a OneLake security role that grants Read only on the Vehiculos table, but Grp_BI members still read every table. You must restrict them to Vehiculos without changing item permissions. What should you do?
- A.Create a second role that grants Read on Vehiculos.
- B.Edit or delete the DefaultReader role of LH_Flota.
- C.Change the new role to grant ReadWrite on Vehiculos.
- D.Add a Deny role on the other tables for Grp_BI.
Show answer and explanation
Correct answer: B. Edit or delete the DefaultReader role of LH_Flota.
Explanation
Every lakehouse has a DefaultReader role whose members are all users with ReadAll, and it grants Read on all data; because roles combine as a union, Grp_BI keeps full access through it. Editing or deleting DefaultReader removes that access while item permissions stay the same. Deny roles don't exist, and adding more grants can't reduce access.
Official references
- Question 4Domain: Implement and manage an analytics solutionMedium
You assign a Fabric workspace named WS-Payroll to the Finance domain. A manager expects that, from now on, only users with a role in the Finance domain can discover and open the items in WS-Payroll. What should you tell the manager?
- A.Access becomes restricted after you set Finance as the default domain for the group.
- B.Access becomes restricted after you override certification settings for the domain.
- C.Access becomes restricted after you add the users as contributors of the domain.
- D.Domain assignment doesn't change access; use workspace roles and item permissions.
Show answer and explanation
Correct answer: D. Domain assignment doesn't change access; use workspace roles and item permissions.
Explanation
Assigning a workspace to a domain adds a domain attribute to its items for discovery and delegated governance, but it doesn't affect item visibility or accessibility; access depends on workspace roles and item permissions. Overriding certification settings only controls who can certify items in the domain. A default domain automates workspace assignment, and domain contributors are workspace admins allowed to assign their workspaces, so neither restricts who can open items.
Official references
- Question 5Domain: Monitor and optimize an analytics solutionMedium
Nightly T-SQL stored procedures transform data in a Fabric warehouse. Over the last few weeks, the load window has grown. You need to identify which queries take the longest to run, based on historical execution data, without setting up any extra logging. What should you query?
- A.The queryinsights.frequently_run_queries view in the warehouse.
- B.The refresh history of a Dataflow Gen2 that reads from the warehouse.
- C.The queryinsights.long_running_queries view in the warehouse.
- D.The Resources tab of the Spark application detail page in the Monitor hub.
Show answer and explanation
Correct answer: C. The queryinsights.long_running_queries view in the warehouse.
Explanation
Query insights is built into the warehouse and keeps historical query data; the queryinsights.long_running_queries view returns queries by execution time, which identifies the slowest transformations. queryinsights.frequently_run_queries focuses on how often queries run, not how long they take. Spark resource graphs and Dataflow Gen2 refresh history don't record T-SQL statements executed by warehouse stored procedures.
Official references
- Question 6Domain: Monitor and optimize an analytics solutionEasy
A scheduled process runs .ingest into table Sales commands that pull CSV files from Azure Blob Storage into a KQL database in an eventhouse. Some files never reach the table. You need each failure's details and whether it is permanent or transient. Which command should you run?
- A.set notruncation; Sales | where ingestion_time() > ago(1d)
- B.Sales | summarize count() by bin(ingestion_time(), 1h)
- C..show streamingingestion failures | where LastFailureOn > ago(1d)
- D..show ingestion failures | where FailedOn > ago(1d)
Show answer and explanation
Correct answer: D. .show ingestion failures | where FailedOn > ago(1d)
Explanation
.show ingestion failures returns failures of data ingestion management commands such as .ingest into, with a Details column for the root cause and FailureKind showing Permanent or Transient. .show streamingingestion failures only covers streaming ingestion, and queries over the Sales table only show rows that were ingested, not the files that failed.
Official references
- Question 7Domain: Monitor and optimize an analytics solutionMedium
After a dataflow definition is edited through Git integration, publishing a Dataflow Gen2 fails with the validation error DestinationQueryNotFound for a query that loads to a lakehouse. What should you do?
- A.Remove the duplicate destination configurations from the dataflow definition.
- B.Edit the connection to the lakehouse and reauthenticate it with valid, current credentials.
- C.Remove the data destination from the query, add it again and republish the dataflow.
- D.Change the destination query so that it returns a table, binary or null value.
Show answer and explanation
Correct answer: C. Remove the data destination from the query, add it again and republish the dataflow.
Explanation
DestinationQueryNotFound means the internal query that holds the navigation steps to the destination is missing, and the documented fix is to remove the data destination, add it again and publish. Reauthenticating addresses DestinationQueryChallenge, fixing the return type addresses DestinationQueryHasUnsupportedScript, and removing duplicates addresses MultipleDestinationQueries.
Official references
- Question 8Domain: Ingest and transform dataMedium
A Dataflow Gen2 query loads a lakehouse table and uses incremental refresh on an OrderDate column with a bucket size of one day. During a refresh, the maximum value of the change-detection column has changed for one day's bucket. How does the dataflow update the destination for that bucket?
- A.It merges only the changed rows into the destination by using a key.
- B.It appends the bucket's rows and keeps the rows loaded earlier.
- C.It truncates the table and reloads the whole extraction range.
- D.It deletes the data in the bucket's range and inserts the bucket again.
Show answer and explanation
Correct answer: D. It deletes the data in the bucket's range and inserts the bucket again.
Explanation
Incremental refresh in Dataflow Gen2 retrieves the whole bucket whose maximum value changed and uses a replace approach: it deletes the destination data for that bucket's time range and inserts the fresh data, leaving data outside the range untouched. It does not perform a key-based merge of individual rows, and it does not truncate and reload the full table.
Official references
- Question 9Domain: Ingest and transform dataEasy
You use a Copy job to load tables from an Azure SQL database into a lakehouse. CDC is enabled on the source tables. After the initial load, each run must transfer only changed rows and apply inserts, updates and deletes to the destination tables. What should you configure?
- A.Watermark-based incremental copy with the Merge update method.
- B.Full copy with the Overwrite update method on every run.
- C.Watermark-based incremental copy with the Append update method.
- D.CDC-based incremental copy with the Merge update method.
Show answer and explanation
Correct answer: D. CDC-based incremental copy with the Merge update method.
Explanation
With CDC enabled on the source, a Copy job can use CDC-based incremental copy, and merging into the destination inserts, updates or deletes rows to match the source. Watermark-based incremental copy compares an incremental column with the last run, so it only tracks inserts and updates and never sees deleted rows, and a full copy moves every row on each run instead of only the changes.
Official references
- Question 10Domain: Ingest and transform dataMedium
A structured streaming query reads customer change events. Each micro-batch must upsert the changes into a lakehouse Delta table named customers by matching on customer_id, updating existing rows and inserting new ones. How should you write the stream?
- A.Use writeStream with trigger(availableNow=True) and outputMode("append").
- B.Use writeStream with outputMode("update") and write the result with toTable("customers").
- C.Use writeStream with outputMode("complete") and write the result with toTable("customers").
- D.Use writeStream.foreachBatch with a function that runs MERGE INTO customers.
Show answer and explanation
Correct answer: D. Use writeStream.foreachBatch with a function that runs MERGE INTO customers.
Explanation
Merge operations into Delta Lake from a streaming query are done with foreachBatch, which applies a batch function, such as MERGE INTO, to the output of every micro-batch. Update output mode looks tempting, but a Delta sink supports append and complete modes, not update. Complete mode only works with streaming aggregations and rewrites the result, and append mode with any trigger only adds rows, so existing customers would be duplicated instead of updated.
Official references
How to use these DP-700 sample questions
Answer each question before opening the explanation, and write down why you discarded the other options. On DP-700, 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-700 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-700 format.