Examtopics

AWS Certified Solutions Architect - Associate
  • Topic 1 Question 360

    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?

    • Add an X-API-Key header in the HTTP header for authorization.

    • Use an interface endpoint.

    • Use a gateway endpoint.

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


    シャッフルモード