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

  1. Manually adding instrumentation code to the application
  2. Using a Prometheus client library, such as the Prometheus Java client
  3. Running the application inside a Docker container with the Node Exporter
  4. 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