PCA (Prometheus Certified Associate) sample exam question with answer 314
Question:
Which of the following is a method for creating custom metrics in Prometheus?
- Adding code to the Prometheus server
- Installing a Prometheus plugin
- Writing an exporter
- Configuring a data source
Answer:
C - writing an exporter is a method for creating custom metrics in Prometheus. An exporter is a piece of code that exposes metrics data in a format that Prometheus can understand, allowing it to be scraped and stored