PCA (Prometheus Certified Associate) sample exam question with answer 570
Question:
What is service discovery?
- Collection of metrics from all discovered targets
- The process of scraping an individual target
- The process of determining which services exist, generally for the purpose of metrics collection
- The process of sending alerts to Alertmanager
Answer:
C - is the correct answer
A - is incorrect as this describes scraping
B - is incorrect as the service discovery process identifies the targets to be scraped
D - is incorrect. While service discovery can be used to discover Alertmanager instances to which to send alerts, service discovery is more general than that and does not involve sending alerts