PCA (Prometheus Certified Associate) sample exam question with answer 51
Question:
Which of the following is a valid way to trigger a Prometheus configuration reload?
- Sending an HTTP GET request to the /-/reload endpoint with the --web.enable-admin-api command line flag set
- Sending a SIGHUP to the Prometheus process
- Sending an HTTP GET request to the /-/reload endpoint with the --web.enable-enable-lifecycle command line flag set
- Sending an HTTP POST request to the /-/reload endpoint with the --web.enable-admin-api command line flag set
Answer:
B - is the correct answer, check
Prometheus reload documentation
Otherwise an option is sending an HTTP POST or PUT request to the /-/reload endpoint with the --web.enable-enable-lifecycle command line flag set which is not described in options