exam questions

Exam AWS Certified SysOps Administrator - Associate All Questions

View all questions & answers for the AWS Certified SysOps Administrator - Associate exam

Exam AWS Certified SysOps Administrator - Associate topic 1 question 7 discussion

A company has a stateful web application that is hosted on Amazon EC2 instances in an Auto Scaling group. The instances run behind an Application Load
Balancer (ALB) that has a single target group. The ALB is configured as the origin in an Amazon CloudFront distribution. Users are reporting random logouts from the web application.
Which combination of actions should a SysOps administrator take to resolve this problem? (Choose two.)

  • A. Change to the least outstanding requests algorithm on the ALB target group.
  • B. Configure cookie forwarding in the CloudFront distribution cache behavior.
  • C. Configure header forwarding in the CloudFront distribution cache behavior.
  • D. Enable group-level stickiness on the ALB listener rule.
  • E. Enable sticky sessions on the ALB target group.
Show Suggested Answer Hide Answer
Suggested Answer: BE 🗳️

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
jkwek
Highly Voted 4 months, 2 weeks ago
Answer is B and E. Refer url : https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Cookies.html You can configure each cache behavior to do one of the following: Forward all cookies to your origin – CloudFront includes all cookies sent by the viewer when it forwards requests to the origin. https://docs.aws.amazon.com/elasticloadbalancing/latest/application/sticky-sessions.html By default, an Application Load Balancer routes each request independently to a registered target based on the chosen load-balancing algorithm.
upvoted 27 times
...
Huy
Highly Voted 3 years, 3 months ago
B & E is correct answer. Enable sticky session + forward Cookie because ALB sticky session works based on cookie.
upvoted 13 times
mimahmed_awseducate
1 year, 2 months ago
I also agree. I the correct answer should be B and E.
upvoted 1 times
...
...
ogum
Most Recent 2 days, 2 hours ago
Selected Answer: BE
Answer is B and E, guys.
upvoted 1 times
...
ft_cloud
4 months, 2 weeks ago
Selected Answer: BE
Answer is B and E, guys. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Cookies.html
upvoted 1 times
...
64rl0
5 months ago
Selected Answer: BE
Answer is BE
upvoted 2 times
...
pekalyok
10 months, 3 weeks ago
Selected Answer: BE
b and e
upvoted 1 times
...
NAVADIYA
1 year, 3 months ago
C. Configure header forwarding in the CloudFront distribution cache behavior. E. Enable sticky sessions on the ALB target group.
upvoted 1 times
...
shivangee
1 year, 6 months ago
Answer B and E -- Configure cookie forwarding in the CloudFront distribution cache behavior.
upvoted 1 times
...
Christina666
1 year, 6 months ago
Selected Answer: BE
D. Enabling group-level stickiness on the ALB listener rule does not exist as an option. While ALB supports sticky sessions through target group settings, there is no concept of group-level stickiness at the listener rule level.
upvoted 3 times
...
Andrew_A
1 year, 8 months ago
Option C (header forwarding in the CloudFront distribution) could potentially help if the application uses headers to maintain session state. However, the question suggests that this is a cookie-based issue. Hence Options B & E are correct.
upvoted 1 times
...
michaldavid
2 years, 2 months ago
Selected Answer: BE
bbbbbbb and eeeeeee
upvoted 1 times
...
mlantonis2
2 years, 2 months ago
Ans: BE
upvoted 2 times
...
Liongeek
2 years, 2 months ago
Ans: BE
upvoted 1 times
...
nakikoo
2 years, 5 months ago
im sticking with CE with this one...again might be wrong, but logically, the questions says "Stateful" web application, meaning it comes from one host, header can be set from the one stateful web application to route to only one destination...configuring cookie based might overload the process, which explains the logout issue...but i maybe wrong, just a suggestion Header based caching: https://aws.amazon.com/premiumsupport/knowledge-center/configure-cloudfront-to-forward-headers/ cookie based caching: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Cookies.html
upvoted 1 times
...
mohamedba
2 years, 7 months ago
Cookie forwarding for CloudFront and Stick Session for the ALB
upvoted 1 times
...
Mikilo
2 years, 8 months ago
Selected Answer: BE
B and E is correct answer
upvoted 1 times
...
Finger41
2 years, 9 months ago
Selected Answer: BE
B and E : https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Cookies.html + https://docs.aws.amazon.com/elasticloadbalancing/latest/application/sticky-sessions.html
upvoted 3 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