nerdexam
Microsoft

70-459 · Question #111

You have a query that is used by a reporting dashboard. Users report that the query sometimes takes a long time to run. You need to recommend a solution to identify what is causing the issue. What…

The correct answer is B. Set the blocked process threshold, and then create an alert. Step 1: Turn on the blocked process report. This will look for any blocking taking 20 seconds or longer. --Make sure you don't have any pending changes FROM sys.configurations WHERE value <> value_in_use; exec sp_configure 'show advanced options', 1; exec sp_configure 'blocked…

Administer SQL Server

Question

You have a query that is used by a reporting dashboard. Users report that the query sometimes takes a long time to run. You need to recommend a solution to identify what is causing the issue. What should you recommend? More than one answer choice may achieve the goal. Select the BEST answer.

Options

  • ASet the blocked process threshold, and then run SQL Server Profiler.
  • BSet the blocked process threshold, and then create an alert.
  • CEnable trace flag1204, and then create an alert.
  • DCreate a job that queries the sys.dm_os_waiting_tasks dynamic management view.

How the community answered

(50 responses)
  • A
    16% (8)
  • B
    72% (36)
  • C
    8% (4)
  • D
    4% (2)

Explanation

Step 1: Turn on the blocked process report. This will look for any blocking taking 20 seconds or longer. --Make sure you don't have any pending changes FROM sys.configurations WHERE value <> value_in_use; exec sp_configure 'show advanced options', 1; exec sp_configure 'blocked process threshold (s)', 20; GO Step 2: Set up a trace tocapture the blocked process report. Run it as a server side trace. blocked process threshold Server Configuration Option

Topics

#blocking detection#blocked process threshold#performance monitoring#SQL Profiler

Community Discussion

No community discussion yet for this question.

Full 70-459 Practice