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?

  1. Use short and generic alert names
  2. Avoid using labels in alert expressions
  3. Define alerting rules in the Prometheus configuration file
  4. 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