Question
A company is offering APIs as a service over the internet to provide unauthenticated read access to statistical information that is updated daily. The company uses Amazon API Gateway and AWS Lambda to develop the APIs. The service has become popular, and the company wants to enhance the responsiveness of the APIs.
Which action can help the company achieve this goal?
- A. Enable API caching in API Gateway. Correct
- B. Configure API Gateway to use an interface VPC endpoint.
- C. Enable cross-origin resource sharing (CORS) for the APIs.
- D. Configure usage plans and API keys in API Gateway.
Explanation
Enabling API caching in API Gateway can help enhance the responsiveness of the APIs by storing responses to unauthenticated read requests, thereby reducing the need to invoke AWS Lambda functions repeatedly for the same data that is updated daily. This reduces latency and improves performance.