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 224 discussion

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

You plan to deploy a new application revision with a Deployment resource to Google Kubernetes Engine (GKE) in production. The container might not work correctly. You want to minimize risk in case there are issues after deploying the revision. You want to follow Google-recommended best practices. What should you do?

  • A. Perform a rolling update with a PodDisruptionBudget of 80%.
  • B. Perform a rolling update with a HorizontalPodAutoscaler scale-down policy value of 0.
  • C. Convert the Deployment to a StatefulSet, and perform a rolling update with a PodDisruptionBudget of 80%.
  • D. Convert the Deployment to a StatefulSet, and perform a rolling update with a HorizontalPodAutoscaler scale-down policy value of 0.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
__rajan__
7 months ago
Selected Answer: A
By performing a rolling update with a PDB of 80%, you can ensure that at least 80% of the Pods are always available during the deployment. This will minimize the risk of downtime in case there are issues with the new revision.
upvoted 2 times
...
Pime13
1 year, 2 months ago
Selected Answer: A
https://kubernetes.io/docs/tasks/run-application/configure-pdb/#identify-an-application-to-protect
upvoted 2 times
...
mrvergara
1 year, 2 months ago
Selected Answer: A
A rolling update with a PodDisruptionBudget (PDB) of 80% helps to minimize the risk of issues after deploying a new revision to a production environment in GKE. The PDB specifies the number of pods in a deployment that must remain available during an update, ensuring that there is sufficient capacity to handle any increase in traffic or demand. By setting a PDB of 80%, you ensure that at least 80% of the pods are available during the update, reducing the risk of disruption to your application. This is a recommended best practice by Google for deploying updates to production environments in GKE.
upvoted 1 times
...
TNT87
1 year, 4 months ago
Selected Answer: A
https://kubernetes.io/docs/tutorials/kubernetes-basics/update/update-intro/ https://cloud.google.com/blog/products/containers-kubernetes/ensuring-reliability-and-uptime-for-your-gke-cluster Answer A
upvoted 1 times
...
zellck
1 year, 4 months ago
Selected Answer: A
A is the answer. https://cloud.google.com/blog/products/containers-kubernetes/ensuring-reliability-and-uptime-for-your-gke-cluster Setting PodDisruptionBudget ensures that your workloads have a sufficient number of replicas, even during maintenance. Using the PDB, you can define a number (or percentage) of pods that can be terminated, even if terminating them brings the current replica count below the desired value. With PDB configured, Kubernetes will drain a node following the configured disruption schedule. New pods will be deployed on other available nodes. This approach ensures Kubernetes schedules workloads in an optimal way while controlling the disruption based on the PDB configuration.
upvoted 1 times
...
kisswd
1 year, 4 months ago
Selected Answer: A
https://blog.knoldus.com/how-to-avoid-outages-in-your-kubernetes-cluster-using-pdb/
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