Which solution will meet these requirements?
Enable caching for API Gateway stages. Use DynamoDB Accelerator (DAX) for the DynamoDB table.
Enable caching tor API Gateway stages. Use Amazon ElastiCache for Memcached caching for the DynamoDB table.
Use provisioned concurrency for the Lambda function. Use DynamoDB Accelerator (DAX) for the DynamoDB table.
Use provisioned concurrency for the Lambda function. Increase the RCUs for the DynamoDB table.
Explanations:
Enabling API Gateway caching will reduce repeated request latency, and using DynamoDB Accelerator (DAX) for the DynamoDB table will reduce read latency and offload read traffic, preventing throttling.
While API Gateway caching helps with repeated requests, ElastiCache for Memcached is not directly integrated with DynamoDB and doesn’t offer specific DynamoDB performance benefits, unlike DAX.
Provisioned concurrency for Lambda ensures low cold start latency, but it does not address the throttling of the DynamoDB table. DAX is the preferred caching solution for DynamoDB.
Provisioned concurrency helps Lambda performance but does not resolve the DynamoDB throttling issue. Increasing RCUs can improve read throughput but doesn’t handle caching for repeated queries.