AWS Certified Developer – Associate — Question 147
A developer is building a three-tier web application that should be able to handle a minimum of 5000 requests per minute. Requirements state that the web tier should be completely stateless while the application maintains session state for the users.
How can session data be externalized, keeping latency at the LOWEST possible value?
Answer options
- A. Create an Amazon RDS instance, then implement session handling at the application level to leverage a database inside the RDS database instance for session data storage.
- B. Implement a shared file system solution across the underlying Amazon EC2 instances, then implement session handling at the application level to leverage the shared file system for session data storage.
- C. Create an Amazon ElastiCache Memcached cluster, then implement session handling at the application level to leverage the cluster for session data storage.
- D. Create an Amazon DynamoDB table, then implement session handling at the application level to leverage the table for session data storage.
Correct answer: C
Explanation
The correct answer is C because Amazon ElastiCache Memcached provides an in-memory data store that allows for very low latency access to session data, making it ideal for handling high request volumes. Options A, B, and D involve greater latency due to either database access times or file system access times, which would not perform as efficiently under the required load.