A company runs a three-tier ecommerce application on EC2 instances in an Auto Scaling group behind an Application Load Balancer (ALB). Data is stored in an Amazon RDS for MariaDB Multi-AZ DB instance. The company wants durable customer session management during transactions. Which solutions meet this requirement? (Choose two.)
Choose an answer
Tap an option to check your answer.
Correct answer: Turn on the sticky sessions feature (session affinity) on the ALB., Deploy an Amazon ElastiCache for Redis cluster to store customer session information..
Why this is the answer
For durable customer session management, sticky sessions on the ALB ensure that a user's requests are consistently routed to the same EC2 instance. This maintains session state stored locally on that instance. Alternatively, using an Amazon ElastiCache for Redis cluster provides an external, highly available, and scalable data store for session information, making sessions durable even if an EC2 instance fails or scales. Using an Amazon DynamoDB table is a valid option for session storage but is not listed as a correct answer here. Amazon Cognito is for user authentication and authorization, not for general application session management. AWS Systems Manager Application Manager is for operational insights and management, not for storing session data.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed