Topic 1 Question 51
You need to create an autoscaling managed instance group for an HTTPS web application. You want to make sure that unhealthy VMs are recreated. What should you do?
Create a health check on port 443 and use that when creating the Managed Instance Group.
Select Multi-Zone instead of Single-Zone when creating the Managed Instance Group.
In the Instance Template, add the label 'health-check'.
In the Instance Template, add a startup script that sends a heartbeat to the metadata server.
解説
ユーザの投票
コメント(17)
I'll go with A, MIGs support autohealing, load balancing, autoscaling, and auto-updating. no the Images templates, this is set up in the MIG
👍 59cesar78162020/03/22The correct answer is A. Please, modify it.
👍 12tanito832021/06/08- 正解だと思う選択肢: A
ANSWER A. Create a health check on port 443 and use that when creating the Managed Instance Group.
To ensure that unhealthy VMs are recreated, a health check should be created to monitor the instances in the managed instance group. This health check should be configured to check the appropriate endpoint for the web application, which in this case would be port 443 for HTTPS. If an instance is determined to be unhealthy, the instance group will automatically recreate it.
INCORRECT:
ANSWER B is not directly related to recreating unhealthy VMs, but instead ensures that the instance group spans multiple zones for increased availability.
ANSWER C, adding a label to the instance template, has no direct impact on the ability to recreate unhealthy VMs.
ANSWER D, adding a startup script to send a heartbeat to the metadata server, can help detect and recover from application-level failures, but it does not directly ensure that unhealthy VMs are recreated.
👍 9Buruguduystunstugudunstuy2023/02/19
シャッフルモード