Bird
0
0

Given this Alertmanager config snippet, what will happen when multiple alerts fire simultaneously?

medium📝 Command Output Q13 of 15
Kubernetes - Monitoring and Logging
Given this Alertmanager config snippet, what will happen when multiple alerts fire simultaneously?
route:
  group_by: ['alertname']
  receiver: 'team-email'
receivers:
  - name: 'team-email'
    email_configs:
      - to: 'team@example.com'
AAlerts with the same 'alertname' will be grouped into one notification
BEach alert will send a separate email regardless of grouping
CNo alerts will be sent because 'group_wait' is missing
DAlerts will be sent only to Slack, not email
Step-by-Step Solution
Solution:
  1. Step 1: Understand 'group_by' in Alertmanager route

    'group_by' groups alerts by specified labels; here, alerts with same 'alertname' are grouped.
  2. Step 2: Check receiver and notification method

    Receiver 'team-email' uses email_configs, so grouped alerts send one email per alertname.
  3. Final Answer:

    Alerts with the same 'alertname' will be grouped into one notification -> Option A
  4. Quick Check:

    'group_by' controls alert grouping [OK]
Quick Trick: 'group_by' label controls alert grouping in notifications [OK]
Common Mistakes:
  • Assuming each alert sends separate email
  • Thinking 'group_wait' is required to send alerts
  • Confusing receiver type with Slack

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes