Google Cloud Professional Cloud Developer — Question 159

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?

Answer options

Correct answer: A

Explanation

The correct choice, A, involves performing a rolling update with a PodDisruptionBudget, which helps ensure that the application remains available during the update process. Options B, C, and D do not follow the best practice of using a PodDisruptionBudget, which is crucial for managing disruptions effectively during the deployment of new revisions.