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

Question:
What is instrumentation in the context of Prometheus?

  1. The process of installing and configuring Prometheus on a server
  2. The process of adding code to an application or system to expose metrics that can be collected by Prometheus
  3. The process of defining alerts that Prometheus should send when certain conditions are met
  4. The process of exporting metrics from Prometheus to another monitoring system
Answer:
B - is the correct answer, Instrumentation refers to the process of adding code to an application or system in order to expose metrics that can be collected and monitored by Prometheus