Design Alert Routing, Deduplication and Escalation for Azure Monitor

Last updated: November 29, 2026

Quick Overview

Design the notification side of an alerting system: when metric or log alert rules fire for Azure resources, group related alerts, suppress duplicates, route them to email, SMS, webhooks and on-call tools, and escalate if nobody acknowledges.

Microsoft
System Design
Software Engineer
Microsoft
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design the notification side of an alerting system: when metric or log alert rules fire for Azure resources, group related alerts, suppress duplicates, route them to email, SMS, webhooks and on-call tools, and escalate if nobody acknowledges.

Azure Monitor action groups and incident tools solve this at large scale, and it fits the notifications theme with on-call realism. The interviewer checks alert state (fired versus resolved), dedup keys, rate limits on channels like SMS, and reliable escalation timers.

What the Interviewer Expects
  • Models alert state transitions (fired, acknowledged, resolved) with a stable alert id
  • Deduplicates repeated firings with a fingerprint
  • Groups correlated alerts to avoid alert storms
  • Routes through action groups with per-channel delivery and retries
  • Implements escalation timers durably
  • Rate limits expensive channels and protects receivers
Key Topics to Cover
Alert fingerprinting
Stateful alerts
Alert grouping
Escalation policies
Channel rate limits
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • A regional outage makes 5,000 alert rules fire within a minute. What does the on-call engineer receive?
  • How do you ensure an escalation still happens if the service restarts?
  • How do you avoid sending SMS to someone who unsubscribed?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Alert evaluations produce firing and resolved signals at high volume. Customers configure action groups (email, SMS, voice, push, webhook, ITSM). Notifications should go out within a minute. Repeated ...

High-Level Design

Evaluator publishes AlertSignal {ruleId, resourceId, severity, condition, state} to a log. Alert manager keeps the alert store: fingerprint = hash(ruleId, resourceId, dimensions). New finger...


Submit Your Answer
Markdown supported