A company is building a RESTful serverless web application on AWS using Amazon API Gateway and AWS Lambda. Users are geographically distributed and the company wants to reduce API request latency for those users. Which type of API Gateway endpoint should a solutions architect use?
Choose an answer
Tap an option to check your answer.
Correct answer: Edge-optimized endpoint.
Why this is the answer
An edge-optimized endpoint is the correct choice because it leverages Amazon CloudFront's global network of edge locations to route requests to the nearest CloudFront PoP (Point of Presence). This reduces latency for geographically distributed users by serving content and API responses from a location closer to them. A regional endpoint is deployed in a single AWS region and does not use CloudFront, meaning requests from distant users would experience higher latency. A private endpoint is used for internal applications within a VPC, not for public internet access. An interface VPC endpoint allows private connectivity to AWS services from within a VPC, which is also not applicable for public-facing, geographically distributed users.
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