
Answer-first summary for fast verification
Answer: Enable DAX on the messages table and switch to the DAX endpoint.
The correct answer is A. Amazon DynamoDB Accelerator (DAX) is designed to significantly boost the read performance of DynamoDB tables by caching the results and reducing the latency. This solution involves minimal changes to the application code – merely updating it to use the DAX endpoint instead of direct DynamoDB calls. Options B, C, and D would require more extensive changes to the application or might not achieve the desired low latency effectively.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
For a mobile chat app using Amazon DynamoDB, which solution minimizes latency for reading new messages with minimal code changes?
A
Enable DAX on the messages table and switch to the DAX endpoint.
B
Deploy DynamoDB read replicas and direct app reads to the read endpoint.
C
Increase read capacity units for the messages table and use the current DynamoDB endpoint.
D
Integrate ElastiCache for Redis and direct app reads to the Redis cache endpoint.
No comments yet.