DVA-C02 · Question #452
A company has a virtual reality (VR) game. The game has a serverless backend that consists of Amazon API Gateway, AWS Lambda, and Amazon DynamoDB. Recently, the company noticed a sudden increase of ne
The correct answer is B. DynamoDB Accelerator (DAX). DynamoDB Accelerator (DAX) is an in-memory caching service purpose-built for DynamoDB that reduces read latency from milliseconds to microseconds.
Question
A company has a virtual reality (VR) game. The game has a serverless backend that consists of Amazon API Gateway, AWS Lambda, and Amazon DynamoDB. Recently, the company noticed a sudden increase of new users globally. The company also noticed delays in the retrieval of user data. Which AWS service or feature can the company use to reduce the database response time to microseconds?
Options
- AAmazon ElastiCache
- BDynamoDB Accelerator (DAX)
- CDynamoDB auto scaling
- DAmazon CloudFront
How the community answered
(28 responses)- A4% (1)
- B82% (23)
- C4% (1)
- D11% (3)
Why each option
DynamoDB Accelerator (DAX) is an in-memory caching service purpose-built for DynamoDB that reduces read latency from milliseconds to microseconds.
ElastiCache is a general-purpose caching service (Redis/Memcached) that requires custom application logic to populate and invalidate the cache; it is not purpose-built for DynamoDB.
DAX is a fully managed, highly available, in-memory cache that sits directly in front of DynamoDB and delivers read response times in microseconds. It requires minimal code changes and is transparent to the application, making it the correct choice when DynamoDB latency needs to be reduced to microsecond levels.
DynamoDB auto scaling adjusts read/write capacity units to handle traffic spikes but does not reduce query response latency.
Amazon CloudFront is a CDN for caching HTTP responses at edge locations; it does not cache DynamoDB database queries.
Concept tested: DynamoDB Accelerator (DAX) for microsecond in-memory caching
Source: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DAX.html
Community Discussion
No community discussion yet for this question.