Provisioning SQL Databases — Question 35

You administer a Microsoft SQL Server 2012 database.
Users report that an application that accesses the database displays an error, but the error does not provide meaningful information. No entries are found in the
SQL Server log or Windows event logs related to the error.
You need to identify the root cause of the issue by retrieving the error message.
What should you do?

Answer options

Correct answer: A

Explanation

The correct answer is A because creating an Extended Events session with the sqlserver.error_reported event allows you to capture detailed information about the errors occurring in the SQL Server environment. Option B would not provide the focused error details needed, while C and D do not address the requirement of identifying the specific error message related to the application issue.