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

Question:
Which of the following binary operators in PromQL are used to perform logical operations?

  1. and
  2. or
  3. unless
  4. and_not
  5. on
Answer:
A, B, D - correct one, The "and", "or", and "and_not" binary operators in PromQL are used to perform logical operations on the values of different time series
C, E - the "unless" and "on" binary operators have different purposes