Kcna Kubernetes And Cloud Native Associate · Free Practice Question Medium
Question 38
Your organization is deploying a set of stateful applications that require stable network identities and storage. Which Kubernetes feature would be most appropriate to fulfill these requirements?
-
A
Deploy the applications as DaemonSets to give them a unique identity.
-
B
Use ReplicaSets with host network mode.
-
C
Implement a Service Mesh to manage application state and networking.
-
D
Deploy a StatefulSet for each application.
Reveal correct answer
Correct answer: D
A.
DaemonSets ensure that each node runs a copy of the Pod, but they don't provide stable network identities or storage for stateful applications.
B.
Using ReplicaSets with host network mode does not guarantee stable network identities or storage for stateful applications.
C.
While a Service Mesh provides advanced networking capabilities, it doesn't inherently provide stable network identities or storage for stateful applications.
D.
StatefulSets are designed for stateful applications, providing stable network identities and the ability to use persistent storage.
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
