nerdexam
Google

ASSOCIATE-CLOUD-ENGINEER · Question #278

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 th

The correct answer is B. Use the gcloud compute instance-groups managed recreate-instances command to recreate the. You can recreate specified instance(s) in a managed instance group. https://cloud.google.com/sdk/gcloud/reference/compute/instance-groups/managed/recreate-

Submitted by priya_blr· Mar 30, 2026Ensuring successful operation of a cloud solution

Question

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?

Options

  • AUse the gcloud compute instances update command with a REFRESH action for the VM.
  • BUse the gcloud compute instance-groups managed recreate-instances command to recreate the
  • CSelect the MIG from the Compute Engine console and, in the menu, select Replace VMs.
  • DUpdate and apply the instance template of the MIG.

How the community answered

(23 responses)
  • A
    4% (1)
  • B
    87% (20)
  • D
    9% (2)

Explanation

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

Topics

#managed instance groups#recreate-instances#VM replacement#gcloud compute

Community Discussion

No community discussion yet for this question.

Full ASSOCIATE-CLOUD-ENGINEER Practice