nerdexam
Google

ASSOCIATE-CLOUD-ENGINEER · Question #71

You are deploying an application to a Compute Engine VM in a managed instance group. The application must be running at all times, but only a single instance of the VM should run per GCP project. How

The correct answer is A. Set autoscaling to On, set the minimum number of instances to 1, and then set the maximum. If for any reason VM crashes autoscaling set as OFF wont spin another instance in its place which would defeat the purpose of always running VM(tough there will be some disruption) as -- Max-num-Instance is set to 1. There is no mention of auto-healing is set or not which is disa

Submitted by rachelw· Mar 30, 2026Deploying and implementing a cloud solution

Question

You are deploying an application to a Compute Engine VM in a managed instance group. The application must be running at all times, but only a single instance of the VM should run per GCP project. How should you configure the instance group?

Options

  • ASet autoscaling to On, set the minimum number of instances to 1, and then set the maximum
  • BSet autoscaling to Off, set the minimum number of instances to 1, and then set the maximum
  • CSet autoscaling to On, set the minimum number of instances to 1, and then set the maximum
  • DSet autoscaling to Off, set the minimum number of instances to 1, and then set the maximum

How the community answered

(56 responses)
  • A
    73% (41)
  • B
    14% (8)
  • C
    5% (3)
  • D
    7% (4)

Explanation

If for any reason VM crashes autoscaling set as OFF wont spin another instance in its place which would defeat the purpose of always running VM(tough there will be some disruption) as -- Max-num-Instance is set to 1. There is no mention of auto-healing is set or not which is disable by default. B - Incorrect - Does not fit the requirement because AFTER the deletion of the instance, no other instance was created.

Topics

#managed instance groups#autoscaling#Compute Engine#high availability

Community Discussion

No community discussion yet for this question.

Full ASSOCIATE-CLOUD-ENGINEER Practice