You offer public, unauthenticated read-only APIs (updated daily) using API Gateway and Lambda, and the service needs better responsiveness. Which action will help improve API performance?
Choose an answer
Tap an option to check your answer.
Correct answer: Enable API caching in API Gateway..
Why this is the answer
Enabling API caching in API Gateway directly improves responsiveness by storing responses from your Lambda function for a specified time. Subsequent requests for the same data are served directly from the cache, reducing the load on your Lambda function and decreasing latency. Since the APIs are public, unauthenticated, and updated daily, caching is highly effective for read-only operations. Configuring an interface VPC endpoint is for private API access within a VPC, not for improving public API performance. Enabling CORS is for allowing web applications from different origins to access your API, not for performance enhancement. Configuring usage plans and API keys is for controlling and monitoring API access and throttling, not for improving response times for unauthenticated public APIs.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed