Question #726
A gaming platform uses Amazon RDS to store its leaderboard data. After a major feature release, a sudden spike in read requests caused significant latency in retrieving data. The platform needs to implement a caching layer that ensures encrypted data storage and high availability. Which solution will meet these requirements?
Amazon CloudFront
Amazon ElastiCache for Memcached
Amazon ElastiCache for Redis in cluster mode
Amazon DynamoDB Accelerator (DAX)
Explanation
The correct answer is C. Amazon ElastiCache for Redis in cluster mode.
Why C is correct:
- Encrypted Data Storage: ElastiCache for Redis supports encryption at rest (using AWS KMS) and in transit, meeting the encryption requirement.
- High Availability: Redis in cluster mode enables replication across multiple nodes, automatic failover, and multi-AZ deployments, ensuring high availability.
- Performance: Redis handles high read throughput efficiently, reducing latency for leaderboard data.
Why other options are incorrect:
- A. Amazon CloudFront: A CDN for static content caching, not suitable for dynamic database queries.
- B. Amazon ElastiCache for Memcached: Lacks built-in encryption at rest and native high availability features like replication.
- D. Amazon DynamoDB Accelerator (DAX): Designed for DynamoDB, not RDS, making it incompatible.
Key Points:
- Use ElastiCache Redis (cluster mode) for encrypted, highly available caching with RDS.
- Memcached lacks encryption and HA; DAX is DynamoDB-specific; CloudFront is for static content.
Answer
The correct answer is: C