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

Question:
Which of the following statements about Prometheus recording rules are true? (Select all that apply.)

  1. Recording rules allow you to precompute frequently-used queries to reduce load on your Prometheus server
  2. Recording rules are defined in YAML format
  3. Recording rules can be used to create new metrics based on existing metrics
  4. Recording rules can only be used to aggregate data within a single Prometheus instance
Answer:
A, B, C - are correct. Prometheus recording rules allow you to precompute frequently-used queries to reduce load on your Prometheus server. These rules are defined in YAML format and can be used to create new metrics based on existing metrics
D - Recording rules can be used to aggregate data within a single Prometheus instance, but they can also be used to transform and aggregate data across multiple instances