Kubernetes Certified Network Administrator (KCNA) Part 2 Practice Test

Access More Questions
Which tool exposes metrics describing the state of Kubernetes objects, such as pods and deployments, for monitoring?
Correct Answer:
Kube-state-metrics
Explanation:
The thing being tested is how you get metrics that describe the real-time state of Kubernetes objects. The tool that does this is kube-state-metrics. It runs in the cluster, queries the Kubernetes API for resources like pods and deployments, and exposes metrics in Prometheus format. This lets Prometheus scrape data such as pod status, deployment replicas, and ready counts to monitor how resources are actually behaving. Prometheus is the scraping and storage system, not the source of the object-state metrics. CoreDNS handles DNS inside the cluster, not object-state monitoring. Kubelet runs on each node and exposes node-level and container metrics, not a broad view of Kubernetes object states.

Access more questions from this quiz

Continue to Kubernetes Certified Network Administrator (KCNA) Part 2 Practice Test for more practice questions and the full quiz experience.

Access More Questions