Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
On AWS, an API application utilizing Amazon CloudFront, API Gateway, and Lambda receives a minimum of four POST requests per second, with frequent duplicate queries. What is the optimal solution for caching these POST requests?
A
Configure CloudFront to cache responses based on default request headers and update the application accordingly.
B
Enable caching for POST requests specifically in the API Gateway stage settings.
C
Store the most recent POST response in Lambda's /tmp directory and modify the function to check this directory.
D
Store the most recent POST request in AWS Systems Manager Parameter Store and adjust the Lambda function to retrieve responses from there.