KCNA Kubernetes Fundamentals Practice Question
What is the role of etcd in a Kubernetes cluster?
⚠ Common exam trap
A common misconception is that etcd is a general-purpose database or that it directly participates in scheduling or networking decisions, when in fact it is a highly specialized, consistent key-value store that only the API server communicates with, and all other components read/write cluster state through the API server.
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
✓
It stores the cluster state and configuration
etcd is a distributed, consistent key-value store that serves as Kubernetes' primary data store. It holds the entire cluster state, including all object definitions (Pods, Services, Deployments, etc.), configuration data, and secrets. The kube-apiserver is the only component that interacts directly with etcd, ensuring that all state changes go through a consistent, transactional backend. Without etcd, the cluster would have no persistent record of its desired or current state.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
It manages network policies
Why it's wrong here
Network policies are enforced by the CNI plugin, not etcd. Etcd stores the policy objects, but enforcement happens in the data plane. The option tempts because etcd persists every API object including NetworkPolicy resources, yet managing traffic rules is the CNI's function, while etcd's role is consistent storage of cluster state.
- ✓
It stores the cluster state and configuration
Why this is correct
etcd is the distributed key-value store holding all cluster state and configuration, including object specs, node registrations and Secrets. The API server reads and writes every object through it, so it is the single source of truth for the cluster's desired and observed state.
- ✗
It schedules pods onto nodes
Why it's wrong here
The kube-scheduler assigns Pods to nodes; etcd only stores the resulting bindings. The option tempts because scheduling decisions are persisted as Pod specs in etcd, but the actual placement logic runs in kube-scheduler. Etcd's role is the consistent, highly available source of truth for all cluster state.
- ✗
It provides DNS resolution for services
Why it's wrong here
CoreDNS provides cluster DNS resolution, not etcd. Etcd is the distributed key-value store holding all cluster state and configuration. The option tempts because service discovery is essential to Kubernetes networking, but DNS records live in CoreDNS, while etcd persists objects such as Pods, Secrets and ConfigMaps that the API server reads and writes.
Go deeper
Related to this question
About these practice questions
Courseiva writes every KCNA question from scratch — 930 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This KCNA 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 KCNA exam.