exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 191 discussion

Exam question from Amazon's AWS-SysOps
Question #: 191
Topic #: 1
[All AWS-SysOps Questions]

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?

  • 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
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
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.

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
xxxdolorxxx
5 months, 3 weeks ago
B makes the most sense to me.
upvoted 1 times
...
TroyMcLure
6 months, 3 weeks ago
Correct Answer: B
upvoted 1 times
...
originaly
6 months, 3 weeks ago
B => If an instance fails or becomes unhealthy, the load balancer stops routing requests to that instance, and chooses a new healthy instance based on the existing load balancing algorithm. The request is routed to the new instance as if there is no cookie and the session is no longer sticky. https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-sticky-sessions.html
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago