Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Google Cloud Certified Professional Cloud Network Engineer · Google Cloud
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
D is the answer: Here's why: This is the most effective and Google-recommended solution for this scenario. A canary update allows you to deploy the new instance template to a small, controlled subset (a "canary" group) of instances within the existing managed instance group. You can then monitor these canary instances for issues with the new feature. If the new feature proves stable, you can then "roll forward" the update to the remaining instances in the group. If a bug is detected, you can roll back only the canary instances, minimizing impact to the vast majority of your users. This directly addresses the requirement to minimize impact from a potentially buggy new template.
Canary updates are commonly used to minimize risk when deploying new features. This approach allows you to test the new template on a small subset of instances (canary instances) first before rolling it out to all instances. Thus, Option D provides the safest approach for updating your instances with minimal user impact.
D : 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? 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.