exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 256 discussion

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

A sys admin is trying to understand the sticky session algorithm. Please select the correct sequence of steps, both when the cookie is present and when it is not, to help the admin understand the implementation of the sticky session:
1. ELB inserts the cookie in the response
2. ELB chooses the instance based on the load balancing algorithm
3. Check the cookie in the service request
4. The cookie is found in the request
5. The cookie is not found in the request

  • A. 3,1,4,2 [Cookie is not Present] & 3,1,5,2 [Cookie is Present]
  • B. 3,4,1,2 [Cookie is not Present] & 3,5,1,2 [Cookie is Present]
  • C. 3,5,2,1 [Cookie is not Present] & 3,4,2,1 [Cookie is Present]
  • D. 3,2,5,4 [Cookie is not Present] & 3,2,4,5 [Cookie is Present]
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
Generally, AWS ELB routes each request to a zone with the minimum load. The Elastic Load Balancer provides a feature called sticky session which binds the user's session with a specific EC2 instance. The load balancer uses a special load-balancer-generated cookie to track the application instance for each request.
When the load balancer receives a request, it first checks to see if this cookie is present in the request. If so, the request is sent to the application instance specified in the cookie. If there is no cookie, the load balancer chooses an application instance based on the existing load balancing algorithm. A cookie is inserted into the response for binding subsequent requests from the same user to that application instance.

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
6 months ago
C is correct.
upvoted 1 times
...
fqnn
6 months, 3 weeks ago
By elimination, Ans is C After "checking cookie in service request" (3.), the only answer that correspond to [cookie is not present] is "cookie not found in request" (5.)
upvoted 3 times
...
awscertified
7 months, 1 week ago
C. 3,5,2,1 [Cookie is not Present] & 3,4,2,1 [Cookie is Present]
upvoted 1 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