Administering a SQL Database Infrastructure — Question 142

You are troubleshooting an application that runs a query. The application frequently causes deadlocks. You need to identify which transaction causes the deadlock.
What should you do? More than one answer choice may achieve the goal. Select the BEST answer.

Answer options

Correct answer: D

Explanation

The best approach to capture detailed information about deadlocks is to create an extended events session, as it provides comprehensive insights into the deadlock scenario. While options A, B, and C can offer some information, they do not specifically focus on capturing the intricate details of deadlocks like option D does.