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

Question:
Which of the following labels does not have semantic meaning in a Prometheus scrape?

  1. __param_target
  2. __scheme__
  3. __address__
  4. __tmp_address_hash__
Answer:
D - is the correct answer. Labels with prefix __tmp will never be used by Prometheus
A - is incorrect as any label __param_<name> will result in Prometheus applying a query parameter to the scrape URL with name and a value matching the label's value
B - is incorrect as the value of this label is used for the scheme portion (http or https) of the scrape URL
C - is incorrect as the value of this label is used for the address portion (host and port) of the scrape URL