AWS Certified SysOps Administrator – Associate (legacy) — Question 591

A user has enabled session stickiness with ELB. The user does not want ELB to manage the cookie; instead he wants the application to manage the cookie. What will happen when the server instance, which is bound to a cookie, crashes?

Answer options

Correct answer: B

Explanation

When application-controlled session stickiness is configured in ELB, the load balancer routes traffic based on the custom cookie generated by the backend application. If the instance bound to that cookie crashes, ELB redirects the client to a new healthy instance, meaning stickiness is lost until that new instance generates a new session cookie. ELB does not replicate application-level cookies across instances, making Option B the correct behavior.