PCA (Prometheus Certified Associate) sample exam question with answer 594
Question:
Which of the following is a best practice for managing alerting rules in Prometheus?
- Use short and generic alert names
- Avoid using labels in alert expressions
- Define alerting rules in the Prometheus configuration file
- Regularly review and update alerting rules
Answer:
D - is the correct answer. Regularly reviewing and updating alerting rules is a best practice for ensuring that the alerts are still relevant and useful
A, B, C - are the incorrect answers. Using specific and descriptive alert names, using labels in alert expressions, and defining alerting rules in separate files are also recommended practices for managing alerting rules in Prometheus