AWS Certified Solutions Architect – Associate (SAA-C02) — Question 651

A company hosts a three-tier ecommerce application on a fleet of Amazon EC2 instances. The instances run in an Auto Scaling group behind an Application Load
Balancer (ALB). All ecommerce data is stored in an Amazon RDS for MariaDB Multi-AZ DB instance.
The company wants to optimize customer session management during transactions. The application must store session data durably.
Which solutions will meet these requirements? (Choose two.)

Answer options

Correct answer: A, B

Explanation

Enabling sticky sessions on the ALB ensures that client requests are consistently routed to the same EC2 instance, facilitating seamless session management during transactions. Storing session information in Amazon DynamoDB provides a highly durable, scalable, and managed NoSQL storage solution that persists session data even if individual EC2 instances are terminated. Other options like Amazon Cognito and AWS Systems Manager are not designed for raw session state storage, while DynamoDB offers superior durability compared to standard cache configurations.