
Answer-first summary for fast verification
Answer: Modify the application to store user session information in an Amazon ElastiCache cluster.
Option D is the correct answer. Storing user session information in an Amazon ElastiCache cluster is the most operationally efficient way to ensure users remain logged in. ElastiCache, especially with Redis, is designed to handle session management with low latency and high performance. It allows for distributed session storage across multiple instances, ensuring consistency and quick retrieval, which is crucial during scaling events and application deployments. Other options like storing sessions in Amazon S3 or enabling smart sessions on the load balancer do not provide the same level of performance and efficiency needed for a web application handling dynamic user sessions.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A company is operating a web application on Amazon EC2 instances managed by an Auto Scaling group and an Application Load Balancer across multiple Availability Zones. They employ a blue/green deployment strategy with immutable instances for software updates. During testing, users experience random logouts, and all users are logged out upon deploying a new application version. The development team seeks the most operationally efficient solution to maintain user sessions during scaling and deployment events.
A
Enable smart sessions on the load balancer and modify the application to check for an existing session.
B
Enable session sharing on the load balancer and modify the application to read from the session store.
C
Store user session information in an Amazon S3 bucket and modify the application to read session information from the bucket.
D
Modify the application to store user session information in an Amazon ElastiCache cluster.