0
0
AWScloud~20 mins

Why API Gateway matters in AWS - Challenge Your Understanding

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
API Gateway Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
What is a primary role of an API Gateway in system design?
Choose the main function of an API Gateway in a microservices architecture.
AIt stores all user data and manages database transactions.
BIt acts as a single entry point that routes client requests to appropriate backend services.
CIt directly processes business logic without involving backend services.
DIt replaces the need for load balancers in the system.
Attempts:
2 left
💡 Hint
Think about how clients communicate with multiple backend services.
Architecture
intermediate
2:00remaining
How does API Gateway improve security in a system?
Select the best way an API Gateway enhances security for backend services.
ABy replacing firewalls and network security appliances.
BBy encrypting data stored in backend databases automatically.
CBy validating and authenticating client requests before forwarding them to backend services.
DBy caching all backend responses indefinitely.
Attempts:
2 left
💡 Hint
Consider where security checks happen in the request flow.
scaling
advanced
2:00remaining
What role does API Gateway play in scaling backend services?
Identify how API Gateway helps manage scaling in a distributed system.
AIt throttles and limits client requests to prevent backend overload.
BIt automatically increases the number of backend servers.
CIt stores session state to balance load across servers.
DIt directly scales databases by sharding data.
Attempts:
2 left
💡 Hint
Think about how to protect backend services from too many requests.
tradeoff
advanced
2:00remaining
What is a tradeoff when using an API Gateway in system architecture?
Choose the correct tradeoff involved in introducing an API Gateway.
AIt adds a single point of failure but simplifies client communication.
BIt eliminates all backend service failures completely.
CIt removes the need for backend service monitoring.
DIt guarantees zero latency in request processing.
Attempts:
2 left
💡 Hint
Consider what new risks or costs come with adding a new component.
estimation
expert
3:00remaining
Estimate the capacity needed for an API Gateway handling 10,000 requests per second with 5 backend services.
If each backend service can handle 3,000 requests per second, what is the minimum capacity the API Gateway must support to avoid bottlenecks?
AAt least 15,000 requests per second capacity to handle combined backend load.
BAt least 50,000 requests per second capacity to handle peak bursts.
CAt least 3,000 requests per second capacity since backend limits are lower.
DAt least 10,000 requests per second capacity to handle all incoming requests.
Attempts:
2 left
💡 Hint
Focus on the number of incoming requests the gateway must process, not backend sum.