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?

  1. Sending an HTTP GET request to the /-/reload endpoint with the --web.enable-admin-api command line flag set
  2. Sending a SIGHUP to the Prometheus process
  3. Sending an HTTP GET request to the /-/reload endpoint with the --web.enable-enable-lifecycle command line flag set
  4. 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