nerdexam
Linux_Foundation

KCNA · Question #34

Which Kubernetes resource uses immutable: true boolean field?

The correct answer is C. ConfigMap. The ConfigMap resource supports an immutable: true boolean field to prevent accidental updates or deletions of its data.

Submitted by hans_de· May 4, 2026Kubernetes Fundamentals

Question

Which Kubernetes resource uses immutable: true boolean field?

Options

  • ADeployment
  • BPod
  • CConfigMap
  • DReplicaSet

How the community answered

(31 responses)
  • A
    6% (2)
  • B
    3% (1)
  • C
    87% (27)
  • D
    3% (1)

Why each option

The `ConfigMap` resource supports an `immutable: true` boolean field to prevent accidental updates or deletions of its data.

ADeployment

Deployments are designed to be updated via strategies like rolling updates, so they do not have an `immutable` field for their entire configuration.

BPod

Pods can be replaced or recreated, but the Pod resource itself does not have an `immutable` field to lock its definition after creation; changes typically lead to recreation.

CConfigMapCorrect

A `ConfigMap` can be marked as immutable by setting `immutable: true` in its manifest, which ensures that its data cannot be changed or deleted after creation. This feature enhances security and reliability by preventing runtime modifications to critical configuration data, ensuring consistency for dependent applications.

DReplicaSet

ReplicaSets ensure a stable set of running Pods, and while their template can be updated, the ReplicaSet resource itself does not have an `immutable` field to prevent modifications.

Concept tested: Immutable ConfigMaps

Source: https://kubernetes.io/docs/concepts/configuration/configmap/#immutable-configmaps

Topics

#Kubernetes resources#ConfigMap#Immutability#Resource configuration

Community Discussion

No community discussion yet for this question.

Full KCNA Practice