Topic 1 Question 33
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?
Set autoscaling to On, set the minimum number of instances to 1, and then set the maximum number of instances to 1.
Set autoscaling to Off, set the minimum number of instances to 1, and then set the maximum number of instances to 1.
Set autoscaling to On, set the minimum number of instances to 1, and then set the maximum number of instances to 2.
Set autoscaling to Off, set the minimum number of instances to 1, and then set the maximum number of instances to 2.
ユーザの投票
コメント(17)
In my GCP console, I created a managed instance group for each answer. For each answer I deleted the instance that was created as a simple test to prove or disprove each answer.
In answer A, another instance was created after I deleted the instance
In answer B, no other instance was created after I deleted the instance In answer C, another instance was created after I deleted the instance In answer D, no other instance was created after I deleted the instanceMy observation is A is the correct Answer.
A - Correct - It correctly solves the problem with only a single instance at one time B - Incorrect - Does not fit the requirement because AFTER the deletion of the instance, no other instance was created C - Incorrect - It creates another instance after the delete HOWEVER it 2 VM's could be created even if the target is exceeded D - Incorrect - Does not fit the requirement because AFTER the deletion of the instance, no other instance was created
👍 141XRiddlerX2020/07/07We want the application running at all times. If the VM crashes due to any underlying hardware failure, we want another instance to be added so we need autoscaling ON Correct answer is A
👍 27khaliqn2020/06/20- 正解だと思う選択肢: B
Answer B. Set autoscaling to Off, set the minimum number of instances to 1, and then set the maximum number of instances to 1.
Answer B is the correct answer because it sets the minimum and maximum number of instances to 1, ensuring that only one instance is running at any given time. With autoscaling turned off, no additional instances will be launched, even in the event of a failure or disruption.
Answers A and C both allow for multiple instances of the VM to be running at the same time, which is not what the question is asking for.
Answer D also allows for up to two instances to be running, which again is not what the question is asking for.
👍 3Buruguduystunstugudunstuy2023/02/18
シャッフルモード