Kubernetes and Cloud Native Associate (KCNA) — Question 95
What do Deployments and StatefulSets have in common?
Answer options
- A. They manage Pods that are based on an identical container spec.
- B. They support the OnDelete update strategy.
- C. They support an ordered, graceful deployment and scaling.
- D. They maintain a sticky identity for each of their Pods.
Correct answer: A
Explanation
The correct answer is A because both Deployments and StatefulSets manage Pods that are created based on the same container specifications. Options B and C are incorrect as only certain resources support those features, and D is specific to StatefulSets, as Deployments do not maintain sticky identities.