Which section of the Prometheus configuration defines which nodes are monitored?
A.
scrape_config
B.
targets
C.
rules
D.
listener
E.
nodes
The Answer Is:
A
This question includes an explanation.
Explanation:
In Prometheus, the scrape_config section of the configuration file defines how and which nodes (targets) should be scraped (monitored). This section specifies the endpoints Prometheus should scrape, the frequency of scraping, and any relabeling configurations.
scrape_config: This is the correct section where you define the targets to be monitored by Prometheus.
The other options are incorrect:
B. targets: This is part of scrape_config but not a top-level configuration section.
C. rules: This section is used to define alerting and recording rules, not targets.
D. listener: This is not a standard section in Prometheus configuration.
E. nodes: This is not a standard section in Prometheus configuration.
References:
Prometheus Documentation - Configuration
701-100 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 65% Discount on All Products,
Use Coupon: "ac4s65"