A sports media website uses Amazon DynamoDB to store and retrieve live match statistics. During high-profile matches, a sudden surge in read requests for a small set of popular matches results in DynamoDB throttling and increased latency. A developer decides to implement an Amazon DynamoDB Accelerator (DAX) cluster to optimize read performance. Which of the following developer actions are required to successfully cache these read operations and resolve the bottleneck? (Select two.)
- Configure the application to use the DAX SDK client to route API calls to the DAX cluster endpoint.Cevap
- Ensure the application performs eventually consistent reads rather than strongly consistent reads for cached items.Cevap
- CConfigure DynamoDB auto-scaling to dynamically increase the provisioned Read Capacity Units (RCUs) of the table during peak hours.
- DRefactor the read logic to perform a Scan operation with a filter expression instead of a Query to retrieve match statistics.
- EImplement AWS Systems Manager Parameter Store to manage and automatically rotate the IAM credentials used by the DAX cluster nodes.
Cevap
Configure the application to use the DAX SDK client to route API calls to the DAX cluster endpoint, and ensure the application performs eventually consistent reads rather than strongly consistent reads for cached items.
To cache DynamoDB read requests using DAX, the application must interact with the cluster via the DAX client SDK. Additionally, DAX is designed to cache eventually consistent read operations in its item cache, whereas strongly consistent reads are forwarded directly to DynamoDB, bypassing the cache.
Adım Adım Çözüm
Anahtar Kavram
DynamoDB Accelerator (DAX) client configuration and read consistency caching rules