
Google Associate Cloud Engineer
Get started today
Ultimate access to all questions.
Your company has deployed their application on managed instance groups, which is served through a network load balancer. They want to enable health checks for the instances. How do you configure the health checks?
Your company has deployed their application on managed instance groups, which is served through a network load balancer. They want to enable health checks for the instances. How do you configure the health checks?
Explanation:
The correct answer is B because Network Load Balancer does not support TCP health checks, necessitating HTTP health checks. A basic web server on each instance can facilitate these checks. HTTPS health checks (Option C) are unnecessary for unsecured traffic. TCP health checks (Option D) are unsupported, and instances do not need to send traffic to the Network Load Balancer (Option A). Health checks ensure traffic is only directed to healthy instances, allowing for graceful shutdowns and connection closures.