PCA (Prometheus Certified Associate) sample exam question with answer 432

Question:
Which of the following are best practices for using Prometheus in production environments? Select all that apply.

  1. Set appropriate retention periods for metrics data
  2. Monitor Prometheus itself for errors and performance issues
  3. Use Prometheus for long-term storage of metrics data
  4. Run Prometheus in a containerized environment
Answer:
A, B - are correct answers, When using Prometheus in production environments, it is important to follow best practices to ensure that the system is reliable and performant. Setting appropriate retention periods for metrics data is important to ensure that data is available for analysis when needed, without taking up too much disk space. Monitoring Prometheus itself for errors and performance issues is important to identify issues before they affect the system
C - using Prometheus for long-term storage of metrics data is not a best practice, as it can lead to performance issues and data corruption
D - running Prometheus in a containerized environment is a common practice, but it is not a best practice in and of itself