PCA (Prometheus Certified Associate) sample exam question with answer 509
Question:
How can a specific Alertmanager route be disabled during a particular time frame?
- By specifying the --mute-route command line flag to Alertmanager
- Using an inhibiting rule
- Using a silence
- By specifying the mute_time_intervals attribute in the route within the Alertmanager configuration file
Answer:
D - is the correct answer
A - is incorrect as this is not a command line flag provided by Alertmanager
B - is incorrect as inhibiting prevents notifications for certain alerts based on certain other alerts firing. Additionally, inhibiting applies globally in Alertmanager, not to a specific route
C - is incorrect as silencing prevents notifications for alerts matching a set of matchers for a duration of time. Additionally, silencing applies globally in Alertmanager, not to a specific route