SAP-C02 · Question #661
A company owns a chain of travel agencies and is running an application in the AWS Cloud. Company employees use the application to search for information about travel destinations. Destination…
The correct answer is A. Set up DynamoDB Accelerator (DAX) as in-memory cache. Update the application to use DAX. The application experiences downtime during peak loads due to a self-hosted caching solution and needs an updated caching strategy to handle drastic load increases efficiently.
Question
A company owns a chain of travel agencies and is running an application in the AWS Cloud. Company employees use the application to search for information about travel destinations. Destination content is updated four times each year. Two fixed Amazon EC2 instances serve the application. The company uses an Amazon Route 53 public hosted zone with a multivalue record of travel.example.com that returns the Elastic IP addresses for the EC2 instances. The application uses Amazon DynamoDB as its primary data store. The company uses a self-hosted Redis instance as a caching solution. During content updates, the load on the EC2 instances and the caching solution increases drastically. This increased load has led to downtime on several occasions. A solutions architect must update the application so that the application is highly available and can handle the load that is generated by the content updates. Which solution will meet these requirements?
Options
- ASet up DynamoDB Accelerator (DAX) as in-memory cache. Update the application to use DAX.
- BSet up Amazon ElastiCache for Redis. Update the application to use ElastiCache. Create an Auto
- CSet up Amazon ElastiCache for Memcached. Update the application to use ElastiCache. Create
- DSet up DynamoDB Accelerator (DAX) as in-memory cache. Update the application to use DAX.
How the community answered
(36 responses)- A75% (27)
- B6% (2)
- C14% (5)
- D6% (2)
Why each option
The application experiences downtime during peak loads due to a self-hosted caching solution and needs an updated caching strategy to handle drastic load increases efficiently.
Setting up DynamoDB Accelerator (DAX) as an in-memory cache directly offloads read traffic from DynamoDB, providing microsecond response times and auto-scaling to handle load spikes. This reduces the burden on the primary data store and improves application responsiveness, directly addressing the issue of increased load during content updates leading to downtime, while an Auto Scaling group for EC2 instances handles compute scaling.
While Amazon ElastiCache for Redis is a valid caching solution, DAX is specifically optimized for DynamoDB and provides a simpler, API-compatible way to accelerate DynamoDB reads, often being a more direct solution for this specific use case than a generic Redis cache.
Concept tested: DynamoDB Accelerator (DAX) for read-heavy workloads
Source: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DAX.html
Community Discussion
No community discussion yet for this question.