PCA (Prometheus Certified Associate) sample exam question with answer 302
Question:
Which of the following statements are true regarding the retention period and retention time of Prometheus?
- The retention period determines the amount of data that can be stored in Prometheus
- The retention time determines how long the data is stored in Prometheus
- The retention period can be set at the command line using the --storage.tsdb.retention.time flag
- The retention time can be set at the command line using the --storage.tsdb.retention.size flag
Answer:
A, B - correct answers
C - the retention time it is set using the --storage.tsdb.retention.time flag
D - there is no flag called --storage.tsdb.retention.size