AWS Certified DevOps Engineer - Professional Practice Questions

AWS Certified DevOps Engineer - Professional (DOP-C02) exam preparation

AWS Certified DevOps Engineer - Professional practice questions in English: 180 questions with explanations. The mock exam has 75 questions and 180 minutes.

AWS Certified DevOps Engineer - Professional free question 5 / 10 · Domain 3: Resilient Cloud Solutions

A faulty change to the health check endpoint makes every target of an Application Load Balancer fail its health checks at the same time, in all enabled Availability Zones. How does the load balancer treat incoming requests?

  1. It sends traffic to the Availability Zone that most recently had healthy targets and refuses the rest
  2. It fails open and sends requests to the registered targets, even though they are marked unhealthy
  3. It stops routing and returns an error to clients while no target passes a health check
  4. It deregisters the unhealthy targets from the target group and waits for new targets to be registered
Show the answer and explanation

Answer: B

Why this is correct
An Application Load Balancer node routes requests to healthy targets in the enabled Availability Zones. If all targets fail their health checks at the same time in all enabled zones, the target group contains only unhealthy registered targets. The load balancer then fails open: it allows traffic to all targets in all enabled Availability Zones, based on the load balancing algorithm, regardless of their health status. This keeps the application reachable when the health check itself is what is broken.

Why the other options are wrong
"It stops routing and returns an error to clients while no target passes a health check" … When a target group contains only unhealthy registered targets, the load balancer routes requests to all of them regardless of health status. Routing only to healthy targets applies while at least one healthy target exists.
"It deregisters the unhealthy targets from the target group and waits for new targets to be registered" … Failed checks change the target status to unhealthy. Deregistering is a separate action that puts a target in the draining status, and the all-unhealthy case ends in fail-open.
"It sends traffic to the Availability Zone that most recently had healthy targets and refuses the rest" … Each node routes to healthy targets in the enabled Availability Zones. When all targets fail in all enabled zones at the same time, the load balancer fails open and allows traffic to the targets in all of them.

Key points
Fail-open means traffic still reaches the unhealthy targets when all of them fail together. A broken health check endpoint does not cut the application off.

Go to the AWS Certified DevOps Engineer - Professional practice app (10 free questions; purchase unlocks all questions)

See the full practice set