Courseiva
Monitor, configure, and optimize database resourcesmediumMultiple ChoiceObjective-mapped

DP-300 Practice Question: Monitor, configure, and optimize database resources

You manage an Azure SQL Database that is experiencing higher than expected DTU consumption. You need to identify which queries are consuming the most resources. Which dynamic management view should you query?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Query sys.dm_exec_query_stats

sys.dm_exec_query_stats returns aggregate performance statistics for cached query plans, including CPU time, logical reads, and duration, making it ideal for identifying queries that consume the most resources in Azure SQL Database. Option A (sys.dm_exec_requests) shows only currently executing requests, not historical data. Option B (sys.dm_os_wait_stats) provides server-level wait statistics, not per-query resource usage. Option D (sys.dm_db_resource_stats) shows database-level DTU consumption per minute, not per-query details.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Query sys.dm_exec_requests

    Why it's wrong here

    Incorrect. sys.dm_exec_requests shows only currently executing requests, which does not help identify historical high-resource queries.

  • Query sys.dm_os_wait_stats

    Why it's wrong here

    Incorrect. sys.dm_os_wait_stats provides server-level wait statistics, not per-query resource consumption.

  • Query sys.dm_exec_query_stats

    Why this is correct

    Correct. sys.dm_exec_query_stats returns aggregate performance statistics for cached query plans, allowing identification of queries with high CPU, I/O, or duration.

  • Query sys.dm_db_resource_stats

    Why it's wrong here

    Incorrect. sys.dm_db_resource_stats shows database-level DTU consumption over time, not per-query resource usage.

About these practice questions

One of 906 original DP-300 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DP-300 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DP-300 exam.