AWS Certified Solutions Architect Professional SAP-C02 Practice Question
Your company is modernizing a legacy e-commerce platform that currently stores all user session data in a single-Region MySQL database. The refactored application will run as microservices on Amazon EKS in us-east-1 and eu-west-1 behind Amazon CloudFront. Architects require that the new session store (1) delivers sub-millisecond read/write latency in each Region, (2) expires each session 30 minutes after the last update, (3) replicates session data between Regions with under-1-second lag so users continue browsing if traffic is rerouted, and (4) is fully managed so patching, scaling, and node recovery are handled by AWS. Because the data is ephemeral, durable disk storage is not needed. Which solution meets these requirements with the least operational effort?
Deploy an Amazon MemoryDB for Redis Multi-Region cluster and rely on its active-active replication for session sharing.
Create an Amazon ElastiCache for Redis cluster in us-east-1 and enable Global Datastore with a secondary cluster in eu-west-1. Configure a 1 800-second TTL on each session key.
Provision an Amazon Aurora MySQL global database with reader instances in eu-west-1 and use a scheduled database event to delete rows older than 30 minutes.
Store the sessions in Amazon DynamoDB global tables and place Amazon DAX clusters in each Region, using a TTL attribute set to 30 minutes.
Amazon ElastiCache for Redis with Global Datastore satisfies every stated requirement. A primary cluster in us-east-1 with a secondary cluster in eu-west-1 provides managed cross-Region replication that typically lags by less than one second, and promotion of a secondary cluster completes in under a minute. Redis keys allow native per-key TTL, so configuring a 1 800-second expiration automatically evicts session objects without additional code. ElastiCache is a fully managed service that handles patching, scaling, backups, and Multi-AZ failover, and it stores data only in memory, which matches the ephemerality requirement.
MemoryDB Multi-Region is incompatible because its current limitations block TTL/EXPIRE commands, so 30-minute key expiry cannot be enforced. DynamoDB global tables with DAX offer global replication, but DynamoDB's Time To Live deletes items on a best-effort basis that can take up to two days, meaning stale sessions could remain long after they should be removed. Aurora global database would replicate data but cannot deliver sub-millisecond cache-like latency and would require custom cleanup logic, increasing operational burden. Therefore, ElastiCache Global Datastore is the only option that fully meets latency, TTL, replication, and managed-service goals with minimal effort.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
Why is Amazon ElastiCache for Redis recommended for this use case?
Open an interactive chat with Bash
What are the limitations of MemoryDB and why is it unsuitable in this scenario?
Open an interactive chat with Bash
How does Amazon ElastiCache Global Datastore handle cross-Region replication?
Open an interactive chat with Bash
AWS Certified Solutions Architect Professional SAP-C02
Accelerate Workload Migration and Modernization
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access