Google Cloud Professional Cloud Architect — Question 120

You have developed a non-critical update to your application that is running in a managed instance group, and have created a new instance template with the update that you want to release. To prevent any possible impact to the application, you don't want to update any running instances. You want any new instances that are created by the managed instance group to contain the new update. What should you do?

Answer options

Correct answer: D

Explanation

The correct answer is D because selecting the Opportunistic update mode allows new instances to use the updated template without affecting currently running instances. The other options either restart or replace instances, which could impact the application's availability, contradicting the requirement to avoid updates to running instances.