exam questions

Exam 70-764 All Questions

View all questions & answers for the 70-764 exam

Exam 70-764 topic 2 question 2 discussion

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

You have a database named DB1.
Users report that a database application that updates the data in DB1 is unresponsive.
You need to identify which process prevents the application from responding.
What should you do?

  • A. Run DBCC INPUTBUFFER.
  • B. Query sys.dm_exec_session_wait_stats.
  • C. Run sp_autostats.
  • D. Run sp_who.
  • E. Query sys.dm_db_resource_stats.
  • F. Run sp_getapplock.
  • G. Query sys.dm_os_waiting_tasks.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Sys.dm_exec_session_wait_stats returns information about all the waits encountered by threads that executed for each session. You can use this view to diagnose performance issues with the SQL Server session and also with specific queries and batches.
References:
https://docs.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-exec-session-wait-stats-transact-sql

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
V_karag
4 years, 11 months ago
With B DMV we can identify wait types but we cannot find who blocked the session . i think the correct is D because the question asks to identify the process that prevents the query (aka blockers.)
upvoted 2 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 ...