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

Question:
Which of the following components are needed to create a custom exporter in Prometheus? Select all that apply.

  1. A data source to be monitored
  2. A configuration file for the exporter
  3. A Prometheus client library for the language of the data source
  4. A script or program that exports the data in a Prometheus-compatible format
Answer:
A, C, D - are correct answers. To create a custom exporter in Prometheus, you need a data source to be monitored, a Prometheus client library for the language of the data source, and a script or program that exports the data in a Prometheus-compatible format
B - is incorrect. A configuration file is optional but can be useful for configuring the exporter's behavior