
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.
Ultimate access to all questions.
No comments yet.