A digital library application retrieves book metadata from an Amazon DynamoDB table. During a reading campaign, a few popular books receive a high volume of read requests, causing DynamoDB read throttling. The developer wants to implement a caching solution to reduce read latency to sub-milliseconds for these popular books with minimal changes to the application code.
Which two actions should the developer take to resolve the throttling and meet the performance requirements? (Select two.)
- Create an Amazon DynamoDB Accelerator (DAX) cluster.Cevap
- Configure the application to use the DAX SDK client instead of the standard DynamoDB client.Cevap
- CIncrease the provisioned Read Capacity Units (RCUs) on the DynamoDB table to handle the peak request rate.
- DModify the application code to perform Scan operations with filter expressions on the book details table.
- EUse AWS Secrets Manager to store the DynamoDB table credentials and retrieve them dynamically on every query.
Cevap
To resolve read throttling and achieve sub-millisecond read latency with minimal application changes, the developer should create an Amazon DynamoDB Accelerator (DAX) cluster and configure the application to use the DAX SDK client.
Creating an Amazon DynamoDB Accelerator (DAX) cluster and configuring the application to use the DAX SDK client is the correct approach. DAX is an in-memory, write-through cache that is API-compatible with DynamoDB. Replacing the standard client with the DAX client requires minimal code changes and routes read operations through the cache, reducing read latency to sub-milliseconds and offloading the read volume from the database table.
Adım Adım Çözüm
Anahtar Kavram
DynamoDB Accelerator (DAX) caching implementation
Tahmini Süre:1m 0s