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

Question:
Which of the following statements is true regarding exporters?

  1. Exporters must be installed on the Prometheus server
  2. Exporters expose metrics in a format that can be scraped by Prometheus
  3. Exporters are only used for collecting metrics from databases
  4. Exporters can only be used in a pull-based fashion
Answer:
B - Exporters are used to collect data from external sources and make it available for ingestion by Prometheus. They expose metrics in a format that can be scraped by Prometheus, typically through an HTTP endpoint. Exporters can be used in both push-based and pull-based modes, depending on the requirements of the application or system being monitored