Question 25
Domain 1: Cluster Architecture, Installation & ConfigurationWhich kubectl command is used to check the health/status of control plane components in a Kubernetes cluster?
Correct answer: A
Explanation
`kubectl get componentstatuses` lists the cluster control plane components and their health. Kubernetes defines this resource for checking the status of components such as the scheduler, controller manager, and etcd, so it is used to verify control plane health.
Why each option is right or wrong
A. kubectl get componentstatuses
The `componentstatuses` resource is the Kubernetes API object specifically exposed for control plane health checks, and `kubectl get componentstatuses` queries that resource to show the status of the scheduler, controller manager, and etcd. In the Kubernetes API, these are the standard control plane components reported by this command, so it is the direct way to inspect whether the cluster’s core services are healthy.
B. kubectl describe nodes
C. kubectl get pods -n kube-system
D. kubectl cluster-info