PCA (Prometheus Certified Associate) sample exam question with answer 394
Question:
Where are alerting rules defined?
- Directly in the Alertmanager configuration file
- In designated files, referenced by the Prometheus configuration file
- In designated files, referenced by the Alertmanager --alerting-rules command line flag
- In designated files, referenced by the Alertmanager configuration file
Answer:
B - is the correct answer. More at
defining-alerting-rules
A - is incorrect as alerting rules are actually defined in their own files and referenced by Prometheus
C, D - are incorrect as it is actually Prometheus that references and evaluates alerting rules, not Alertmanager