exam questions

Exam 70-764 All Questions

View all questions & answers for the 70-764 exam

Exam 70-764 topic 1 question 117 discussion

Actual exam question from Microsoft's 70-764
Question #: 117
Topic #: 1
[All 70-764 Questions]

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?

  • A. use SQL Profiler to trace all queries that are processing on the server. Filter queries that have a Duration value of more than 1,000.
  • B. Use sp_configure to set a value for blocked process threshold. Create an extended event session.
  • C. Use the Job Activity monitor to review all processes that are actively running. Review the Job History to find out the duration of each step.
  • D. Run the sp_who command from a query window.
  • E. Run the DBCC TRACEON 1222 command from a query window and review the SQL Server event log.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Zikato
4 years, 5 months ago
Profiler is deprecated but B is also wrong, the query might run longer than 1 sec without blocking anything. I would still side with A
upvoted 1 times
...
dxico
4 years, 5 months ago
Answer is B. Profiler trace is deprecated
upvoted 1 times
...
Iva10
4 years, 11 months ago
I think A, because B is mesuring blocked process time not duration of query. Profiler also have blocked process counter which is different than duration. https://www.mssqltips.com/sqlservertip/4401/find-long-running-sql-server-queries-using-profiler/
upvoted 2 times
KC
4 years, 10 months ago
I think the profiler trace is deprecated. So I’m not sure Microsoft recommends using it.
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...