AWS Certified Solutions Architect – Professional — Question 561

A company is creating a REST API to share information with six of its partners based in the United States. The company has created an Amazon API Gateway
Regional endpoint. Each of the six partners will access the API once per day to post daily sales figures.
After initial deployment, the company observes 1,000 requests per second originating from 500 different IP addresses around the world. The company believes this traffic is originating from a botnet and wants to secure its API while minimizing cost.
Which approach should the company take to secure its API?

Answer options

Correct answer: D

Explanation

AWS WAF can be directly associated with an Amazon API Gateway Regional endpoint to restrict access exclusively to the IP addresses of the six partners, effectively blocking the botnet. Utilizing an API Gateway usage plan with a request limit and API keys provides a cost-effective way to control and monitor partner access. Options involving CloudFront are incorrect because they add unnecessary costs, and CloudFront OAIs are used for securing S3 buckets, not API Gateway endpoints.