Why Alerts Matter
Monitoring only helps if you act on it.
Azure Alerts notify you when certain conditions occur, and Action Groups define what happens next (email, SMS, automation).
Azure Alerts
-
Triggered when metrics or logs meet a defined condition.
-
Can be set for:
-
Metrics Alerts → real-time thresholds (e.g., CPU > 80%).
-
Log Alerts → query-based (e.g., more than 10 failed sign-ins in 5 minutes).
-
Activity Log Alerts → when specific operations happen (e.g., VM deleted).
-
Action Groups
-
Collection of actions executed when an alert is triggered.
-
Actions can include:
-
Email/SMS notifications.
-
Push notifications (Azure mobile app).
-
Voice call.
-
Webhook or Logic App trigger.
-
Automation runbook.
-
Think of Action Groups as the “what to do” when an alert fires.
Example Flow
-
A VM’s CPU stays above 80% for 10 minutes.
-
Alert rule is triggered.
-
Action Group sends an email to admins and triggers a Logic App that creates a ServiceNow ticket.
Confusion Buster 🚨
-
Alert vs Action Group
-
Alert = condition detection.
-
Action Group = response to that alert.
-
-
Metrics vs Log Alert
-
Metric alert = fast, number-based.
-
Log alert = query-driven, more detailed.
-
Exam trap: If the scenario says “trigger automation when a condition is met”, you need Alerts + Action Groups.
Simple Example
A company monitors its web servers:
-
Metric Alert: Triggers when CPU > 90%.
-
Log Alert: Fires if 5 failed logins occur within 10 minutes.
-
Action Group: Sends SMS to admin + starts an Azure Automation runbook to add another VM.
Exam Tip
-
If the requirement is real-time threshold detection, think Metrics Alert.
-
If it’s query-based detection, think Log Alert.
-
If scenario says notify multiple people or trigger automation, answer is Action Groups.
What to Expect in the Exam
-
Direct Q: “Which Azure feature groups actions like email and automation in response to alerts?” → Action Group.
-
Scenario: “Send SMS when VM CPU exceeds 80% for 10 minutes.” → Metric Alert + Action Group.
-
Trick Q: “Alerts alone send SMS notifications.” (False — they need Action Groups).