Question 984 of 997
Kubernetes FundamentalseasyMultiple ChoiceObjective-mapped

etcd: The Kubernetes Cluster State Store

This KCNA practice question tests your understanding of kubernetes fundamentals. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Which Kubernetes control plane component is responsible for storing the cluster state and configuration data?

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

etcd

etcd is the distributed key-value store that serves as Kubernetes' single source of truth for all cluster state and configuration data. It stores objects like Pods, Services, Deployments, and Secrets, and is the only component that holds persistent state. The kube-apiserver reads from and writes to etcd, but etcd itself is the storage backend.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

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-controller-manager

    Why it's wrong here

    kube-controller-manager runs controllers that regulate the state of the cluster, but it does not store state.

  • etcd

    Why this is correct

    etcd is the key-value store used to persist all cluster data and configuration.

    Related concept

    Read the scenario before looking for a memorised answer.

  • kube-apiserver

    Why it's wrong here

    kube-apiserver exposes the Kubernetes API and serves as the front-end, but it does not store cluster state.

  • kube-scheduler

    Why it's wrong here

    kube-scheduler assigns pods to nodes based on resource requirements and constraints.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The exam often tests the misconception that kube-apiserver stores the cluster state because it is the central API endpoint, but the trap is that the API server is stateless and relies entirely on etcd for persistence.

Detailed technical explanation

How to think about this question

etcd uses the Raft consensus algorithm to maintain consistency across a cluster of etcd nodes, ensuring that even if some nodes fail, the cluster state remains reliable. It stores data under a hierarchical key space (e.g., /registry/pods/), and the kube-apiserver uses watches on etcd to detect changes and propagate them to other components. In production, etcd should be deployed on dedicated nodes or with TLS encryption to prevent data corruption and unauthorized access.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A practitioner preparing for the KCNA exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related KCNA practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free KCNA practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this KCNA question test?

Kubernetes Fundamentals — This question tests Kubernetes Fundamentals — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: etcd — etcd is the distributed key-value store that serves as Kubernetes' single source of truth for all cluster state and configuration data. It stores objects like Pods, Services, Deployments, and Secrets, and is the only component that holds persistent state. The kube-apiserver reads from and writes to etcd, but etcd itself is the storage backend.

What should I do if I get this KCNA question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

7 more ways this is tested on KCNA

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. Which component of the Kubernetes control plane is responsible for storing the cluster state?

easy
  • A.kube-apiserver
  • B.etcd
  • C.kube-scheduler
  • D.kube-controller-manager

Why B: etcd is the distributed key-value store that serves as Kubernetes' primary data store, persisting all cluster state including configuration, secrets, and resource specifications. The kube-apiserver is the only component that interacts directly with etcd, ensuring consistency and providing a RESTful interface for all other components and users.

Variation 2. Which component of the Kubernetes control plane is responsible for storing the cluster state?

easy
  • A.kube-scheduler
  • B.kube-controller-manager
  • C.etcd
  • D.kube-apiserver

Why C: etcd is the distributed key-value store that serves as Kubernetes' single source of truth for cluster state. It stores all cluster data, including configuration, desired state, and current state of objects like Pods, Services, and Deployments. The kube-apiserver is the only component that directly communicates with etcd, ensuring consistency and transactional integrity.

Variation 3. Which component of the Kubernetes control plane is responsible for storing the cluster state?

medium
  • A.kube-scheduler
  • B.etcd
  • C.kube-apiserver
  • D.kube-controller-manager

Why B: etcd is the distributed key-value store that serves as Kubernetes' single source of truth for cluster state, including all object definitions, configurations, and statuses. The control plane components (kube-apiserver, scheduler, controller-manager) are stateless and rely on etcd to persist and retrieve cluster data. Without etcd, the cluster cannot recover its state after a restart.

Variation 4. Which component of the Kubernetes control plane stores the cluster state?

easy
  • A.etcd
  • B.kube-controller-manager
  • C.kube-scheduler
  • D.kube-apiserver

Why A: etcd is the distributed key-value store that serves as the single source of truth for the entire Kubernetes cluster. It stores all cluster state data, including configuration, secrets, and the desired state of every object (Pods, Deployments, Services, etc.). The kube-apiserver is the only component that directly communicates with etcd, ensuring that all state changes go through a consistent, versioned API.

Variation 5. Which Kubernetes component is responsible for storing the cluster state?

easy
  • A.kube-scheduler
  • B.kube-apiserver
  • C.etcd
  • D.kube-controller-manager

Why C: etcd is a distributed, consistent key-value store used by Kubernetes to store all cluster data, including configuration, state, and metadata. It is the single source of truth for the cluster; without etcd, the cluster cannot maintain or recover its state. The kube-apiserver is the only component that communicates directly with etcd, but it is etcd itself that physically stores the data.

Variation 6. Which TWO statements correctly describe the purpose of etcd in a Kubernetes cluster?

medium
  • A.It stores the cluster state, including all Kubernetes objects.
  • B.It manages network rules for Pod-to-Pod communication.
  • C.It schedules Pods onto nodes based on resource availability.
  • D.It exposes the Kubernetes API for external access.
  • E.It is a distributed key-value store that provides high availability and consistency.

Why A: Option A is correct because etcd is the primary data store for all Kubernetes cluster state, including the configuration and status of every Kubernetes object (Pods, Services, Deployments, etc.). It stores this information as key-value pairs, and the Kubernetes API server is the only component that reads from and writes to etcd directly. Without etcd, the cluster would have no persistent record of its desired or current state.

Variation 7. Which two statements correctly describe etcd in a Kubernetes cluster?

medium
  • A.It is a key-value store that holds cluster configuration and state
  • B.It runs on every worker node
  • C.It manages network rules for Services
  • D.It implements the Kubernetes API
  • E.It is a critical component that must be backed up regularly

Why A: etcd is a distributed, consistent key-value store used by Kubernetes to persist all cluster data, including configuration, state, and metadata. It is the single source of truth for the cluster, and the API server reads from and writes to it exclusively. Without etcd, the cluster cannot recover or maintain its desired state, making it a critical component.

Keep practising

More KCNA practice questions

Last reviewed: Jul 4, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.