GCP - Cloud Load BalancingGiven a load balancer with 3 backend instances, if one instance fails health checks, how does the load balancer behave?AIt redirects traffic to a backup cloud region automaticallyBIt continues sending traffic to all instances regardless of healthCIt shuts down all backend instancesDIt stops sending traffic to the failed instance and distributes traffic to the remaining healthy instancesCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand health checks in load balancingLoad balancers monitor backend health and avoid sending traffic to unhealthy instances.Step 2: Analyze behavior when one instance failsThe load balancer excludes the failed instance and balances traffic among healthy ones.Final Answer:It stops sending traffic to the failed instance and distributes traffic to the remaining healthy instances -> Option DQuick Check:Load balancer excludes unhealthy instances = true [OK]Quick Trick: Load balancers skip unhealthy backends automatically [OK]Common Mistakes:Assuming traffic continues to failed instancesThinking load balancer shuts down all instances
Master "Cloud Load Balancing" in GCP9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More GCP Quizzes Cloud Firestore and Bigtable - Bigtable schema design - Quiz 4medium Cloud IAM Advanced - Data access logs - Quiz 2easy Cloud IAM Advanced - IAM deny policies - Quiz 4medium Cloud IAM Advanced - VPC Service Controls - Quiz 7medium Cloud Load Balancing - Health checks configuration - Quiz 9hard Cloud Monitoring and Logging - Cloud Trace for latency analysis - Quiz 13medium Cloud Pub/Sub - Message retention and acknowledgment - Quiz 13medium Cloud Run - Cloud Run service concept - Quiz 13medium Cloud Run - Deploying container images - Quiz 15hard Cloud SQL and Databases - High availability configuration - Quiz 15hard