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

Question:
How and at what level of granularity is Prometheus data retention configured?

  1. Per-scrape in command line flags
  2. Globally via the configuration file
  3. Globally via command line flags
  4. Per-scrape in the configuration file
Answer:
C - retention is actually configured via the --storage.tsdb.retention.time command line flag.
Check operational aspects