AZ-104 Monitor and Maintain Azure Resources Practice Question
You need to be notified whenever the average CPU usage of VM-App01 exceeds 80 percent for 10 minutes. The solution must send an email to the operations team automatically. What should you configure?
⚠ Common exam trap
A common mix-up: candidates confuse activity log alerts (which track management-plane operations) with metric alerts (which track performance data), leading candidates to choose Option C when they need real-time metric-based monitoring.
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
✓
Create an Azure Monitor metric alert and link it to an action group.
Azure Monitor metric alerts can evaluate performance counters like CPU usage over a specified time window (e.g., 10 minutes) and trigger an action group when the threshold (80%) is exceeded. The action group can be configured with an email notification to the operations team, meeting the requirement automatically.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Create an Azure Monitor metric alert and link it to an action group.
Why this is correct
An Azure Monitor metric alert continuously evaluates the VM's platform metric for Percentage CPU (a value emitted by Azure Monitor from the VM's hypervisor) against a defined threshold. When the average CPU usage exceeds the threshold, the alert fires and activates a linked action group, which delivers notifications via email, SMS, webhook, ITSM, or automation runbook. This is the intended mechanism for real-time, metric-based performance alerting on a VM.
- ✗
Create an Azure Advisor recommendation alert.
Why it's wrong here
Azure Advisor is a continuous assessment service that reviews resource configuration and emits recommendations for high availability, security, performance, and cost efficiency. It does not monitor a VM's CPU utilization in real time, and its alerts are triggered when a recommendation is generated or updated, not when a numeric metric crosses a threshold. Even a performance-oriented Advisor recommendation, like resizing an underutilized VM, is based on periodic telemetry analysis and is not a substitute for a metric alert on CPU usage.
When this WOULD be correct
You need to be alerted when Azure Advisor identifies a recommendation for your VM, such as 'Right-size underutilized VMs' or 'Enable backup for VMs'. An Advisor recommendation alert would email the team when such a recommendation is generated.
- ✗
Create an activity log alert for the virtual machine.
Why it's wrong here
Activity log alerts inspect the subscription's activity log for control-plane (management plane) events, such as VM create, delete, restart, or scale operations. CPU usage percentage is a telemetry value collected as a resource metric, not an entry in the activity log, so an activity log alert cannot evaluate threshold conditions against it. You could alert on an administrator restarting the VM, but not on utilization crossing a performance threshold.
When this WOULD be correct
You need to be notified when a virtual machine is deleted or stopped. An activity log alert for the 'Delete Virtual Machine' or 'Deallocate Virtual Machine' operation would be correct.
- ✗
Create a subscription budget alert.
Why it's wrong here
Subscription budget alerts are part of Azure Cost Management and track actual or forecasted spending against a monetary budget amount defined per subscription, resource group, or service. They trigger when cost aggregates exceed a percentage or absolute amount, not when performance metrics like average CPU usage reach a threshold. A VM CPU spike creates no cost event by itself, so a budget alert would never fire in response to that condition.
When this WOULD be correct
If the question asked for notification when the cost of VM-App01 exceeds a certain amount (e.g., $500) for a month, then a subscription budget alert would be correct.
Option-by-option analysis
Why each answer is right or wrong
Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The AZ-104 exam frequently reuses these exact scenarios with slightly different constraints.
✓Create an Azure Monitor metric alert and link it to an action group.Correct answer▾
Why this is correct
An Azure Monitor metric alert continuously evaluates the VM's platform metric for Percentage CPU (a value emitted by Azure Monitor from the VM's hypervisor) against a defined threshold. When the average CPU usage exceeds the threshold, the alert fires and activates a linked action group, which delivers notifications via email, SMS, webhook, ITSM, or automation runbook. This is the intended mechanism for real-time, metric-based performance alerting on a VM.
✗Create an Azure Advisor recommendation alert.Wrong answer — click to see why▾
Why this is wrong here
Azure Advisor recommendation alerts notify about recommendations for cost, security, reliability, and performance, not real-time metric thresholds like CPU usage. They cannot trigger on a specific metric condition such as CPU > 80% for 10 minutes.
★ When this WOULD be the correct answer
You need to be alerted when Azure Advisor identifies a recommendation for your VM, such as 'Right-size underutilized VMs' or 'Enable backup for VMs'. An Advisor recommendation alert would email the team when such a recommendation is generated.
Why candidates choose this
Candidates may confuse 'recommendation' with 'alert' and think Advisor can monitor metrics, or they may recall that Advisor provides proactive insights and assume it can trigger on performance thresholds.
✗Create an activity log alert for the virtual machine.Wrong answer — click to see why▾
Why this is wrong here
Activity log alerts monitor changes to Azure resources (e.g., VM creation, deletion), not performance metrics like CPU usage. They cannot trigger based on metric thresholds.
★ When this WOULD be the correct answer
You need to be notified when a virtual machine is deleted or stopped. An activity log alert for the 'Delete Virtual Machine' or 'Deallocate Virtual Machine' operation would be correct.
Why candidates choose this
Candidates may confuse activity log alerts with metric alerts, thinking that any alert on a VM can monitor performance, or they may not understand the distinct purposes of different alert types.
✗Create a subscription budget alert.Wrong answer — click to see why▾
Why this is wrong here
Subscription budget alerts monitor cost spending against a budget, not performance metrics like CPU usage. They cannot trigger on average CPU exceeding a threshold.
★ When this WOULD be the correct answer
If the question asked for notification when the cost of VM-App01 exceeds a certain amount (e.g., $500) for a month, then a subscription budget alert would be correct.
Why candidates choose this
Candidates may confuse budget alerts with performance alerts, thinking 'budget' relates to resource usage rather than financial cost.
Analysis generated from the official AZ-104blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”
Go deeper
Related to this question
Learn chapter
Managed Identities for Azure Resources
Key term
Azure Monitor
Azure Monitor is a cloud service that collects, analyzes, and acts on telemetry data from your Azure and on-premises resources to help you understand performance and availability.
Key term
Action group
An Action group is a collection of notification and automation settings that defines how an Azure Monitor alert responds when triggered, such as who gets emailed, which phone numbers get called, or which automated tasks run.
About these practice questions
This AZ-104 question is part of Courseiva's 1,049-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 →
Same concept, more angles
2 more ways this is tested on AZ-104
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A production Azure VM farm runs customer-facing APIs. Operations wants an automatic notification when the average Percentage CPU on any VM stays above 85 percent for 10 minutes, and the notification must reach both email and SMS recipients. Which two Azure Monitor items must be configured? Select two.
hard- ✓ A.Metric alert rule
- ✓ B.Action group
- C.Diagnostic setting
- D.Workbook
- E.Service health alert
Why A: A Metric alert rule is correct because it monitors the 'Percentage CPU' metric on Azure VMs and can trigger when the average value exceeds 85% for a duration of 10 minutes. This rule evaluates the metric over a specified time window and fires an alert based on the threshold condition, meeting the requirement for automatic notification based on performance metrics.
Variation 2. You need to receive an email when average CPU usage on VM-App01 exceeds 85 percent for 10 minutes. Which Azure Monitor components should you configure?
medium- ✓ A.A metric alert and an action group
- B.A resource lock and Azure Advisor
- C.An activity log alert only
- D.A budget alert
Why A: A metric alert monitors a specific Azure resource metric (like CPU percentage) and triggers when a condition (e.g., average > 85%) is met over a specified evaluation period (e.g., 10 minutes). An action group defines the notification actions (e.g., sending an email) when the alert fires. Together, they fulfill the requirement to receive an email based on a performance threshold.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AZ-104 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-104 exam.