Administering a SQL Database Infrastructure — Question 140
You are designing a monitoring application for a new SQL Server 2014 instance.
You need to recommend a solution to generate a report that displays the 10 most frequent wait types that occur for the instance.
What should you include in the recommendation? More than one answer choice may achieve the goal. Select the BEST answer.
Answer options
- A. The SQL Server error log
- B. The sys.dm_os_wait_stats dynamic management view
- C. The DBCC SQLPERF(WAITSTATS) command
- D. SQL Server Profiler
Correct answer: B
Explanation
The best option is B, as the sys.dm_os_wait_stats dynamic management view provides detailed statistics on wait types, making it ideal for generating reports on wait frequencies. Option A is incorrect because the SQL Server error log does not provide wait statistics. Option C, while useful for displaying wait statistics, is more limited in scope compared to option B. Option D can capture events but is not the most efficient way to report on wait types specifically.