Google
ASSOCIATE-CLOUD-ENGINEER · Question #397
You recently discovered an issue with your rolling update in Google Kubernetes Engine (GKE). You now need to roll back a rolling update. What should you do?
The correct answer is C. Use the kubectl rollout undo command. The kubectl rollout undo command is specifically designed to roll back a deployment to the previous revision in Kubernetes, including GKE. This is the recommended and simplest way to revert a rolling update when an issue is discovered.
Submitted by certguy· Mar 30, 2026Ensuring successful operation of a cloud solution
Question
You recently discovered an issue with your rolling update in Google Kubernetes Engine (GKE). You now need to roll back a rolling update. What should you do?
Options
- ADelete the deployment.
- BUse the command to revert the deployment.
- CUse the kubectl rollout undo command.
- DManually scale down the new Pods and scale up the old Pods.
How the community answered
(36 responses)- A6% (2)
- C92% (33)
- D3% (1)
Explanation
The kubectl rollout undo command is specifically designed to roll back a deployment to the previous revision in Kubernetes, including GKE. This is the recommended and simplest way to revert a rolling update when an issue is discovered.
Topics
#kubectl rollout undo#GKE rollback#rolling update
Community Discussion
No community discussion yet for this question.