Which Prometheus component handles service discovery?
A.
Alertmanager
B.
Prometheus Server
C.
Pushgateway
D.
Node Exporter
The Answer Is:
B
This question includes an explanation.
Explanation:
ThePrometheus Serveris responsible forservice discovery, which identifies the list of targets to scrape. It integrates with multiple service discovery mechanisms such as Kubernetes, Consul, EC2, and static configurations.
This allows Prometheus to automatically adapt to dynamic environments without manual reconfiguration.