Question 150
A production SQL Server VM experiences brief deadlocks and the DBA enables an unfiltered statement-level trace for every query for a week. Which diagnostic evidence should the database administrator check FIRST?
Explanation
Correct Answer
Inspect event session predicates, event fields, ring buffer or event file targets, dropped events, blocked process reports and collection overhead. This is the discriminating system or configuration evidence for the case. Extended Events supports focused diagnostic collection; an unfiltered high-volume session can itself increase production overhead and leak query text. Corresponding approach: Use Extended Events sessions to capture targeted SQL events and wait/blocking evidence with bounded collection and a safe target rather than enabling excessive full-query traces in production.
Incorrect Answers
Check automatic tuning mode, automatic plan correction state, index create/drop recommendations, plan verification, workload compatibility level and rollback events. These checks primarily test Automatic tuning and intelligent query processing guardrails instead of the critical system behavior in this case. Examine: Inspect event session predicates, event fields, ring buffer or event file targets, dropped events, blocked process reports and collection overhead.
Inspect Query Store capture mode, runtime statistics, plan IDs, compatibility level, force-plan failure reasons and workload parameter distributions. These checks primarily test Query Store plan regressions and forced plans instead of the critical system behavior in this case. Examine: Inspect event session predicates, event fields, ring buffer or event file targets, dropped events, blocked process reports and collection overhead.
Inspect metric namespace, resource dimensions, aggregation periods, diagnostic destinations, alert scope, delivery permissions, action groups and sample timestamps. These checks primarily test Azure Monitor alerts diagnostics and resource metrics instead of the critical system behavior in this case. Examine: Inspect event session predicates, event fields, ring buffer or event file targets, dropped events, blocked process reports and collection overhead.


