Kubernetes and Cloud Native Associate (KCNA) — Question 33

Which Kubernetes feature would you use to guard against split brain scenarios with your distributed application?

Answer options

Correct answer: D

Explanation

The correct answer is D, StatefulSet, as it provides guarantees about the ordering and uniqueness of pods, which is crucial in avoiding split brain scenarios. Options A (Replication controllers) and C (Rolling updates) do not offer the same level of management for stateful applications, while B (Consensus protocols) is not a specific Kubernetes feature but rather a concept that underlies various distributed systems.