Medium1 markMultiple Choice
Domain 2.3: DecouplingDomain 2ResilienceAPI GatewaySQS

AWS SAA-C03 · Question 35 · Domain 2.3: Decoupling

A popular mobile game uses Amazon API Gateway and AWS Lambda. During special events, traffic spikes unpredictably, causing the backend database to become overwhelmed. How can a solutions architect protect the backend while ensuring legitimate requests are eventually processed?

Answer options:

A.

Enable API Gateway caching.

B.

Implement an Amazon SQS queue between API Gateway and Lambda.

C.

Increase the Lambda concurrency limit.

D.

Use AWS WAF to block excess traffic.

How to approach this question

Look for a decoupling/buffering mechanism.

Full Answer

B.Implement an Amazon SQS queue between API Gateway and Lambda.✓ Correct
Using an SQS queue decouples the API from the backend processing. API Gateway can write directly to SQS, and Lambda can process messages from the queue at a controlled rate, protecting the database.

Common mistakes

Increasing Lambda concurrency, which overwhelms downstream databases.

Practice the full AWS SAA-C03 Practice Exam 2

65 questions · hints · full answers · grading

More questions from this exam