exam questions

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 40 discussion

Actual exam question from Google's Professional Cloud Developer
Question #: 40
Topic #: 1
[All Professional Cloud Developer Questions]

You are planning to deploy your application in a Google Kubernetes Engine (GKE) cluster. Your application can scale horizontally, and each instance of your application needs to have a stable network identity and its own persistent disk.
Which GKE object should you use?

  • A. Deployment
  • B. StatefulSet
  • C. ReplicaSet
  • D. ReplicaController
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
jonclem
Highly Voted 3 years ago
B is the best option here. You can refer to : https://cloud.google.com/kubernetes-engine/docs/concepts/statefulset
upvoted 11 times
syu31svc
2 years, 9 months ago
"The state information and other resilient data for any given StatefulSet Pod is maintained in persistent disk storage associated with the StatefulSet."
upvoted 3 times
...
...
__rajan__
Most Recent 7 months, 1 week ago
Selected Answer: B
A StatefulSet is the Kubernetes object best suited for workloads where each pod needs a stable network identity and its own persistent disk.
upvoted 1 times
...
omermahgoub
1 year, 3 months ago
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.
upvoted 1 times
...
tomato123
1 year, 8 months ago
Selected Answer: B
B is correct
upvoted 3 times
...
nehaxlpb
1 year, 9 months ago
Selected Answer: B
Once created, the StatefulSet ensures that the desired number of Pods are running and available at all times. The StatefulSet automatically replaces Pods that fail or are evicted from their nodes, and automatically associates new Pods with the storage resources, resource requests and limits, and other configurations defined in the StatefulSet's Pod specification
upvoted 2 times
...
AKr
3 years, 2 months ago
B is ok
upvoted 2 times
...
Fellipo
3 years, 5 months ago
B its OK
upvoted 2 times
...
whigy
3 years, 5 months ago
C doesn't provide a stable network identity and its own persistent disk
upvoted 2 times
saurabh1805
3 years, 5 months ago
you are right
upvoted 1 times
...
...
saurabh1805
3 years, 5 months ago
For me C is correct answer
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago