You plan to deploy a new Deployment revision to GKE production while minimizing risk per Google best practices. What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Perform a rolling update with a PodDisruptionBudget of 80%..
Why this is the answer
A rolling update is the standard and safest way to deploy new revisions to a Kubernetes Deployment, as it gradually replaces old pods with new ones, ensuring continuous availability and minimizing downtime. A PodDisruptionBudget (PDB) of 80% ensures that at least 80% of the application's pods remain available during voluntary disruptions, like a rolling update, further minimizing risk by preventing the application from falling below a critical availability threshold. Incorrect options: A HorizontalPodAutoscaler (HPA) scale-down policy value of 0 would prevent the HPA from scaling down pods, which is unrelated to the safety of a rolling update and could lead to over-provisioning. Converting a Deployment to a StatefulSet is unnecessary and generally not recommended for stateless applications, as StatefulSets are designed for stateful applications requiring stable network identities and persistent storage. This adds complexity without providing a benefit for minimizing risk during a revision update for a typical Deployment.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed