exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 97 discussion

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

A sys admin has created a shopping cart application and hosted it on EC2. The EC2 instances are running behind ELB. The admin wants to ensure that the end user request will always go to the EC2 instance where the user session has been created. How can the admin configure this?

  • A. Enable ELB cross zone load balancing
  • B. Enable ELB cookie setup
  • C. Enable ELB sticky session
  • D. Enable ELB connection draining
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. If the sticky session is enabled the first request from the user will be redirected to any of the EC2 instances. But, henceforth, all requests from the same user will be redirected to the same EC2 instance. This ensures that all requests coming from the user during the session will be sent to the same 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
onlinebaba
6 months ago
C When sticky session are enabled, if a request comes the first time from a (NEW) user to AWS ELB then the ELB routes each request to an EC2 instance in a zone with the minimum load, subsequent requests from the same user will be served by the same EC2 instance.
upvoted 2 times
...
awscertified
6 months, 2 weeks ago
C. Enable ELB sticky session
upvoted 2 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