nerdexam
Linux_Foundation

KCNA · Question #101

What is the main purpose of etcd in Kubernetes?

The correct answer is A. etcd stores all cluster data in a key value store. etcd serves as Kubernetes' consistent and highly available key-value store, storing all cluster data, including configuration, state, and metadata, ensuring a single source of truth for the cluster.

Submitted by yuki_2020· May 4, 2026Kubernetes Fundamentals

Question

What is the main purpose of etcd in Kubernetes?

Options

  • Aetcd stores all cluster data in a key value store.
  • Betcd stores the containers running in the cluster for disaster recovery.
  • Cetcd stores copies of the Kubernetes config files that live /etc/.
  • Detcd stores the YAML definitions for all the cluster components.

How the community answered

(29 responses)
  • A
    93% (27)
  • C
    3% (1)
  • D
    3% (1)

Why each option

etcd serves as Kubernetes' consistent and highly available key-value store, storing all cluster data, including configuration, state, and metadata, ensuring a single source of truth for the cluster.

Aetcd stores all cluster data in a key value store.Correct

etcd is the primary backing store for all Kubernetes cluster data, encompassing the state of Pods, Deployments, Services, ConfigMaps, Secrets, network configurations, and all other API objects, which is crucial for the cluster's operation and state management.

Betcd stores the containers running in the cluster for disaster recovery.

etcd stores the *state* of containers and other resources, but not the actual container images or binaries themselves for disaster recovery; those are handled by image registries and node file systems.

Cetcd stores copies of the Kubernetes config files that live /etc/.

etcd stores live cluster state, not copies of local configuration files from `/etc/` on nodes; those local files are for the configuration of local components.

Detcd stores the YAML definitions for all the cluster components.

While etcd stores the definitions (like YAML objects converted to API objects), it stores much more than just YAML definitions, encompassing the entire operational state and metadata of the cluster in a programmatic format.

Concept tested: etcd role in Kubernetes

Source: https://kubernetes.io/docs/concepts/overview/components/#etcd

Topics

#etcd#Kubernetes architecture#Control plane#Key-value store

Community Discussion

No community discussion yet for this question.

Full KCNA Practice