DBS-C01 · Question #271
A city's weather forecast team is using Amazon DynamoDB in the data tier for an application. The application has several components. The analysis component of the application requires repeated reads…
The correct answer is A. Use DynamoDB Accelerator (DAX). To resolve issues with DynamoDB read capacity being consumed by repeated reads from an analysis component with minimal development effort, implement DynamoDB Accelerator (DAX).
Question
A city's weather forecast team is using Amazon DynamoDB in the data tier for an application. The application has several components. The analysis component of the application requires repeated reads against a large dataset. The application has started to temporarily consume all the read capacity in the DynamoDB table and is negatively affecting other applications that need to access the same data. Which solution will resolve this issue with the LEAST development effort?
Options
- AUse DynamoDB Accelerator (DAX)
- BUse Amazon CloudFront in front of DynamoDB
- CCreate a DynamoDB table with a local secondary index (LSI)
- DUse Amazon ElastiCache in front of DynamoDB
How the community answered
(30 responses)- A73% (22)
- B3% (1)
- C13% (4)
- D10% (3)
Why each option
To resolve issues with DynamoDB read capacity being consumed by repeated reads from an analysis component with minimal development effort, implement DynamoDB Accelerator (DAX).
DynamoDB Accelerator (DAX) is a fully managed, in-memory cache specifically designed for DynamoDB, providing microsecond response times for read-heavy workloads. It transparently offloads read requests from the DynamoDB table, effectively increasing read capacity without requiring significant application code changes, thus meeting the requirements with the least development effort.
Amazon CloudFront is a Content Delivery Network (CDN) primarily used for caching static content and API endpoints, not designed for caching dynamic backend database queries like those against DynamoDB.
Creating a DynamoDB table with a local secondary index (LSI) provides alternative query patterns but shares the same provisioned throughput as the base table, meaning it would not directly reduce the read capacity consumption or resolve the overall capacity issue.
While Amazon ElastiCache can be used for caching DynamoDB data, it requires custom application-level integration and caching logic, which involves more development effort compared to DAX's transparent, DynamoDB-specific integration.
Concept tested: DynamoDB caching with DAX for read-heavy workloads
Source: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DAX.html
Topics
Community Discussion
No community discussion yet for this question.