
Answer-first summary for fast verification
Answer: REST API with Amazon API Gateway, Amazon ECS in a private subnet, and a private VPC link.
The correct answer is B. A REST API is appropriate for presenting the frontend of the microservices application. Amazon API Gateway is designed to create REST APIs, and using Amazon ECS in a private subnet provides a secure environment for hosting the application. Creating a private VPC link allows API Gateway to access the backend services securely within the VPC. This combination meets the requirements of accessing backend services in private VPC subnets while providing a RESTful interface for the frontend.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A company is developing a microservices application with a search catalog. The application must use REST APIs for the frontend and access backend services hosted in private VPC subnets. What is the appropriate solution?
A
WebSocket API with Amazon API Gateway, Amazon ECS in a private subnet, and a private VPC link.
B
REST API with Amazon API Gateway, Amazon ECS in a private subnet, and a private VPC link.
C
WebSocket API with Amazon API Gateway, Amazon ECS in a private subnet, and a security group.
D
REST API with Amazon API Gateway, Amazon ECS in a private subnet, and a security group.