ASSOCIATE-CLOUD-ENGINEER · Question #397
ASSOCIATE-CLOUD-ENGINEER Question #397: Real Exam Question with Answer & Explanation
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.
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.
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.
Community Discussion
No community discussion yet for this question.