CKA kube-apiserver Practice Question
You want to check the status of the kube-apiserver on a control plane node. Which commands should you use? (Select the best option)
⚠ Common exam trap
Do not rely on 'kubectl' commands to troubleshoot a failing control plane, as kubectl requires a functioning kube-apiserver to return any results. Instead, use host-level tools like 'systemctl' or container-level tools like 'crictl'.
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
✓
systemctl status kube-apiserver or crictl ps | grep kube-apiserver
On a control plane node, the kube-apiserver runs either as a systemd service or as a static pod managed by the kubelet. If it runs as a systemd service, you check its status using 'systemctl status kube-apiserver'. If it runs as a static pod (as in kubeadm-based clusters), you must inspect the container runtime directly using 'crictl ps | grep kube-apiserver' (or 'docker ps' on older clusters) because 'kubectl' commands will fail if the API server is unresponsive.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
journalctl -u kubelet
Why it's wrong here
journalctl -u kubelet shows logs for the kubelet service, not the kube-apiserver. This does not check the apiserver status.
- ✓
systemctl status kube-apiserver or crictl ps | grep kube-apiserver
Why this is correct
Correct. systemctl status kube-apiserver checks the systemd service, and kubectl get pods -n kube-system can list the apiserver pod if it's a static pod.
- ✗
ps aux | grep kube-apiserver
Why it's wrong here
ps aux | grep kube-apiserver shows if the apiserver process is running, but it is not the standard command for checking service status or health.
- ✗
docker ps | grep kube-apiserver
Why it's wrong here
docker ps | grep kube-apiserver shows containers including apiserver, but does not give service status or health information.
Go deeper
Related to this question
Learn chapter
Installing Kubernetes with kubeadm
Key term
Kubernetes Node Roles
Kubernetes Node Roles are labels assigned to machines in a cluster that define whether a node runs application containers (worker) or manages the cluster (control plane).
Key term
kubectl Command Reference
kubectl is the command-line tool used to interact with and manage Kubernetes clusters by sending commands to the Kubernetes API.
About these practice questions
One of 302 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.