nerdexam
Microsoft

DP-300 · Question #31

You have an application that uses a Microsoft SQL Server database on a Microsoft Azure virtual machine. The application experiences performance issues, which you suspect are related to the…

The correct answer is D. sys.dm_exec_sessions. Explanation sys.dm_exec_sessions (Option D) is the correct choice because it provides detailed information about all active user sessions, including connection pooling-related attributes such as the number of active sessions, their states, and resource consumption - making it…

Submitted by haru.x· Mar 6, 2026Monitor, configure, and optimize database resources

Question

You have an application that uses a Microsoft SQL Server database on a Microsoft Azure virtual machine. The application experiences performance issues, which you suspect are related to the connection pooling. The issues are prevalent only when there are more than 150 concurrent connections. You need to identify whether the performance issues are related to the connection pooling. Which dynamic management view should you query?

Options

  • Asys.dm_os_memory_pools
  • Bsys.dm_exec_requests
  • Csys.dm_exec_connections
  • Dsys.dm_exec_sessions

How the community answered

(55 responses)
  • A
    16% (9)
  • B
    4% (2)
  • C
    7% (4)
  • D
    73% (40)

Explanation

Explanation

sys.dm_exec_sessions (Option D) is the correct choice because it provides detailed information about all active user sessions, including connection pooling-related attributes such as the number of active sessions, their states, and resource consumption - making it the ideal DMV to investigate performance degradation tied to high concurrent connection counts exceeding 150.

Why the distractors are wrong:

  • Option A (sys.dm_os_memory_pools) focuses on SQL Server's internal memory pool allocations, which is unrelated to connection pooling diagnostics.
  • Option B (sys.dm_exec_requests) shows currently executing requests/queries in real time, but doesn't give you a holistic picture of session and pooling behavior.
  • Option C (sys.dm_exec_connections) tracks physical network connection details (like protocol and packet info), but lacks the session-level pooling context needed to diagnose this issue.

Memory Tip: Think "S for Sessions = S for Scalability problems" - when you need to investigate how many users/sessions are hitting your database and causing performance issues at scale, sys.dm_exec_**sessions** is your go-to DMV. If the question mentions concurrent users or connection thresholds, think sessions first.

Topics

#Dynamic Management Views (DMV)#Performance Monitoring#Connection Pooling#Troubleshooting

Community Discussion

No community discussion yet for this question.

Full DP-300 Practice