A company has a three-tier stateful web application. The application is served through an Amazon CloudFront distribution with default configuration options and an Application Load Balancer (ALB) as the origin. Logged-in users get intermittently logged out and see inconsistent content. Which action should the company take to ensure a stable user experience during a session?
A) Enable session affinity (sticky sessions) on the ALB. Configure CloudFront to forward all cookies to the origin.
B) Restrict viewer access to signed cookies in CloudFront. Enable session affinity (sticky sessions) on the ALB.
C) Switch from duration-based session affinity (sticky sessions) to application-controlled session affinity (sticky sessions) on the ALB.
D) Configure the CloudFront TTL to be equal to or less than the ALB session duration.
Correct Answer:
Verified
Q466: A SysOps Administrator needs to control access
Q467: A sysops administrator set up an Amazon
Q468: A company is using an Amazon ElastiCache
Q469: A company's finance department wants to receive
Q470: The chief financial officer (CFO) of an
Q472: A sysops administrator is managing a VPC
Q473: An application running on Amazon EC2 instances
Q474: A SysOps Administrator maintains several Amazon EC2
Q475: A company manages more than 1,000 Amazon
Q476: A sysops administrator must monitor a fleet
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents