AZ-204 Practice Question: Monitor, troubleshoot, and optimize Azure solutions
You need to monitor the CPU utilization of an Azure VM in real-time and set up an alert when it exceeds 90%. Which Azure Monitor feature should you use?
⚠ Common exam trap
Watch out — candidates often confuse Azure Monitor for VMs (which provides a dashboard view) with the actual alerting mechanism, or they mistakenly think Log Analytics is needed for metric alerts when Metrics Explorer handles them directly.
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
✓
Metrics Explorer
Metrics Explorer is the correct Azure Monitor feature for real-time monitoring of CPU utilization on an Azure VM because it provides near real-time metric collection (typically every 1 minute) and supports alerting based on threshold conditions. It allows you to chart performance counters like Percentage CPU and configure metric alerts that trigger when the value exceeds 90%.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Log Analytics Workspace
Why it's wrong here
Log Analytics Workspace is primarily designed for collecting, querying, and analyzing log and performance data from various Azure resources, including custom performance counters from VMs. While it can store performance data, it is not optimized for real-time metric visualization or immediate alerting on high-frequency, low-latency platform metrics like CPU utilization. Data ingestion and processing into Log Analytics introduce inherent latency, making it unsuitable for the instantaneous, real-time monitoring and alerting specified in the question.
- ✓
Metrics Explorer
Why this is correct
Metrics Explorer, an integral part of Azure Monitor, is the dedicated tool for visualizing and analyzing platform metrics emitted by Azure resources, including VM CPU utilization. It provides near real-time data with minimal latency, enabling users to interactively chart metrics, apply aggregations, and directly create metric alerts based on specific thresholds. This capability directly addresses the requirement for real-time monitoring and setting alerts on VM CPU utilization with high responsiveness.
- ✗
Application Insights
Why it's wrong here
Application Insights is a specialized Application Performance Management (APM) service within Azure Monitor, focused on monitoring the performance, availability, and usage of web applications and services. Its primary function is to provide deep insights into application code, dependencies, and user experience. While it can collect some host-level metrics if configured, its core purpose is not to monitor the underlying VM infrastructure's CPU utilization in isolation, making it an indirect and less appropriate tool for this specific task.
- ✗
Azure Monitor for VMs
Why it's wrong here
Azure Monitor for VMs offers a consolidated view of the health and performance of your Azure virtual machines and virtual machine scale sets, providing insights into processes, dependencies, and overall resource utilization. While it leverages underlying metrics to present health summaries and dependency maps, its primary interface is for high-level operational insights. The actual creation and management of granular, real-time metric alerts for specific performance counters like CPU utilization are performed directly within the Azure Monitor Metrics Explorer, which Azure Monitor for VMs utilizes for its detailed views.
Go deeper
Related to this question
About these practice questions
This AZ-204 question is part of Courseiva's 881-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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 AZ-204 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 AZ-204 exam.