Exam Associate Cloud Engineer All QuestionsBrowse all questions from this exam
Question 221

Your application is running on Google Cloud in a managed instance group (MIG). You see errors in Cloud Logging for one VM that one of the processes is not responsive. You want to replace this VM in the MIG quickly. What should you do?

    Correct Answer: B

    To quickly replace a non-responsive VM in a managed instance group (MIG) in Google Cloud, you should use the gcloud compute instance-groups managed recreate-instances command. This command allows you to recreate specific VM instances in the managed instance group, effectively replacing the problematic VM with a new one. This action ensures that the new VM is based on the latest instance template and configuration settings, maintaining consistency within the group.

Discussion
Ben_osoOption: C

I think its C, because the question talk of "Replace the VM". In B you recreate the same VM, so i think the C is more sense.

Captain1212Option: B

B is the correct answer , as the question demands in MIG managed instance group. B

qannikOption: B

https://cloud.google.com/sdk/gcloud/reference/compute/instance-groups/managed/recreate-instances

gpaisOption: B

Following the document below is B:https://cloud.google.com/sdk/gcloud/reference/compute/instance-groups/managed/recreate-instances

BuenaCloudDEOption: B

Answer is B. B: You can recreate one or more VMs C: Only option to replace each VMs in MIG Compare it: https://cloud.google.com/sdk/gcloud/reference/compute/instance-groups/managed/recreate-instances https://cloud.google.com/sdk/gcloud/reference/compute/instance-groups/managed/rolling-action/replace

Leo212003Option: C

I think option C is correct, since gcloud CLI might take some extra time to reinitiate the instance, option B looks wrong

leoalvarezhOption: D

The underlying virtual machine instances are deleted and recreated based on the latest instance template configured for the managed instance group.

Rocky_JatinOption: B

B hoga common sense

scanner2Option: B

You can recreate specified instance(s) in a managed instance group. https://cloud.google.com/sdk/gcloud/reference/compute/instance-groups/managed/recreate-instances

SperidianOption: B

should be B.