Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Associate Cloud Engineer All Questions

View all questions & answers for the Associate Cloud Engineer exam

Exam Associate Cloud Engineer topic 1 question 47 discussion

Actual exam question from Google's Associate Cloud Engineer
Question #: 47
Topic #: 1
[All Associate Cloud Engineer Questions]

You want to configure 10 Compute Engine instances for availability when maintenance occurs. Your requirements state that these instances should attempt to automatically restart if they crash. Also, the instances should be highly available including during system maintenance. What should you do?

  • A. Create an instance template for the instances. Set the 'Automatic Restart' to on. Set the 'On-host maintenance' to Migrate VM instance. Add the instance template to an instance group.
  • B. Create an instance template for the instances. Set 'Automatic Restart' to off. Set 'On-host maintenance' to Terminate VM instances. Add the instance template to an instance group.
  • C. Create an instance group for the instances. Set the 'Autohealing' health check to healthy (HTTP).
  • D. Create an instance group for the instance. Verify that the 'Advanced creation options' setting for 'do not retry machine creation' is set to off.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
lio123
Highly Voted 3 years, 8 months ago
A https://cloud.google.com/compute/docs/instances/setting-instance-scheduling-options onHostMaintenance: Determines the behavior when a maintenance event occurs that might cause your instance to reboot. [Default] MIGRATE, which causes Compute Engine to live migrate an instance when there is a maintenance event. TERMINATE, which stops an instance instead of migrating it. automaticRestart: Determines the behavior when an instance crashes or is stopped by the system. [Default] true, so Compute Engine restarts an instance if the instance crashes or is stopped. false, so Compute Engine does not restart an instance if the instance crashes or is stopped.
upvoted 43 times
...
Imdeepak12
Highly Voted 3 years, 1 month ago
Seems like it was a very obvious option i.e. A...Who selected B, I want to know his/her location?
upvoted 28 times
Kickbuttowski_
3 years ago
Nikki singh.
upvoted 4 times
...
aldrinzee
1 year, 11 months ago
lol, yeah i want to examine their brain as well
upvoted 4 times
...
...
iooj
Most Recent 2 months, 3 weeks ago
Selected Answer: A
You don't even need to set anything because 'Automatic Restart' = 'On' and 'On-host maintenance' = 'Migrate' will be set BY DEFAULT!
upvoted 1 times
...
DavMllt
3 months, 1 week ago
B IS correct since if you set automatic restart to on , then your instance would be shut down during maintenance event, which Cancels the migrate on maintenance event setting that IS required for availibility purpose.
upvoted 1 times
...
VJ26
4 months, 2 weeks ago
Selected Answer: A
A looks obvious. B doesnt sound correct
upvoted 1 times
...
pythonigger
11 months ago
simple... Automatic Restart ON vs OFF (obvious ON), On Host Maintainence MIGRATE vs TERMINATE (really??!)
upvoted 4 times
...
junkyaard
11 months, 1 week ago
A is correct because automatic restart will restart the instance if it crashes and setting on host maintenance to migrate the instance will not let the application go down during maintenance. It fulfills the requirements of automatically restarting the instances if they crash and ensuring that they are not lost during system maintenance activity. By setting the 'Automatic Restart' to on, the instances will attempt to automatically restart if they crash. By setting the 'On-host maintenance' to Migrate VM instance, the instances will be migrated to another host during system maintenance, preventing any downtime.
upvoted 1 times
...
gsmasad
1 year ago
Selected Answer: A
A is correct because you need HA of VMs during mainetence
upvoted 1 times
...
nik005
1 year, 1 month ago
Selected Answer: A
1 The best answer is A. Create an instance template for the instances. Set the 'Automatic Restart' to on. Set the 'On-host maintenance' to Migrate VM instance. Add the instance template to an instance group. This will ensure that your instances are automatically restarted if they crash and that they are migrated during system maintenance, which will keep them highly available. The other options are not as effective: Option B is not as effective because it will prevent your instances from being automatically restarted if they crash. Option C is not as effective because it will not migrate your instances during system maintenance, which could lead to downtime. Option D is not as effective because it does not guarantee that your instances will be automatically migrated during system maintenance.
upvoted 4 times
...
nnecode
1 year, 2 months ago
Selected Answer: A
I choose A
upvoted 1 times
...
Captain1212
1 year, 2 months ago
Selected Answer: A
A seems more legit rightt ?
upvoted 1 times
...
sthapit
1 year, 3 months ago
The correct option is: A. Create an instance template for the instances. Set the 'Automatic Restart' to on. Set the 'On-host maintenance' to Migrate VM instance. Add the instance template to an instance group. Explanation: The scenario requires configuring Compute Engine instances for availability during maintenance while also enabling automatic restart if they crash. Google Cloud Platform provides features and settings to achieve high availability and automatic restart for instances. Option A outlines the appropriate steps
upvoted 1 times
...
Vamshi_Krishna
1 year, 6 months ago
Selected Answer: A
Create an instance template for the instances. Set the 'Automatic Restart' to on. Set the 'On-host maintenance' to Migrate VM instance. Add the instance template to an instance group.
upvoted 1 times
...
Technobie
1 year, 7 months ago
A is correct for sure - yt- the Technobie
upvoted 1 times
...
MahAli
1 year, 8 months ago
Selected Answer: A
A is correct
upvoted 1 times
...
Zahir1004
1 year, 8 months ago
Selected Answer: A
I vote for D
upvoted 1 times
...
Buruguduystunstugudunstuy
1 year, 9 months ago
Selected Answer: A
ANSWER A. CORRECT. Create an instance template for the instances. Set the 'Automatic Restart' to on. Set the 'On-host maintenance' to Migrate VM instance. Add the instance template to an instance group. To ensure the availability of instances during maintenance and restart instances in the event of a crash, you should create an instance group with an instance template that specifies 'Automatic Restart' to on. This will allow your instance to restart in the event of a crash. Additionally, you should set the 'On-host maintenance' to Migrate VM instance so that VM instances are live migrated to another host in the event of an infrastructure maintenance event. The instance group should have a health check configured to verify that the instances are healthy. By using an instance group, you can also take advantage of the autoscaling and load-balancing capabilities that come with instance groups.
upvoted 9 times
kenrichy
1 year, 8 months ago
Hi Buru, as always, amazing explanation. many thanks!!
upvoted 3 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...