A company is building a microservices application that exposes a search catalog via REST APIs. The backend services run in containers in private VPC subnets. Which solution will meet these requirements?
Choose an answer
Tap an option to check your answer.
Correct answer: Design a REST API by using Amazon API Gateway. Host the application in Amazon Elastic Container Service (Amazon ECS) in a private subnet. Create a private VPC link for API Gateway to access Amazon ECS..
Why this is the answer
The correct solution uses Amazon API Gateway to design a REST API, as the requirement specifies exposing a search catalog via REST APIs. The application is hosted in Amazon ECS in private subnets, which is a standard and secure practice for containerized microservices. A private VPC link is essential for API Gateway to securely and privately access the ECS services running in private subnets without traversing the public internet. Incorrect options: Using a WebSocket API is incorrect because the requirement explicitly states REST APIs. Creating a security group for API Gateway to access ECS is insufficient and incorrect for private access. Security groups control traffic within the VPC or to resources with public IPs, but API Gateway needs a private VPC link to connect to private resources in a VPC.
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