SAP-C02 Question 622
Single answerA retail company is designing a multi-region web application to ensure high availability and low latency for its customers. The application needs to store user session state in a shared, highly available, and globally accessible store. The solution must minimize operational overhead and support automatic failover between regions. Which service or configuration should the company use to meet these requirements?
- A
AWS DynamoDB with global tables
- B
Amazon S3 with cross-region replication
- C
Amazon ElastiCache for Redis with manual replication
- D
Amazon RDS with read replicas in multiple regions
Show answer and explanation
Correct answer: A
Explanation
The requirement is to store session state in a shared, highly available, and globally accessible store while minimizing operational overhead and supporting automatic failover between regions. AWS DynamoDB with global tables is explicitly designed for such use cases, offering a multi-region, multi-active database solution with built-in replication and failover capabilities. Other options either do not meet the technical requirements or require significant management effort.
- A. Correct.
AWS DynamoDB with global tables is the best choice for a shared, highly available, and globally accessible store. DynamoDB global tables provide a fully managed, multi-region, and multi-active database solution with automatic replication and failover, minimizing operational overhead.
- B. Incorrect.
Amazon S3 with cross-region replication is designed for object storage, not for session state storage. It does not provide the low-latency, high-throughput capabilities required for session state management.
- C. Incorrect.
Amazon ElastiCache for Redis with manual replication would require significant operational effort to manage replication and failover across regions, which violates the requirement to minimize operational overhead.
- D. Incorrect.
Amazon RDS with read replicas in multiple regions is not suitable for session state storage because it does not provide active-active configurations and requires manual failover, which does not meet the requirement for automatic failover.