Question

Difficulty: EasyImproving Database and Caching Efficiency

A gaming company has a mobile application that retrieves a high volume of read-only player profile data from an Amazon Aurora MySQL database, causing high read latency during peak hours. The database administrator wants to implement an in-memory caching layer to offload the database. The caching solution must support replication across multiple Availability Zones to ensure high availability. Which caching solution should a Solutions Architect recommend to meet these requirements?

  1. A
    Amazon RDS Multi-AZ standby instance configured to serve the read queries
  2. B
    Amazon ElastiCache for Memcached
  3. Amazon ElastiCache for RedisAnswer
  4. D
    Amazon DynamoDB Accelerator (DAX)

Answer

Amazon ElastiCache for Redis
The correct answer is Amazon ElastiCache for Redis because it provides in-memory caching to decrease read latency and natively supports data replication across multiple Availability Zones to ensure high availability.

Step-by-Step Solution

1
Identify the caching layer requirements from the scenario.
The application needs an in-memory caching layer to offload reads from Amazon Aurora MySQL, with support for replication across multiple Availability Zones.
Understanding the need for an in-memory cache and its high availability constraints narrows the service choices.
2
Evaluate Amazon ElastiCache options based on replication capabilities.
Amazon ElastiCache for Redis supports replication, Multi-AZ clustering, and automatic failover, whereas Amazon ElastiCache for Memcached does not support native replication.
This rules out Memcached and confirms Redis as the correct caching engine.

Key Concept

Distinguishing between ElastiCache engines based on replication and high availability capabilities.
Estimated Time:1m 0s
Rate this question