DP-300 Practice Question: Monitor, configure, and optimize database resources
You manage an Azure SQL Managed Instance. You need to monitor storage space usage. Which TWO dynamic management views can you use?
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
✓
sys.dm_db_file_space_usage
Options C and D are correct. sys.dm_db_file_space_usage provides data file space usage, and sys.dm_db_log_space_usage provides transaction log space usage. Option A is incorrect because sys.dm_db_partition_stats shows row counts and partition-level information, not storage space. Option B is incorrect because sys.dm_exec_query_stats is for query performance metrics. Option E is incorrect because sys.dm_os_performance_counters includes various performance counters but does not directly show per-database space usage.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
sys.dm_db_partition_stats
Why it's wrong here
Shows row counts, not space.
- ✗
sys.dm_exec_query_stats
Why it's wrong here
For query performance.
- ✓
sys.dm_db_file_space_usage
Why this is correct
Shows data file space usage.
- ✓
sys.dm_db_log_space_usage
Why this is correct
Shows log space usage.
- ✗
sys.dm_os_performance_counters
Why it's wrong here
Not direct space per database.
Go deeper
Related to this question
Learn chapter
Overview of Azure Data Platform Options
Key term
Azure SQL Managed Instance
Azure SQL Managed Instance is a fully managed cloud database service that gives you nearly all the features of Microsoft SQL Server on your own server, without you having to manage the hardware or operating system.
About these practice questions
Courseiva writes every DP-300 question from scratch — 906 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
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.