CKA Practice Question: Cluster Architecture, Installation and Configuration
Which component is responsible for maintaining the desired state of the cluster, such as ensuring the correct number of replicas for a Deployment?
⚠ Common exam trap
Many exam-takers confuse the kubelet's role in maintaining Pod health on a node with the controller-manager's cluster-wide reconciliation of desired state, especially since both involve 'ensuring' something is running.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
kube-controller-manager
The kube-controller-manager is responsible for running controller processes that regulate the state of the cluster. It includes the Deployment controller, which watches the API server for changes to Deployment objects and ensures the actual number of replicas matches the desired state by creating or deleting Pods via the ReplicaSet controller.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
kube-apiserver
Why it's wrong here
While the kube-apiserver serves the Kubernetes API and acts as the central entry point for all administrative tasks, it does not actively enforce the desired state. Instead, it exposes the API endpoints, validates and configures data for object states, and writes them to etcd, leaving state reconciliation to other control plane components.
- ✗
kubelet
Why it's wrong here
The kubelet is an agent that runs on each worker node to ensure that the containers described in PodSpecs are running and healthy. While it maintains the state of individual pods on its specific node, it lacks global visibility and does not manage cluster-wide desired states like ReplicaSets or Deployments.
- ✓
kube-controller-manager
Why this is correct
The kube-controller-manager runs core control loops, such as the Deployment and ReplicaSet controllers, which continuously monitor the cluster's actual state against the desired state declared in etcd. When discrepancies are detected, these controllers issue commands to make corrective changes, ensuring the cluster converges on the target configuration.
- ✗
kube-scheduler
Why it's wrong here
The kube-scheduler is solely responsible for assigning newly created pods to appropriate nodes based on resource availability, constraints, and affinity policies. It does not monitor or maintain the overall desired state of resources, nor does it recreate pods if a node fails or if replicas drop below the specified count.
About these practice questions
One of 726 original CKA practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This CKA practice question is part of Courseiva's free CNCF certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CKA exam.