AZ-104 Monitor and Maintain Azure Resources Practice Question
This AZ-104 practice question tests your understanding of monitor and maintain azure resources. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. A key principle to apply: action groups define notification preferences and actions for Azure Monitor alerts.. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Exhibit
Azure Monitor alert rule
- Signal type: Metric
- Resource: vm-prod-01
- Condition: Percentage CPU > 80
- Condition window: 10 minutes
- Current action group: None
- Notification requirement: Email the operations team
Based on the exhibit, what should the administrator configure so the operations team receives an email when the VM's average CPU stays above 80% for 10 minutes?
Exhibit
Azure Monitor alert rule
- Signal type: Metric
- Resource: vm-prod-01
- Condition: Percentage CPU > 80
- Condition window: 10 minutes
- Current action group: None
- Notification requirement: Email the operations team
A
Create a diagnostic setting on the VM and send platform logs to Log Analytics.
Why wrong: Diagnostic settings send telemetry to destinations, but they do not directly notify users when a threshold is crossed.
B
Create an action group and attach it to the metric alert rule.
An action group is the Azure Monitor component that delivers notifications or runs automation when an alert fires. The metric alert already defines the CPU condition, so the missing piece is the action group to email the operations team. Once linked, the alert can evaluate continuously and send the required notification whenever the threshold is met.
C
Assign a Reader role to the operations team on the VM resource.
Why wrong: Reader access allows viewing the VM, but it does not create alert notifications or send email when CPU rises.
D
Enable a resource lock on the VM to prevent CPU spikes.
Why wrong: Locks help prevent management changes, but they do not monitor performance or generate alert notifications.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Create an action group and attach it to the metric alert rule.
To send an email when a metric threshold is breached, you must first create an action group that defines the notification action (e.g., email, SMS). Then, when configuring the metric alert rule for 'Percentage CPU' with a condition of 'greater than 80%' for 10 minutes, you attach that action group to the alert rule. This ensures that when the alert fires, the defined email notification is sent to the operations team.
Key principle: Action groups define notification preferences and actions for Azure Monitor alerts.
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 a diagnostic setting on the VM and send platform logs to Log Analytics.
Why it's wrong here
Diagnostic settings send telemetry to destinations, but they do not directly notify users when a threshold is crossed.
When this WOULD be correct
This would be correct if the question asked: 'What should the administrator configure to collect and analyze VM performance metrics over time?' or 'What is needed to enable advanced querying of VM metrics in Azure Monitor?'
✓
Create an action group and attach it to the metric alert rule.
Why this is correct
An action group is the Azure Monitor component that delivers notifications or runs automation when an alert fires. The metric alert already defines the CPU condition, so the missing piece is the action group to email the operations team. Once linked, the alert can evaluate continuously and send the required notification whenever the threshold is met.
Related concept
Action groups define notification preferences and actions for Azure Monitor alerts.
✗
Assign a Reader role to the operations team on the VM resource.
Why it's wrong here
Reader access allows viewing the VM, but it does not create alert notifications or send email when CPU rises.
When this WOULD be correct
If the question asked 'What should the administrator configure so the operations team can view the VM's CPU metrics in the Azure portal?' then assigning a Reader role would be correct.
✗
Enable a resource lock on the VM to prevent CPU spikes.
Why it's wrong here
Locks help prevent management changes, but they do not monitor performance or generate alert notifications.
When this WOULD be correct
A question asks: 'An administrator needs to prevent accidental deletion of a critical production VM. What should they configure?' In that case, enabling a resource lock (e.g., CanNotDelete) 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 action group and attach it to the metric alert rule.Correct answer▾
Why this is correct
An action group is the Azure Monitor component that delivers notifications or runs automation when an alert fires. The metric alert already defines the CPU condition, so the missing piece is the action group to email the operations team. Once linked, the alert can evaluate continuously and send the required notification whenever the threshold is met.
✗Create a diagnostic setting on the VM and send platform logs to Log Analytics.Wrong answer — click to see why▾
Why this is wrong here
This option does not configure email notification for the alert. Diagnostic settings send logs to Log Analytics for analysis, but they do not trigger email alerts when CPU exceeds a threshold.
★ When this WOULD be the correct answer
This would be correct if the question asked: 'What should the administrator configure to collect and analyze VM performance metrics over time?' or 'What is needed to enable advanced querying of VM metrics in Azure Monitor?'
Why candidates choose this
Candidates may confuse diagnostic settings with alert rules, thinking that sending logs to Log Analytics automatically enables alerting, or they may believe that platform logs include metric alerts.
✗Assign a Reader role to the operations team on the VM resource.Wrong answer — click to see why▾
Why this is wrong here
Assigning a Reader role allows the operations team to view VM metrics but does not enable email notifications for CPU threshold alerts.
★ When this WOULD be the correct answer
If the question asked 'What should the administrator configure so the operations team can view the VM's CPU metrics in the Azure portal?' then assigning a Reader role would be correct.
Why candidates choose this
Candidates may confuse permissions (who can see alerts) with alerting actions (who gets notified), assuming that granting read access also enables email delivery.
✗Enable a resource lock on the VM to prevent CPU spikes.Wrong answer — click to see why▾
Why this is wrong here
Resource locks prevent accidental deletion or modification of a resource, not CPU spikes. They do not trigger email notifications based on performance metrics.
★ When this WOULD be the correct answer
A question asks: 'An administrator needs to prevent accidental deletion of a critical production VM. What should they configure?' In that case, enabling a resource lock (e.g., CanNotDelete) would be correct.
Why candidates choose this
Candidates may confuse 'lock' with 'alert' or think a lock can somehow block performance issues, misunderstanding the purpose of resource locks.
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?”
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates confuse diagnostic settings (which send data to a destination) with alert rules (which evaluate conditions and trigger notifications), leading them to pick Option A even though it does not include the action group needed for email delivery.
Detailed technical explanation
How to think about this question
Under the hood, Azure Monitor metric alerts evaluate the specified metric (e.g., Percentage CPU) over a given aggregation window (e.g., 10 minutes) using a threshold. When the condition is met, the alert state changes to 'Fired', and the alert engine invokes all linked action groups. Action groups can contain multiple action types (email, SMS, webhook, ITSM, etc.), and each action type has its own rate limits and retry logic—for email, Azure Monitor sends the notification via SMTP with a default retry of up to 3 times. In a real-world scenario, you might combine email with a webhook to trigger an automated remediation runbook, but the core requirement of 'sending an email' is fulfilled solely by the action group attached to the alert rule.
KKey Concepts to Remember
Action groups define notification preferences and actions for Azure Monitor alerts.
An action group can include email, SMS, push notifications, and webhook actions.
Action groups are linked to alert rules (metric, activity log, smart detection) to trigger responses.
Multiple alert rules can utilize the same action group for consistent notification delivery.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Action groups define notification preferences and actions for Azure Monitor alerts.
Real-world example
How this comes up in practice
A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.
Related glossary terms
Concepts from this question explained
These glossary pages explain the core terms tested in this AZ-104 question in full detail.
Review action groups define notification preferences and actions for Azure Monitor alerts., then practise related AZ-104 questions on the same topic to reinforce the concept.
Monitor and Maintain Azure Resources — This question tests Monitor and Maintain Azure Resources — Action groups define notification preferences and actions for Azure Monitor alerts..
What is the correct answer to this question?
The correct answer is: Create an action group and attach it to the metric alert rule. — To send an email when a metric threshold is breached, you must first create an action group that defines the notification action (e.g., email, SMS). Then, when configuring the metric alert rule for 'Percentage CPU' with a condition of 'greater than 80%' for 10 minutes, you attach that action group to the alert rule. This ensures that when the alert fires, the defined email notification is sent to the operations team.
What should I do if I get this AZ-104 question wrong?
Review action groups define notification preferences and actions for Azure Monitor alerts., then practise related AZ-104 questions on the same topic to reinforce the concept.
What is the key concept behind this question?
Action groups define notification preferences and actions for Azure Monitor alerts.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.