A customer runs latency-sensitive microservices behind an API Gateway REST API. They observe intermittent 5xx spikes during downstream throttling, and they need per-client fairness and predictable overload behavior. Which solution is most appropriate?
Answer
Use usage plans with request throttling plus AWS WAF rate-based rules, and implement client-specific backoff using idempotency keys
Explanation
Usage plans and WAF rate controls provide layered throttling and fairness, preventing a single client from driving overload. Idempotency and backoff reduce error amplification when downstream throttles occur.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A data lake ingestion pipeline reads from an S3 bucket with frequent schema changes. Analysts must query data with minimal latency while still getting correct results when fields appear/disappear. Which approach best balances reliability and schema handling?
View question →
A customer wants to use S3 for application logs with cost control, frequent analytical queries, and compliance requirements that prohibit deleting raw logs. Which S3 configuration is best?
View question →
A workload requires near-real-time stream processing with exactly-once processing semantics across failures, while also needing schema evolution and late-arriving data handling. Which combination most directly addresses these requirements on AWS?
View question →
In a multi-account landing zone using AWS Organizations and centralized billing, which approach best enables deterministic enforcement of encryption and access controls for new resources created by existing teams?
View question →
A serverless application must ensure that each SQS message is processed exactly once end-to-end, even if the consumer crashes after partially writing to DynamoDB. Which architecture best achieves this guarantee?
View question →
In a hybrid environment, you need low-latency connectivity and predictable throughput between on-premises and AWS, with failover handled automatically. Which network architecture most directly achieves this?
View question →