StudyToCert

All certifications / AI-200 / Lessons

Microsoft Certified: Azure AI Cloud Developer Associate AI-200 (replaced AZ-204) · Domain 4: Secure, monitor, and troubleshoot Azure solutions

Alerts: metric vs log search alerts and action groups

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

An alert is a smoke detector for your app. It keeps checking something and makes noise when a rule is broken. Azure has two main kinds. A metric alert watches a single number, like how many messages are stuck in a queue, and reacts quickly when it crosses a line, then quiets down by itself when the number recovers. A log search alert runs a saved question against your logs every few minutes, such as "how many times did this specific error appear?", which lets it check things a single number cannot. It reacts a bit more slowly. Who gets told, and what automatic action runs, is kept in an action group: a reusable contact list plus a set of actions that many alerts can share, so you update a phone number once.

On Monday morning at Thistle Grove Pharmacy, the overnight order backlog is enormous. The Service Bus dead-letter queue filled up at 1 a.m., and nobody knew until the store managers called at 7. There was a dashboard showing it, of course, but nobody watches dashboards at 1 a.m. Gabriel, the operations manager, asks you to make sure it never happens again: page the on-call engineer within minutes when the queue backs up, and email the team when the pharmacy assistant starts throwing throttling errors. He also wants the on-call phone number in one place, not copied into twenty rules. Which kind of alert fits each problem, and how do you wire up the notifications?

Monitoring only helps if someone learns about problems quickly, and nobody watches dashboards all night. Azure Monitor alerts evaluate a condition on your telemetry and, when the condition is met, fire an alert that notifies people or starts automation. Every alert rule has three parts: the scope, which is the resource or resources to watch; the condition, which is the signal and the logic applied to it; and the actions, usually one or more action groups. Each rule also has a severity from 0 (critical) to 4 (verbose), which helps responders decide what to handle first and lets you route different severities differently.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 8 more sections, 6 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study AI-200 for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the AI-200 study plan