PCA (Prometheus Certified Associate) sample exam question with answer 245
Question:
Where should alerting rules be defined?
- separate rules file
- prometheus configuration file
- export configuration file
- alertmanager configuration file
Answer:
A - correct. Alerts and recording rules should be defined in a separate rules file. This file then needs to be referenced in the prometheus.yml file as per:
rule_files:
- rules.yml