0
0
AWScloud~20 mins

API Gateway throttling in AWS - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
API Gateway Throttling Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
Understanding API Gateway Throttling Limits

What is the default rate limit for AWS API Gateway throttling per account per region?

A100,000 requests per second
B1,000 requests per second
C10,000 requests per second
D5,000 requests per second
Attempts:
2 left
💡 Hint

Think about the default soft limits AWS sets for API Gateway to protect backend services.

Architecture
intermediate
2:00remaining
Designing Throttling for Multiple API Stages

You have multiple stages (dev, test, prod) in your API Gateway. How can you apply throttling limits independently for each stage?

AApply throttling only at the account level, stages share the same limits
BUse Lambda authorizers to enforce throttling per stage
CSet usage plans with API keys scoped to each stage
DCreate separate API Gateway accounts for each stage
Attempts:
2 left
💡 Hint

Think about how usage plans and API keys can control access and limits per stage.

scaling
advanced
2:30remaining
Handling Bursty Traffic with API Gateway Throttling

Your API experiences sudden bursts of traffic exceeding the throttling limits. Which approach best helps to handle this without dropping requests?

AEnable burst capacity and use usage plans with quotas
BIncrease the throttling limits manually without any other changes
CDisable throttling to allow all requests through
DUse CloudFront in front of API Gateway to cache responses
Attempts:
2 left
💡 Hint

Consider AWS features that allow temporary traffic spikes without rejecting requests.

tradeoff
advanced
2:00remaining
Tradeoffs of Client-Side vs Server-Side Throttling

Which is a key tradeoff when choosing client-side throttling over server-side throttling in API Gateway?

AClient-side throttling guarantees no requests are dropped by the server
BClient-side throttling reduces server load but relies on client compliance
CServer-side throttling requires clients to implement retry logic
DServer-side throttling cannot be configured in API Gateway
Attempts:
2 left
💡 Hint

Think about control and reliability differences between client and server throttling.

estimation
expert
3:00remaining
Estimating Maximum Requests with Throttling and Burst Capacity

Your API Gateway has a steady rate limit of 5,000 requests per second and a burst capacity of 10,000 requests. How many requests can it handle in 2 seconds during a sudden traffic spike?

A20,000 requests
B15,000 requests
C10,000 requests
D5,000 requests
Attempts:
2 left
💡 Hint

Consider how burst capacity adds to the steady rate limit over time.