
Google Associate Cloud Engineer
Get started today
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?
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?
Explanation:
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.