PrepAway - Latest Free Exam Questions & Answers

What will happen when the server instance, which is bound to a cookie, crashes?

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?

PrepAway - Latest Free Exam Questions & Answers

A.
The response will have a cookie but stickiness will be deleted

B.
The session will not be sticky until a new cookie is inserted

C.
ELB will throw an error due to cookie unavailability

D.
The session will be sticky and ELB will route requests to another server as ELB keeps replicating the
Cookie

Explanation:
With Elastic Load Balancer, if the admin has enabled a sticky session with application controlled stickiness, the
load balancer uses a special cookie generated by the application to associate the session with the original
server which handles the request. ELB follows the lifetime of the application-generated cookie corresponding
to the cookie name specified in the ELB policy configuration. The load balancer only inserts a new stickiness
cookie if the application response includes a new application cookie. The load balancer stickiness cookie does
not update with each request. If the application cookie is explicitly removed or expires, the session stops being
sticky until a new application cookie is issued.

6 Comments on “What will happen when the server instance, which is bound to a cookie, crashes?

  1. venkat sai says:

    What is the question referring to, is it application cookie crashes or the instances crashes ? If at all, the instance crashes then option B is wrong because the cookie will be present in the response and the ELB will choose a healthy instance to server the application based cookie. If the cookie crashes then the sticky session will be stopped until new cookie is generated by the application.




    0



    0

Leave a Reply

Your email address will not be published. Required fields are marked *