Google Cloud Professional Cloud DevOps Engineer — Question 182

You are deploying a new version of your application to a multi-zone Google Kubernetes Engine (GKE) cluster. The deployment is progressing smoothly, but you notice that some Pods in a specific zone are experiencing higher error rates. You need to selectively roll back the update for the Pods experiencing errors with minimal impact to users. What should you do?

Answer options

Correct answer: C

Explanation

Option C is correct because it allows for a targeted rollback of the Pods in the affected zone by using the previous Pod template, minimizing user disruption. Option A would not address the underlying issue as it merely scales down the Pods without reverting changes. Option B removes nodes entirely, which could lead to service interruptions. Option D rolls back the entire deployment, affecting all users rather than just those in the problematic zone.