PCA (Prometheus Certified Associate) sample exam question with answer 517
Question:
What is the purpose of a Pushgateway in Prometheus?
- To collect metrics from external systems that cannot be instrumented directly
- To store and forward metrics from applications that are offline or unavailable
- To provide a centralized repository for metrics that are collected from multiple sources
- To allow applications to push metrics to Prometheus on an ad-hoc basis
Answer:
D - is the correct answer. The Pushgateway is a component of the Prometheus ecosystem that allows applications to push metrics to Prometheus on an ad-hoc basis. This is useful for applications that are not running continuously or are unable to be instrumented directly