AWS Certified Solutions Architect – Associate (SAA-C03) — Question 685
A company has deployed a multiplayer game for mobile devices. The game requires live location tracking of players based on latitude and longitude. The data store for the game must support rapid updates and retrieval of locations.
The game uses an Amazon RDS for PostgreSQL DB instance with read replicas to store the location data. During peak usage periods, the database is unable to maintain the performance that is needed for reading and writing updates. The game's user base is increasing rapidly.
What should a solutions architect do to improve the performance of the data tier?
Answer options
- A. Take a snapshot of the existing DB instance. Restore the snapshot with Multi-AZ enabled.
- B. Migrate from Amazon RDS to Amazon OpenSearch Service with OpenSearch Dashboards.
- C. Deploy Amazon DynamoDB Accelerator (DAX) in front of the existing DB instance. Modify the game to use DAX.
- D. Deploy an Amazon ElastiCache for Redis cluster in front of the existing DB instance. Modify the game to use Redis.
Correct answer: D
Explanation
Amazon ElastiCache for Redis is an in-memory data store that provides sub-millisecond latency, making it ideal for the rapid read and write updates required for real-time geospatial location tracking. Implementing Redis in front of the Amazon RDS database offloads the high-frequency traffic and resolves the performance bottleneck. Amazon DynamoDB Accelerator (DAX) cannot be used here because it is a cache exclusively designed for Amazon DynamoDB, not Amazon RDS.