Granting Least Privilege for Synapse DMV Access
Short answer
A VIEW DATABASE STATE
Question
Key Takeaways
The question tests knowledge of specific dynamic management view (DMV) permissions in Synapse, where granting database-scoped state visibility avoids unnecessary server-wide privileges.
To monitor Azure Synapse dedicated SQL pool performance via sys.dm_pdw_exec_requests, the VIEW DATABASE STATE permission is required. Community consensus confirms this adheres to the principle of least privilege compared to server-level roles.
Common mistake: Candidates often select CONTROL SERVER or VIEW ANY DATABASE because they assume monitoring requires broad administrative access, failing to recognize that VIEW DATABASE STATE is sufficient and scoped correctly.
Expert Analysis
Why the Answer Is Correct
Granting the VIEW DATABASE STATE permission allows a user to query dynamic management views such as sys.dm_pdw_exec_requests within a specific database without exposing sensitive metadata outside that scope. This aligns perfectly with the principle of least privilege by limiting access to only what is necessary for monitoring execution requests.
Why the Other Options Are Wrong
CONTROL SERVER grants excessive administrative rights across the entire server instance, violating least privilege. VIEW ANY DATABASE allows viewing information about all databases but not necessarily the internal execution states required for DMVs like sys.dm_pdw_exec_requests. SHOWPLAN relates to query plan display and does not grant access to execution request metrics.
Community Comment Notes
Community members unanimously agree on option A, citing official Microsoft documentation that links sys.dm_pdw_exec_requests access specifically to the VIEW DATABASE STATE permission. Comments emphasize that this is a standard security configuration for monitoring dedicated SQL pools.
Official Reference
This link opens the official vendor documentation in a new tab.
Exam Strategy
Always map specific system views or DMVs to their exact required permissions rather than assuming broader roles are needed. When 'least privilege' is mentioned, look for database-scoped permissions over server-scoped ones.
Community Votes
100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 2 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 2
-
renan_ineu 👍 1A - Correct https://learn.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/sql-data-warehouse-manage-monitor
-
tadenet 👍 1 Answered Acorrect
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.