Fabric Data Engineer (DP-700) · Free practice question 8 of 12
Killing a running warehouse query
A runaway ad hoc query has been running for 50 minutes in a Fabric warehouse at Thurlow Brands and is blocking other work. A workspace admin wants to find its session and end it immediately. Which approach should she use?
- A.Query queryinsights.frequently_run_queries and delete the row that matches the runaway query
- B.Pause the Fabric capacity for one minute
- C.Run DBCC FREEPROCCACHE on the warehouse
- D.Query sys.dm_exec_requests to find the session_id, then run KILL with that session_id
Show answer and explanation
Correct answer: D. Query sys.dm_exec_requests to find the session_id, then run KILL with that session_id
Why: sys.dm_exec_requests shows currently running requests with their session IDs and elapsed time, and an admin can end the offending session with KILL. Query insights only covers completed queries, and deleting from a view isn't possible. Pausing the capacity stops every workload, and clearing the plan cache doesn't stop a running query.
More free Fabric Data Engineer (DP-700) questions
- Maximum Spark job lifetime guardrail
- Managed identity for Azure SQL mirroring
- Spark job definition for script batch jobs
- KQL mv-expand for arrays
- Dataflow Gen2 fast copy
- Zero-copy table clone in a warehouse
- Restoring a Delta table version
- Until activity for status polling
- Load to Tables from lakehouse files
- Schema evolution with mergeSchema
- Pipeline dependency conditions on failure