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

Question:
Which component of the Prometheus architecture should be used to collect metrics of short-lived jobs?

  1. push gateway
  2. service discovery
  3. alertmanager
  4. exporters
Answer:
A - push gateway exists to allow ephemeral and batch jobs to expose their metrics to Prometheus