70-473 · Question #95
You have Microsoft Azure SQL database named DB1. You plan to monitor the resource utilization of DB1. You need to review the following resource utilization: Average compute Average I/O Which data…
The correct answer is A. sys.dm_db_resource_stats. To monitor the average compute and I/O utilization for a specific Azure SQL Database, the sys.dm_db_resource_stats dynamic management view should be used.
Question
Options
- Asys.dm_db_resource_stats
- Bsys.elastic_pool_resource_stats
- Csys.dm_exec_query_stats
- Dsys.resource_stats
How the community answered
(27 responses)- A89% (24)
- B4% (1)
- C7% (2)
Why each option
To monitor the average compute and I/O utilization for a specific Azure SQL Database, the `sys.dm_db_resource_stats` dynamic management view should be used.
The `sys.dm_db_resource_stats` view provides near real-time resource utilization statistics for an individual Azure SQL Database, including metrics like CPU, data I/O, log I/O, and memory usage within 15-second intervals. This makes it ideal for reviewing average compute and I/O consumption for a single database.
The `sys.elastic_pool_resource_stats` view provides resource utilization for elastic pools, not for individual databases outside an elastic pool.
The `sys.dm_exec_query_stats` view provides performance statistics for cached query plans, which is not suitable for monitoring overall database compute and I/O utilization.
The `sys.resource_stats` view provides historical resource utilization data for all databases on a logical server, aggregated every five minutes, and is not designed for near real-time, specific database-level average compute and I/O as directly as `sys.dm_db_resource_stats`.
Concept tested: Azure SQL Database resource monitoring views
Source: https://learn.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-db-resource-stats-azure-sql-database
Topics
Community Discussion
No community discussion yet for this question.