
Answer-first summary for fast verification
Answer: 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.
The best approach to minimize impact to users when updating instances with a new, less tested feature is to perform a canary update. This involves starting a rolling update and specifying a target size for your instances to receive the new template first (canary instances). After verifying the new feature works correctly on these canary instances, you can then proceed to update the rest of the instances in the group. This method allows for controlled testing and minimizes risk by limiting the exposure of potentially faulty updates to a small subset of users initially. Option D correctly describes this approach, making it the most suitable choice among the provided options.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You have an application running in a managed instance group. Your development team has released an updated instance template containing a new feature that was not thoroughly tested. To minimize user impact in case of a bug in the new template, how should you proceed with updating your instances?
A
Manually patch some of the instances, and then perform a rolling restart on the instance group.
B
Using the new instance template, perform a rolling update across all instances in the instance group. Verify the new feature once the rollout completes.
C
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.
D
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.
No comments yet.