Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Google Cloud Certified Professional Cloud Developer · Google Cloud
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
A StatefulSet is the Kubernetes object best suited for workloads where each pod needs a stable network identity and its own persistent disk.
The correct answer is B. StatefulSet. StatefulSets are used to manage the deployment and scaling of stateful applications. They provide a stable network identity and persistent storage for each instance of the application. They are designed to work with applications that require a stable network identity and persistent storage, such as databases, message brokers, and other stateful applications. In contrast, Deployments are used to manage the deployment and scaling of stateless applications, which do not require a stable network identity or persistent storage. ReplicaSets and ReplicaControllers are similar to Deployments, but are older and less commonly used in GKE.
B is correct