Kubernetes and Cloud Native Associate (KCNA) — Question 26
Which Kubernetes resource uses immutable: true boolean field?
Answer options
- A. Deployment
- B. Pod
- C. ConfigMap
- D. ReplicaSet
Correct answer: C
Explanation
The ConfigMap resource in Kubernetes allows for an immutable boolean field, which prevents changes to the data once it is created. The other options, such as Deployment, Pod, and ReplicaSet, do not have this immutable feature, allowing for modifications after their initial creation.