Design Cost-Optimized Architectures

An Amazon API Gateway REST API serves customers on different pricing tiers, and several customers share a public IP address. The company needs best-effort per-customer request rates and monthly quotas to control backend costs; which approach BEST meets these requirements?

Show the answer

Correct answerD. Assign customer API keys to tier-specific usage plans

AWhy not this: A shared stage throttle limits aggregate traffic rather than assigning different rates and quotas to customers.

BWhy not this: IP-based rules combine customers behind a shared public address and do not provide monthly per-customer usage quotas.

CWhy not this: Reserved concurrency limits simultaneous Lambda executions, not per-customer API request rates or monthly quotas.

DWhy this is right: Usage plans provide best-effort throttling and quotas for customers identified by their assigned API keys.

API Gateway usage plans associate API keys with throttling limits and quotas, supporting best-effort controls for customer tiers. IP-based AWS WAF rules would group customers sharing an address rather than apply independent customer allowances.