ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 405 - SAA-C03 discussion

Report
Export

A company uses Amazon API Gateway to run a private gateway with two REST APIs in the same VPC.

The BuyStock RESTful web service calls the CheckFunds RESTful web service to ensure that enough funds are available before a stock can be purchased. The company has noticed in the VPC flow logs that the BuyStock RESTful web service calls the CheckFunds RESTful web service over the internet instead of through the VPC. A solutions architect must implement a solution so that the APIs communicate through the VPC.

Which solution will meet these requirements with the FEWEST changes to the code?

(Select Correct Option/s and give detailed explanation from AWS Certified Solutions Architect Associate (SAA-C03) Study Manual or documents)

A.
Add an X-APl-Key header in the HTTP header for authorization.
Answers
A.
Add an X-APl-Key header in the HTTP header for authorization.
B.
Use an interface endpoint.
Answers
B.
Use an interface endpoint.
C.
Use a gateway endpoint.
Answers
C.
Use a gateway endpoint.
D.
Answers
D.
Suggested answer: B

Explanation:

A. Add an X-APl-Key header in the HTTP header for authorization.

B. Use an interface endpoint.

C. Use a gateway endpoint.

D. Add an Amazon Simple Queue Service (Amazon SQS) queue between the two REST APIs.

Answer: B

Explanation:

Using an interface endpoint will allow the BuyStock RESTful web service and the CheckFunds RESTful web service to communicate through the VPC without any changes to the code. An interface endpoint creates an elastic network interface (ENI) in the customer's VPC, and then configures the route tables to route traffic from the APIs to the ENI. This will ensure that the two APIs will communicate through the VPC without any changes to the code.

asked 16/09/2024
Farshin Golpad
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first