PCA (Prometheus Certified Associate) sample exam question with answer 464
Question:
Which of the following queries contains a comparison binary operator?
- up{job="node", instance="node1"}[10m]
- up{job="node", instance="node1"} or up{job="node", instance="node2"}
- up{job="node"} == 0
- up{job="node", instance="node1"} + up{job="node", instance="node2"}
Answer:
C - is correct answer
A, B, D - is incorrect as this query does not contain a comparison binary operator (==, !=, >, <, >= or <=)