AWS Certified Solutions Architect – Professional (SAP-C02) — Question 497

A company creates an Amazon API Gateway API and shares the API with an external development team. The API uses AWS Lambda functions and is deployed to a stage that is named Production.

The external development team is the sole consumer of the API. The API experiences sudden increases of usage at specific times, leading to concerns about increased costs. The company needs to limit cost and usage without reworking the Lambda functions.

Which solution will meet these requirements MOST cost-effectively?

Answer options

Correct answer: D

Explanation

Option D is correct because API Gateway usage plans allow administrators to define throttling limits and quotas directly at the API stage level without modifying backend Lambda code, which directly restricts usage and controls costs. Option A requires modifying the backend architecture to use Amazon SQS, which does not directly limit overall usage. Option B introduces provisioned concurrency which increases costs, and Option C introduces the unnecessary additional expense of AWS WAF when native API Gateway usage plans can meet the requirement.