Design API ingress for 10,000 requests per second with throttling and auth.
AdvancedScenarioRoute 53, CloudFront and Messaging
Answer
Situation read → API Gateway or ALB depending on features and cost.
What I'd do →
- REST or HTTP API Gateway with Cognito or JWT authorizer, usage plans and throttling
- For high steady volume compare cost with ALB plus Lambda or ECS
- Add WAF
- Default quota is 10,000 rps per region; request increases early
- Add caching and per-client throttling keys
Why → API Gateway per-request pricing makes ALB cheaper at sustained high traffic.
Interview tip → Mention HTTP API is cheaper than REST API when features suffice.
More on Route 53, CloudFront and Messaging
You want users routed to the nearest healthy region. Which Route 53 policy do you use?BeginnerPrimary region fails; how do you fail over DNS in a controlled way?IntermediateWhat is the difference between a CNAME and an alias record in Route 53?BeginnerRoll out a new version to 5 percent of users using DNS. How?IntermediateCloudFront serves stale content after you deployed a new JS bundle. How do you handle cache correctly?IntermediateCloudFront returns 403 from an S3 origin. List the checks.Intermediate