A gaming company is launching a new web-based multiplayer game. The application's static assets, such as images and audio files, are stored in an Amazon S3 bucket. The game also retrieves leaderboard data and user profile configurations from an Amazon RDS MySQL database, which is experiencing performance degradation due to high read traffic. A Solutions Architect needs to implement a caching strategy to reduce latency for players globally and decrease the load on the origin servers.
Which combination of actions should the Solutions Architect take to meet these requirements? (Select TWO.)
- Create an Amazon CloudFront distribution to serve the static assets from the Amazon S3 bucket.Answer
- Deploy an Amazon ElastiCache cluster to cache the frequently accessed database query results from the Amazon RDS database.Answer
- CConfigure the Amazon CloudFront distribution with a default Time to Live (TTL) of 0 seconds for all static assets.
- DRoute traffic to the Amazon S3 bucket through a NAT Gateway in a private subnet to cache static assets and reduce data transfer costs.
- EImplement Amazon Route 53 latency-based routing to cache dynamic database queries at the DNS level.
Answer
To meet these requirements, the Solutions Architect should create an Amazon CloudFront distribution to serve the static assets from the S3 bucket, and deploy an Amazon ElastiCache cluster to cache frequently accessed database query results from the RDS database.
The correct strategy combines Amazon CloudFront to cache static files (images, audio) at edge locations close to users and Amazon ElastiCache to cache database queries, reducing latency and reducing the load on the Amazon RDS origin database.
Step-by-Step Solution
Key Concept
Multi-tier caching involves using CDN caching (Amazon CloudFront) for edge distribution of static files and in-memory caching (Amazon ElastiCache) for database read optimization.