Topic 1 Question 49
You have an application that is running in a managed instance group. Your development team has released an updated instance template which contains a new feature which was not heavily tested. You want to minimize impact to users if there is a bug in the new template. How should you update your instances?
Manually patch some of the instances, and then perform a rolling restart on the instance group.
Using the new instance template, perform a rolling update across all instances in the instance group. Verify the new feature once the rollout completes.
Deploy a new instance group and canary the updated template in that group. Verify the new feature in the new canary instance group, and then update the original instance group.
Perform a canary update by starting a rolling update and specifying a target size for your instances to receive the new template. Verify the new feature on the canary instances, and then roll forward to the rest of the instances.
解説
ユーザの投票
コメント(13)
The correct answer is "D", see Canary Updates section from following link.
https://cloud.google.com/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups
👍 35mozammil892020/03/12"C" is correct. We perform a canary update if we have tested the new feature heavily. However, we have not tested heavily in this scenario. So we have to test the new feature and new template at first and have to MINIMIZE impacts to users.
There are some impacts on users if there are some bugs on its template and we test on a canary update. There is no impact on users if we test the new instances in the new instance group which is not provided to users.
So "D" has more impacts on users than "C". "C" is the least impactful way for users to test and update instances.
👍 4ydanno2021/01/03D for sure. Canary update is a rolling update type where you select a subset of instances to try the new features on. You gradually increase the # of instances to which the update applies on if all is well!
Peace :)
👍 4seddy2021/05/18
シャッフルモード