Objective: Select the diagnostic component that fits each requirement in SQL Server 2025. Review the module lessons on events, actions and payload fields. This is a documentation exercise; no database changes are required.
Write seven number-letter pairs, using each letter once. The two table columns are independent lists, not suggested matches. Then describe a focused session for investigating slow statements in one database.
| Scenario | Possible diagnostic component |
|---|---|
| 1. Capture the completion of a single T-SQL statement. | A. Predicate (capture filter) |
| 2. Attach the client application name to captured events. | B. Query Store history |
| 3. Capture only events for the database being investigated. | C. Extended Events event |
| 4. Keep captured events in rollover .xel files for later analysis. | D. ALTER EVENT SESSION ... STATE = STOP |
| 5. Compare query performance and plans across earlier time windows. | E. xml_deadlock_report event |
| 6. Investigate the resource cycle and victim in a deadlock. | F. Extended Events action |
| 7. End event collection while retaining the session definition. | G. event_file target |
This is a written exercise, not an automatic grader. Award up to 2 points for the seven matches (2/7 point per correct match), plus 1 point for explaining a focused capture with relevant events, minimal actions, a predicate and a target. Submitting displays the model solution; it does not award credit.