DP-700 · Question #116
You are working in a Microsoft Fabric data environment that includes a data warehouse named Warehouse1. This warehouse receives daily data updates via data pipeline and stored procedures. Recently…
The correct answer is B. sys.dm_exec_sessions. The question asks to identify currently executing queries and their users in a Microsoft Fabric data warehouse for troubleshooting performance issues.
Question
Exhibits
Options
- Aqueryinsights.frequently_run_queries
- Bsys.dm_exec_sessions
- Cqueryinsights.long_running_queries
- Dsys.dm_exec_connections
- Esys.dm_exec_requests
How the community answered
(50 responses)- A4% (2)
- B94% (47)
- E2% (1)
Why each option
The question asks to identify currently executing queries and their users in a Microsoft Fabric data warehouse for troubleshooting performance issues.
queryinsights.frequently_run_queries provides historical data about queries that run often, not currently executing queries.
sys.dm_exec_sessions is a dynamic management view (DMV) that provides information about all active user connections and internal tasks in a SQL Server instance, including the current login, host name, and program name for each session, making it ideal for identifying who is connected and potentially running queries.
queryinsights.long_running_queries provides historical data about queries that took a long time to complete, not currently executing queries.
sys.dm_exec_connections provides details about connections, but sys.dm_exec_sessions gives a more complete picture of active user sessions and their associated activity, which is better for identifying 'who is currently executing queries'.
sys.dm_exec_requests shows currently executing requests, but sys.dm_exec_sessions provides more direct user context for active sessions, which is the primary focus of identifying 'which users' are running queries.
Concept tested: Monitoring active sessions and users in Fabric Data Warehouse using DMVs
Source: https://learn.microsoft.com/fabric/data-warehouse/query-insights-dmvs
Topics
Community Discussion
No community discussion yet for this question.

