PCA (Prometheus Certified Associate) sample exam question with answer 562
Question:
Which of the following query functions returns a result of 1 if the specified time series does not exist?
- absent
- present
- empty
- missing
Answer:
A - is the correct answer. More at
absent
B - is incorrect as this is not a PromQL function (though present_over_time is)
C, D - is incorrect as this is not a PromQL function