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

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

  1. Prometheus federation allows you to aggregate metrics data from multiple Prometheus servers
  2. Federation is achieved by using the Prometheus remote_read and remote_write APIs
  3. Federated Prometheus servers must have the same data retention settings
  4. Federation can only be used to aggregate metrics data within a single datacenter
Answer:
A, B, C - are the correct answers, Prometheus federation allows you to aggregate metrics data from multiple Prometheus servers by using the remote_read and remote_write APIs. The federated Prometheus servers must have the same data retention settings to ensure that they have consistent data
D - is incorrect answer. Federation can be used to aggregate metrics data across different datacenters