
Answer-first summary for fast verification
Answer: Implement Health Checks to continuously assess if the instance can respond to traffic.
Option A is incorrect because Uptime Checks are used to monitor if an application is reachable or responds, not specifically for load balancing purposes. Option C is incorrect as Readiness Probes are used by Kubernetes to determine if pods are ready to receive traffic, not by load balancers. Option D is incorrect because Liveness Probes are used by Kubernetes to check if a pod is running and restart it if not, which is unrelated to load balancer health checks. Option B is correct because Health Checks are utilized by load balancers to verify if backend instances are reachable and can respond to traffic, ensuring only healthy instances receive requests. References: [Google Cloud Uptime Checks](https://cloud.google.com/monitoring/uptime-checks), [Google Cloud Health Check Concepts](https://cloud.google.com/load-balancing/docs/health-check-concepts).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your team has deployed a Python application to a Managed Instance Group, which is behind a load balancer. Your task is to ensure the load balancer directs requests only to healthy instances. Which of the following options will help you achieve this?
A
Configure Uptime Checks to continuously verify if the instance is reachable.
B
Implement Health Checks to continuously assess if the instance can respond to traffic.
C
Set up a Readiness Probe to continuously check if the instance is ready to receive traffic.
D
Set up a Liveness Probe to continuously check if the instance is running and restart it if not.
No comments yet.