Administering a SQL Database Infrastructure — Question 237

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

Answer options

Correct answer: C

Explanation

The correct answer is C because querying the sys.dm_exec_sessions dynamic management view allows you to see session-level information, including isolation levels. Options A and B provide useful information but do not directly reveal the isolation level. Option D gives insights into deadlocks but is not the most straightforward method to find the isolation level.