PCA (Prometheus Certified Associate) sample exam question with answer 273
Question:
Which of the following queries contains a label selector?
- rate(http_requests_total{status_code=~`5\d\d`}[5m])
- avg(up)
- delta(node_memory_MemAvailable_bytes[1h])
- avg_over_time(up[1d])
Answer:
A - has the label selector,
instant vector selectors