PCA (Prometheus Certified Associate) sample exam question with answer 24
Question:
What is the role of a Prometheus client library?
- To scrape and store metrics from targets
- To generate alerts based on defined rules
- To provide a way for services to expose metrics to the Prometheus server
- To collect log data from targets
Answer:
C - Prometheus client libraries provide an easy way for services to instrument their code and expose metrics to the Prometheus server using a variety of different programming languages