AWS Certified SysOps Administrator – Associate (legacy) — Question 312
A user has hosted an application on EC2 instances. The EC2 instances are configured with ELB and Auto Scaling. The application server session time out is 2 hours. The user wants to configure connection draining to ensure that all in-flight requests are supported by ELB even though the instance is being deregistered.
What time out period should the user specify for connection draining?
Answer options
- A. 5 minutes
- B. 1 hour
- C. 30 minutes
- D. 2 hours
Correct answer: B
Explanation
AWS Elastic Load Balancing allows you to configure connection draining (deregistration delay) with a timeout value between 1 and 3,600 seconds (1 hour). Even though the application's session timeout is 2 hours, the maximum limit supported by ELB for connection draining is 1 hour. Therefore, the user can specify a maximum timeout of 1 hour for this configuration.