AWS Certified Solutions Architect – Associate (SAA-C03) — Question 577

A company runs a web application on Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer that has sticky sessions enabled. The web server currently hosts the user session state. The company wants to ensure high availability and avoid user session state loss in the event of a web server outage.

Which solution will meet these requirements?

Answer options

Correct answer: B

Explanation

Amazon ElastiCache for Redis is an in-memory key-value store that supports replication and Multi-AZ deployments, providing the high availability and data persistence needed to prevent session loss during EC2 instance failures. While Memcached can store sessions, it does not natively support replication for high availability. Amazon RDS and AWS Storage Gateway are not optimized for the sub-millisecond latency requirements of active session state management.