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?

  1. The retention period determines the amount of data that can be stored in Prometheus
  2. The retention time determines how long the data is stored in Prometheus
  3. The retention period can be set at the command line using the --storage.tsdb.retention.time flag
  4. 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