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

Question:
An application is advertising metrics at the path /monitoring/stats . What property in the scrape configs needs to be modified?

  1. targets: [“node1:9100/monitoring/stats”]
  2. http_path: “/monitoring/stats”
  3. metrics_path: “/monitoring/stats”
  4. scrape_path: “/monitoring/stats”
Answer:
C - correct answer