PROFESSIONAL-CLOUD-ARCHITECT · Question #83
You created a pipeline that can deploy your source code changes to your infrastructure in instance groups for self-healing. One of the changes negatively affects your key performance indicator. You ar
The correct answer is B. Revert the source code change, and rerun the deployment pipeline. There is no explicit command for rolling back an update to a previous version, but if you decide to roll back an update (either a fully committed update or a canary update), you can do so by making a new update request and passing in the instance template that you want to roll ba
Question
Options
- ALog in to a server, and iterate on the fox locally
- BRevert the source code change, and rerun the deployment pipeline
- CLog into the servers with the bad code change, and swap in the previous code
- DChange the instance group template to the previous one, and delete all instances
How the community answered
(23 responses)- A17% (4)
- B74% (17)
- C4% (1)
- D4% (1)
Explanation
There is no explicit command for rolling back an update to a previous version, but if you decide to roll back an update (either a fully committed update or a canary update), you can do so by making a new update request and passing in the instance template that you want to roll back to. https://cloud.google.com/compute/docs/instance-groups/rolling-out-updates-to-managed- instance-groups#rolling_back_an_update
Topics
Community Discussion
No community discussion yet for this question.