PCA (Prometheus Certified Associate) sample exam question with answer 386
Question:
kafka_topic_partition_replicas metric tracks the number of partitions for a topic/partition. Which query will get the number of partitions for the past 2 hours. Result should return a range vector
- kafka_topic_partition_replicas range 2h
- kafka_topic_partition_replicas[2h]
- kafka_topic_partition_replicas offset 2h
- kafka_topic_partition_replicas<2h>
Answer:
B - is the correct answer