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

Question:
Which of the following queries contains a label selector?

  1. rate(http_requests_total{status_code=~`5\d\d`}[5m])
  2. avg(up)
  3. delta(node_memory_MemAvailable_bytes[1h])
  4. avg_over_time(up[1d])
Answer:
A - has the label selector, instant vector selectors