Administering a SQL Database Infrastructure — Question 224

You administer a Microsoft SQL Server 2016 server.
One of the databases on the server supports a highly active OLTP application.
Users report abnormally long wait times when they submit data into the application.
You need to identify which queries are taking longer than 1 second to run over an extended period of time.
What should you do?

Answer options

Correct answer: B

Explanation

The correct answer is B because setting the blocked process threshold and creating an extended event session allows you to capture and analyze queries that are causing significant delays. Option A, while useful for tracing queries, may not provide a comprehensive view over time. Options C, D, and E do not specifically help in identifying the duration of queries consistently exceeding 1 second.