
Answer-first summary for fast verification
Answer: Utilizing an interface endpoint.
The correct answer is B: 'Utilizing an interface endpoint.' Using an interface endpoint allows the BuyStock RESTful web service to communicate with the CheckFunds RESTful web service internally within the VPC without routing traffic over the internet. This is the most appropriate solution to ensure internal VPC communication with minimal changes to the code.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
In a VPC with Amazon API Gateway running two REST APIs, the BuyStock service is incorrectly calling CheckFunds over the internet instead of internally. Identify the solution requiring minimal code changes to ensure internal VPC communication.
A
Implementing an X-API-Key header for authorization.
B
Utilizing an interface endpoint.
C
Employing a gateway endpoint.
D
Introducing an Amazon SQS queue between the APIs.
No comments yet.