PCA (Prometheus Certified Associate) sample exam question with answer 540
Question:
Which of the following methods can be used for instrumenting custom applications with Prometheus? Select all that apply
- Manually adding instrumentation code to the application
- Using a Prometheus client library, such as the Prometheus Java client
- Running the application inside a Docker container with the Node Exporter
- Using an existing Exporter, such as the Redis Exporter
Answer:
A, B - are the correct answers
C - is incorrect. It is useful for monitoring the performance of the container and the underlying host, but does not provide detailed metrics about the application itself
D - is incorrect. It is useful for monitoring specific services or technologies, but may not provide a comprehensive view of the application. Importing data from a third-party monitoring tool into Prometheus is also possible, but requires additional setup and configuration