
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
You want to deploy a new version to a MIG without reducing capacity. What should you use?
A
Rolling update
B
Recreate instances
C
Manual replacement
D
Stop autoscaling
Explanation:
Correct Answer: A) Rolling update
Why Rolling Update is the correct choice:
Maintains capacity: Rolling updates deploy new versions to a Managed Instance Group (MIG) by gradually replacing instances while maintaining the desired capacity throughout the process.
Zero-downtime deployment: Rolling updates work by:
Controlled deployment: You can configure parameters like:
Why other options are incorrect:
B) Recreate instances: This would terminate all instances at once and create new ones, causing downtime and reducing capacity during the transition.
C) Manual replacement: This is inefficient and error-prone, requiring manual intervention for each instance replacement.
D) Stop autoscaling: This doesn't help with version deployment; it only stops the autoscaling feature but doesn't provide a mechanism for updating instances to a new version.
Key takeaway: When deploying new versions to a Managed Instance Group while maintaining capacity and minimizing downtime, rolling updates are the recommended Google Cloud approach.