PCA (Prometheus Certified Associate) sample exam question with answer 350
Question:
What does the Prometheus scrape timeout represent?
- How long to wait for a response before giving up on a scrape
- How long to wait in between scrapes of a particular target
- How long to wait before persisting scrape metrics
- How long to wait to start scraping after initialization
Answer:
A - is the correct answer. More at
scrape_config
B - this is known as the scrape interval
C - is incorrect as Prometheus automatically persists metrics as soon as it has scraped them
D - is incorrect as Prometheus automatically starts scraping as soon as it is initialized