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

Question:
What is the purpose of Prometheus recording rules?

  1. Define criteria for recording details of metrics for later retroactive evaluation of alerting rules
  2. Record the current state of all firing alerts for later analysis
  3. Record the screen of users of an application and generate metrics from their session
  4. Evaluate a PromQL expression and save the result back to the TSDB as a new metric
Answer:
D - Recording rules