All Microsoft exams

Free DP-700 practice test: 30 questions with answers

30 original questions for Implementing Data Engineering Solutions Using Microsoft Fabric, drawn from every topic area. Answer each one to see whether you got it right and why. No sign-up.

Free questions
30
Full bank
100 questions

DP-700 exam guide: topics, cost and format

All 30 DP-700 questions with answers

The same questions as the test above, grouped by exam topic. Open any question to see the answer and explanation.

Ingest and transform data (10 questions)

  1. Question 1

    A team needs to load data from a relational source into a lakehouse on a schedule, with copy activities and error handling. Which Fabric item orchestrates this?

    1. AShortcut
    2. BWarehouse view only
    3. CPower BI report
    4. DData pipeline
    Show answer and explanation
    Correct answer: D

    Data pipelines orchestrate copy and transformation activities on schedules with control flow and error handling. Reports present data, shortcuts reference it, and views do not orchestrate loads.

  2. Question 2

    A team prefers a low-code way to clean and reshape data from several sources and write the result to a lakehouse. Which Fabric item fits best?

    1. AA printed Power Query guide
    2. BA blank notebook with no code
    3. CDataflow Gen2
    4. DEventhouse
    Show answer and explanation
    Correct answer: C

    Dataflow Gen2 provides a low-code Power Query experience for transforming data and writing it to Fabric destinations. Printed guides are not a tool, and eventhouses store streaming data.

  3. Question 3

    A streaming source emits telemetry events continuously, and the team needs to route and transform them in near real time. Which Fabric item handles this?

    1. AWarehouse stored procedure only
    2. BShortcut
    3. CEventstream
    4. DPower BI import dataset
    Show answer and explanation
    Correct answer: C

    Eventstreams ingest, route, and transform streaming events in near real time. Stored procedures run on demand, import datasets refresh in batches, and shortcuts do not process streams.

  4. Question 4

    A notebook must read a large CSV file from a lakehouse and write it as a Delta table efficiently. Which library and approach fit best?

    1. AConverting the file to a PDF first
    2. BOpening the file in a text editor and retyping the rows
    3. CPySpark reading the file and writing in Delta format
    4. DLoading each row with a separate SQL insert from a single thread
    Show answer and explanation
    Correct answer: C

    PySpark distributes the read and write and writes the Delta format natively, which scales for large files. Manual retyping, PDF conversion, and single-thread row inserts are slow and error-prone.

  5. Question 5

    A daily load should process only rows that changed since the last run, rather than reloading everything. Which pattern achieves this?

    1. ALoading the entire source each time without a filter and rescanning partitions
    2. BAn incremental load using a watermark column such as LastModified
    3. CTruncating and reloading the full table every hour from the operational database
    4. DDeleting the source system after each daily load finishes to reduce storage costs
    Show answer and explanation
    Correct answer: B

    Watermark-based incremental loads process only new or changed rows, which reduces time and cost. Full reloads, unfiltered loads, and deleting the source do not meet the requirement.

  6. Question 6

    A pipeline should run a notebook only if the previous copy activity succeeded. Which pipeline setting controls this?

    1. AA timeout of zero seconds on the notebook activity setting
    2. BAn activity dependency condition set to Succeeded
    3. CAn activity colour setting in the canvas view
    4. DA comment on the activity for team review
    Show answer and explanation
    Correct answer: B

    Dependency conditions such as Succeeded, Failed, or Completed control whether downstream activities run. Colours and comments do not affect execution, and a zero timeout would fail immediately.

  7. Question 7

    A pipeline must send an alert when a load fails. Which pipeline pattern provides this?

    1. AA failure path that runs a notification activity on failure
    2. BHoping someone checks the pipeline run list in the portal each day
    3. CDisabling error handling in the pipeline settings for notebook activity
    4. DRunning the pipeline twice in parallel against the source
    Show answer and explanation
    Correct answer: A

    A failure dependency path can trigger a notification activity immediately when a step fails. Hoping for manual checks, duplicate runs, and disabled error handling do not provide reliable alerts.

  8. Question 8

    A transformation must join two large tables in Spark. One table is small. Which optimization reduces shuffle cost?

    1. ASorting both tables alphabetically before joining
    2. BCartesian join of both tables
    3. CConverting the join to a loop in Python over rows
    4. DBroadcast join of the small table
    Show answer and explanation
    Correct answer: D

    Broadcasting a small table sends a copy to each executor, avoiding a costly shuffle of the large table. Cartesian joins multiply rows, sorting does not reduce shuffle, and row loops are slow.

  9. Question 9

    A Spark job writes many tiny files to a lakehouse table and queries become slow. Which maintenance action helps most?

    1. ADelete the table every night and rebuild it from scratch before reports refresh
    2. BDisable statistics collection on the lakehouse tables daily
    3. CRun table optimization such as compaction to combine small files
    4. DAdd more tiny files to balance the table across partitions during each load
    Show answer and explanation
    Correct answer: C

    Compaction combines small files into larger ones, which speeds reads. Adding files, nightly deletion, and disabling statistics do not fix the small-file problem.

  10. Question 10

    A team wants to avoid duplicate records when a streaming or batch pipeline retries a load. Which approach is most robust?

    1. AUse a merge operation keyed on a business identifier to upsert records
    2. BIgnore duplicates in reports and let dashboards aggregate them later
    3. CAppend every retry as new rows to the table without key checks
    4. DDelete the target table before each retry without a backup
    Show answer and explanation
    Correct answer: A

    A merge keyed on a business identifier makes retries idempotent by updating existing rows instead of duplicating them. Appending retries, deleting without backup, and ignoring duplicates create data quality problems.

Implement and manage an analytics solution (10 questions)

  1. Question 11

    A company wants one place to store data for engineers, analysts, and data scientists, using open table formats and no separate copies per team. Which Fabric component is the foundation for this?

    1. AA printed data catalogue
    2. BA weekly email attachment archive
    3. COneLake
    4. DA local file share on each laptop
    Show answer and explanation
    Correct answer: C

    OneLake is the single logical data lake for a Fabric tenant, shared by workloads and teams without duplicating data. Local shares, printed catalogues, and email archives do not provide shared, governed storage.

  2. Question 12

    A team wants to query files that already exist in another cloud storage account without copying them into OneLake. Which Fabric feature provides this?

    1. AA shortcut to the external storage location
    2. BA screenshot of the lakehouse file list
    3. CA manual download of each file locally
    4. DA copy of the files in Recycle Bin
    Show answer and explanation
    Correct answer: A

    Shortcuts reference external data in place, so workloads can read it without duplicating it. Manual downloads and copies create duplicates, and screenshots do not provide data access.

  3. Question 13

    Which Fabric item stores data as Delta tables and supports Spark notebooks and SQL analytics endpoints over the same data?

    1. AKQL database only
    2. BPower BI report only
    3. CEventstream only
    4. DLakehouse
    Show answer and explanation
    Correct answer: D

    A lakehouse stores Delta tables in OneLake and exposes them to Spark and a SQL analytics endpoint. KQL databases serve time-series and log analytics, reports visualize data, and eventstreams route events.

  4. Question 14

    A data team wants full T-SQL DML and transactional semantics for a relational analytics store in Fabric. Which item is most appropriate?

    1. AWarehouse
    2. BEventstream
    3. CDataflow with no storage
    4. DShortcut
    Show answer and explanation
    Correct answer: A

    A Fabric warehouse supports T-SQL DML, stored procedures, and transactions across tables. Eventstreams process events, dataflows transform data without storing it as a warehouse, and shortcuts reference data.

  5. Question 15

    Which Delta Lake feature allows a query to read a table as it existed at an earlier version?

    1. ACaching in the browser
    2. BTime travel
    3. CPartition pruning only
    4. DColumnar compression only
    Show answer and explanation
    Correct answer: B

    Delta time travel queries earlier table versions, which supports audits and recovery. Compression, pruning, and browser caching do not provide access to past versions.

  6. Question 16

    A medallion architecture is being designed. Which description matches the silver layer?

    1. AEncrypted backups of the source system kept in an offsite archive tier for full restore
    2. BAggregated business metrics for executives, grouped by month and region for reports
    3. CRaw data kept in its original form as received from the source, unchanged by transforms
    4. DCleansed and conformed data with validated types and deduplicated records
    Show answer and explanation
    Correct answer: D

    The silver layer holds cleansed, conformed, and validated data. Bronze keeps raw data, gold holds business-ready aggregates, and backups are not a medallion layer.

  7. Question 17

    A sensitive column in a lakehouse table must be hidden from users who are not authorized, while others can query the table. Which feature addresses this at the column level?

    1. AColumn-level security in the warehouse or endpoint
    2. BRenaming the column to a random string within the table
    3. CCopying the table without the column for everyone, every day
    4. DSharing the table through a public link that anyone can open
    Show answer and explanation
    Correct answer: A

    Column-level security restricts access to specific columns for specific users within the SQL endpoint. Renaming, copying for everyone, and public links do not enforce authorized access.

  8. Question 18

    A data engineer must ensure that users in one region see only rows for their region in a warehouse table. Which feature enforces this?

    1. AA note in the documentation
    2. BRow-level security with a security predicate
    3. CA report filter that users can remove
    4. DSeparate tables with copied data for each user
    Show answer and explanation
    Correct answer: B

    Row-level security filters rows for each user based on a predicate, enforced by the engine. Removable report filters, documentation notes, and duplicated tables do not enforce access.

  9. Question 19

    A company needs sensitive data classification labels to follow the data as it moves through Fabric items and reports. Which capability supports this?

    1. ANaming items with the word confidential in titles
    2. BNo labelling because the tenant is already secure
    3. CA label written on paper and placed on the server rack in the data hall
    4. DMicrosoft Purview sensitivity labels applied to Fabric items
    Show answer and explanation
    Correct answer: D

    Sensitivity labels from Microsoft Purview classify items and can carry protections across Fabric content. Paper labels, naming conventions, and assumptions of security do not enforce classification.

  10. Question 20

    Which Fabric capability mirrors data from an external operational database into OneLake with minimal engineering effort?

    1. AMirroring
    2. BPrinting reports for each table
    3. CStoring a password in a notebook
    4. DManually exporting CSV files each night
    Show answer and explanation
    Correct answer: A

    Mirroring replicates supported external databases into OneLake in near real time, reducing custom pipelines. Printing, manual exports, and storing passwords in notebooks are inefficient or insecure.

Monitor and optimize an analytics solution (10 questions)

  1. Question 21

    A pipeline run has been slow for a week. Which Fabric feature shows run history, duration, and failure details across items in a workspace?

    1. AA static chart in a presentation
    2. BMonitoring hub
    3. CThe workspace description
    4. DA printed calendar of runs
    Show answer and explanation
    Correct answer: B

    The monitoring hub shows activity history and details for items such as pipelines and notebooks, which supports diagnosis of slow runs. Calendars, static charts, and descriptions do not show run data.

  2. Question 22

    A Spark notebook job fails intermittently with executor out-of-memory errors. Which action is most likely to help first?

    1. AAdd more notebook cells so each code block gets its own fresh Spark session memory
    2. BRestart the capacity every hour so the Spark pool releases cached memory and clears stale executors before each run
    3. CReview the Spark job's stage details and adjust executor memory or partitioning for the skewed step
    4. DDisable Spark monitoring so the run history and stage metrics are hidden from the team
    Show answer and explanation
    Correct answer: C

    Stage details show which step consumes memory, often due to skew, and tuning memory or partitioning addresses it. Restarting or disabling monitoring hides the cause, and adding cells does not help.

  3. Question 23

    A warehouse query is slow, and the team wants to see the execution plan and statistics. Which action provides this?

    1. APrint the query text on paper and read it aloud line by line
    2. BRename the warehouse to a new label so the team can locate it faster in reports
    3. CDelete the query history entries from the warehouse log
    4. DReview the query's execution plan and statistics in the warehouse
    Show answer and explanation
    Correct answer: D

    Execution plans and statistics show where time is spent, which guides tuning. Printing, renaming, and deleting history do not reveal performance details.

  4. Question 24

    A team's capacity is frequently throttled during the morning load. Which action reduces the throttling without losing data?

    1. ASchedule heavy loads outside peak hours and review capacity sizing based on metrics
    2. BTurn off reports during peak hours so refreshes stop and users lose access until afternoon
    3. CDelete the lakehouse each morning and recreate it from scratch so tables rebuild before peak load
    4. DDisable the monitoring tools that track capacity usage so spikes stop appearing on dashboards
    Show answer and explanation
    Correct answer: A

    Scheduling heavy work outside peaks and sizing capacity from metrics reduces throttling. Turning off reports, deleting data, and disabling monitoring either remove function or hide the problem.

  5. Question 25

    A lakehouse table is queried mostly by date, and users filter on a single day. Which table design helps the engine skip irrelevant data?

    1. ARemoving the date column
    2. BSorting the table by a random key
    3. CPartitioning the table by date
    4. DStoring the table as one large file
    Show answer and explanation
    Correct answer: C

    Partitioning by date lets the engine skip partitions that do not match the filter, which reduces the data read. One large file, removing the date, and random sorting do not help pruning.

  6. Question 26

    A dashboard built on a warehouse loads slowly because it repeatedly calculates the same aggregates. Which approach improves responsiveness?

    1. AExport the data to a text file each time the dashboard loads and reimport it
    2. BPre-aggregate the results into a table or materialized view refreshed on schedule
    3. CRecalculate the aggregates with a larger number of visuals on each page
    4. DDisable caching in the dashboard so each visual sends a query to the warehouse
    Show answer and explanation
    Correct answer: B

    Pre-aggregation stores the results so each load reads a small table instead of recomputing aggregates. More visuals, disabled caching, and repeated exports add work.

  7. Question 27

    A team wants to be notified when a scheduled load takes much longer than its usual duration. Which approach is most appropriate?

    1. ACheck the run duration once per quarter during a scheduled review meeting with managers
    2. BSet an alert on the run duration or failure signal from the monitoring tools
    3. CAsk users to report slowness by email once they notice reports running slower than usual
    4. DIgnore duration and track row counts instead, since volume alone reflects pipeline health
    Show answer and explanation
    Correct answer: B

    Alerts on duration or failure signals notify the team when a run deviates from normal behaviour. Quarterly checks, row-count-only tracking, and user emails react too late or miss the signal.

  8. Question 28

    A Spark job spends most of its time on one partition because of skewed keys. Which technique addresses this?

    1. ARunning the job on a single executor with the full dataset loaded into memory
    2. BAdding more identical copies of the same partition to every executor in the pool
    3. CSalting or repartitioning the skewed key to spread the work evenly
    4. DRemoving the key from the join so the skewed rows are dropped
    Show answer and explanation
    Correct answer: C

    Salting or repartitioning spreads a skewed key across more tasks, which balances the load. Copies of the same partition, a single executor, and removing the key break the logic or slow the job.

  9. Question 29

    A table has accumulated many versions after frequent updates, and storage costs and query times are rising. Which maintenance operation reduces the stored files that are no longer needed?

    1. AVacuum to remove files no longer referenced by the table within the retention period
    2. BIncreasing the number of versions to keep so that every historical snapshot remains available
    3. CRenaming the table each day to a new date-stamped name so the catalog lists fresh entries daily
    4. DAdding another copy of the table in a separate lakehouse so that reads are spread across both
    Show answer and explanation
    Correct answer: A

    Vacuum removes unreferenced files after the retention window, which reduces storage. Copies and extra versions increase cost, and renaming does nothing for file cleanup.

  10. Question 30

    A team must ensure that a critical pipeline is retried automatically after a transient network error. Which configuration does this?

    1. ASetting the timeout to one second so the activity fails before retries
    2. BRunning the pipeline manually after every error once someone has checked it
    3. CTurning off error reporting so failed runs stop appearing in the run history
    4. DA retry policy with a retry count and interval on the activity
    Show answer and explanation
    Correct answer: D

    A retry policy re-attempts transient failures with a set count and interval, which recovers without manual work. Manual reruns, hidden errors, and very short timeouts reduce reliability.

Want more DP-700 questions?

The full bank has 100 questions with answers and explanations, as a PDF, an online practice exam, or both.

Full question bank · 100 questions
$75$104

Both formats together. The best value.

Instant access after payment, with 90 days of updates. Checkout is on our store, AIExamCerts.