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

Question:
Which of the following statements are true regarding the Prometheus metrics registry? Select all that apply

  1. The metrics registry is designed to support high concurrency and scalability
  2. The metrics registry can be queried directly by external systems and applications
  3. The metrics registry is implemented using a database backend, such as MySQL or PostgreSQL
  4. The metrics registry is a key component of the Prometheus server
Answer:
A, D - correct answers. The Prometheus metrics registry is a key component of the Prometheus server and is responsible for managing all metric values collected by Prometheus. It is designed to support high concurrency and scalability, and can be queried using the Prometheus query language (PromQL). The metrics registry is not implemented using a database backend, but rather uses an in-memory data structure for performance reasons