AWS Certified SysOps Administrator – Associate (legacy) — Question 285
A user has created an ELB with Auto Scaling. Which of the below mentioned offerings from ELB helps the user to stop sending new requests traffic from the load balancer to the EC2 instance when the instance is being deregistered while continuing in-flight requests?
Answer options
- A. ELB sticky session
- B. ELB deregistration check
- C. ELB connection draining
- D. ELB auto registration Off
Correct answer: C
Explanation
ELB connection draining ensures that when an EC2 instance is deregistered or becomes unhealthy, the load balancer stops sending new requests to it while permitting existing, in-flight connections to complete within a specified timeout period. Sticky sessions (Option A) bind a user's session to a specific instance, while Options B and D are not valid ELB features.