CertLumen

Microsoft Fabric Data Engineer (DP-700) · Section 3 · 33% of the exam

Identify and resolve T-SQL errors

One of the objectives of the Microsoft Certified: Fabric Data Engineer Associate (exam DP-700: Implementing Data Engineering Solutions Using Microsoft Fabric) exam, in the section “Monitor and optimize an analytics solution”. Here is what it covers, the points to remember and a question to try.

What it covers

Each engine in Fabric reports problems in its own way: Spark through the advisor, Spark UI and capacity limits, Eventhouse through ingestion metrics and results logs, eventstreams through data insights and runtime logs, and the warehouse through snapshot isolation conflicts and locking. This lesson teaches the signal to look at and the usual fix for each.

Points to remember

  • Read the exact capacity message: 430 TooManyRequestsForCapacity is the Spark core limit; CapacityLimitExceeded is a throttled capacity.
  • Queueing (24 hour expiry) covers pipeline, scheduler and Spark job definition jobs, not interactive notebook runs.
  • notebookutils.notebook.run defaults to a 90 second timeout; never put exit() inside try/except; mark a parameter cell.
  • Eventhouse ingestion health: IngestionResult with IngestionResultDetails, FailureKind (permanent or transient) and ViaUpdatePolicy; results logs have ResultCode and ShouldRetry.
  • Queued ingestion batching defaults: 5 minutes, 500 items, 1 GB; KQL database retention and caching default to 3,650 days.

Try a question

A warehouse query waits indefinitely. sys.dm_exec_requests shows blocking_session_id = 57, and session 57 is sleeping with open_transaction_count = 1. What is the best next step?

  1. ARun UPDATE STATISTICS on the table that the blocked query reads
  2. BRestart the SQL analytics endpoint to clear the blocked sessions
  3. CIncrease the warehouse query timeout so that the blocked query can wait for the lock longer
  4. DAsk session 57's owner to commit or roll back; an Admin can run KILL 57 otherwise
Show the answer

D. A sleeping session with an open transaction holds locks without doing work. Asking the owner to finish the transaction is preferred; an Admin can use KILL, which rolls back all uncommitted work. Warehouse blocking is lock based, not statistic based.

Written for practice in the style of the exam: never a question from the real exam.

In the course

The lesson Resolve notebook, eventhouse, eventstream and T-SQL errors teaches this objective (about 50 minutes), and 20 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.

More in this section

← Previous objective · All 49 objectives · Next objective →