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
Question
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)- A73% (41)
- B14% (8)
- C5% (3)
- D7% (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
Community Discussion
No community discussion yet for this question.