exam questions

Exam 70-765 All Questions

View all questions & answers for the 70-765 exam

Exam 70-765 topic 3 question 33 discussion

Actual exam question from Microsoft's 70-765
Question #: 33
Topic #: 3
[All 70-765 Questions]

You administer a Microsoft SQL Server 2012 database named Contoso on a server named Server01.
You need to diagnose deadlocks that happen when executing a specific set of stored procedures by recording events and playing them back on a different test server.
What should you create?

  • A. A Database Audit Specification
  • B. A Policy
  • C. An Alert
  • D. A SQL Profiler Trace
  • E. A Resource Pool
  • F. An Extended Event session
  • G. A Server Audit Specification
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
Use SQL Server Profiler to identify the cause of a deadlock. A deadlock occurs when there is a cyclic dependency between two or more threads, or processes, for some set of resources within SQL Server. Using SQL Server Profiler, you can create a trace that records, replays, and displays deadlock events for analysis.
References: http://msdn.microsoft.com/en-us/library/ms188246.aspx

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
MelKr
5 years ago
Whenever possible Extended Events should be preferred ove SQL Server Profiler In the default System_Health-session there is already a deadlock detection configured: https://docs.microsoft.com/en-us/sql/relational-databases/extended-events/use-the-system-health-session?view=sql-server-ver15
upvoted 2 times
Zikato
4 years, 4 months ago
But you cannot replay them.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago