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

Question:
Which of the following is a primary function of the Prometheus server in the system architecture?

  1. Scraping and storing metrics from targets
  2. Generating alerts based on defined rules
  3. Pushing metrics to the system
  4. Collecting log data from targets
Answer:
A - The Prometheus server's primary function is to scrape and store metrics from targets using exporters.
The other options listed - generating alerts, pushing metrics, and collecting log data - are not primary functions of the server