
Answer-first summary for fast verification
Answer: Create a health check on port 443 and use that when creating the Managed Instance Group.
Option A is the correct choice because it involves creating a health check specifically on port 443, which is the standard port for HTTPS traffic. This health check will monitor the health of the instances based on their ability to respond to HTTPS requests. When creating the Managed Instance Group, you would configure it to use this health check to determine the health of the instances. Options B, C, and D are not directly related to setting up proper health checks for autoscaling and ensuring unhealthy instances are recreated. Option B is related to the availability and distribution of instances across multiple zones, option C is incorrect because labels do not configure health checks in GCP, and option D is an alternative method but not as straightforward as using GCP’s built-in health check functionality for managed instance groups.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
To optimize the performance and ensure reliability of an HTTPS web application, you are tasked with setting up an autoscaling managed instance group in Google Cloud. It is crucial that any virtual machines (VMs) determined to be unhealthy are automatically recreated to maintain seamless service. What steps should you take to achieve this?
A
Create a health check on port 443 and use that when creating the Managed Instance Group.
B
Select Multi-Zone instead of Single-Zone when creating the Managed Instance Group.
C
In the Instance Template, add the label 'health-check'.
D
In the Instance Template, add a startup script that sends a heartbeat to the metadata server.
No comments yet.