PCA (Prometheus Certified Associate) sample exam question with answer 463
Question:
What is the purpose of federation in Prometheus?
- To enable a Prometheus server to scrape selected time series from another Prometheus server
- To allow multiple Prometheus servers to communicate with each other for alerting and querying
- To scale Prometheus monitoring setups in environments with millions of nodes
- All of the above
Answer:
A - is the correct answer. Federation in Prometheus allows one Prometheus server to scrape selected time series data from another Prometheus server. This is useful for achieving scalable monitoring setups or for pulling related metrics from one service's Prometheus into another