PCA (Prometheus Certified Associate) sample exam question with answer 497

Question:
What is the primary Alertmanager client? In other words, what is the primary component responsible for sending data to Alertmanager?

  1. Pushgateway
  2. There is no such thing as an Alertmanager client. Alertmanager itself acts as the client when it evaluates alerting rules and passes the resulting alerts to Prometheus
  3. Exporters
  4. Prometheus
Answer:
D - is the correct answer
A - is incorrect as Pushgateway receives metrics pushed from short-lived jobs and is scraped by Prometheus. It does not deal with alerts
B - is incorrect as Alertmanager does not evaluate rules, Prometheus does. When Prometheus evaluates an alerting rule that produces one or more alerts, it then sends those alerts to Alertmanager for grouping, routing and notification
C - is incorrect as exporters only expose Prometheus metrics, they do not send alerts