PCA (Prometheus Certified Associate) sample exam question with answer 16
Question:
Which of the following is a popular way to instrument an application for Prometheus monitoring?
- Manually adding instrumentation code to each application endpoint
- Using an APM (Application Performance Monitoring) tool
- Using client libraries provided by Prometheus
- Running the application in a containerized environment
Answer:
C - Prometheus provides client libraries in various programming languages that make it easy to instrument an application.
These libraries provide functions for collecting and exposing metrics that can be scraped by Prometheus.