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

Question:
What is required to scrape native histograms via federation in Prometheus?

  1. The scraping Prometheus server needs to run with native histograms enabled
  2. The scraping Prometheus server needs to be configured to scrape from the /federate endpoint of a source server
  3. The federation payload needs to contain multiple metric families with the same name (but different types)
  4. The federation payload needs to be in the protobuf format
Answer:
A - is the correct answer. To scrape native histograms via federation in Prometheus, the scraping Prometheus server needs to run with native histograms enabled (via the command line flag --enable-feature=native-histograms)