Medium1 markMultiple Choice
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?
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
Q01A company wants to ensure that no AWS resources can be created in the ap-northeast-1 region acros...EasyQ02A web application runs on Amazon EC2 instances behind an Application Load Balancer (ALB). The com...EasyQ03A company is storing highly sensitive data in an Amazon S3 bucket. The security team requires tha...MediumQ04An application running on an EC2 instance needs to access an Amazon DynamoDB table in a different...HardQ05A company needs to store database credentials securely. The credentials must be automatically rot...Medium
Expert