web analytics

You need to monitor the SQL environment and capture the information about the processes that are causing the deadlocks. Captured information must be viewable as the queries are running. What should you do?

Note: This question is part of a series of questions that use the same or similar answer choices. An
Answer choice may be correct for more than one question in the series. Each question
independent of the other questions in this series. Information and details provided in a question
apply only to that question.
You are a database developer for a company. The company has a server that has multiple physical disks.
The disks are not part of a RAID array. The server hosts three Microsoft SQL Server instances. There are
many SQL jobs that run during off-peak hours.
You observe that many deadlocks appear to be happening during specific times of the day.
You need to monitor the SQL environment and capture the information about the processes that are
causing the deadlocks. Captured information must be viewable as the queries are running.
What should you do?
A. A. Create a sys.dm_os_waiting_tasks query.
B. Create a sys.dm_exec_sessions query.
C. Create a PerformanceMonitor Data Collector Set.
D. Create a sys.dm_os_memory_objects query.
E. Create a sp_configure `max server memory’ query.
F. Create a SQL Profiler trace.
G. Create a sys.dm_os_wait_stats query.
H. Create an Extended Event.
Answer: F