Hard1 markMultiple Choice
Domain 2.1: Scalable ArchitecturesDomain 2ResilienceServerlessScaling

AWS SAA-C03 · Question 24 · Domain 2.1: Scalable Architectures

A serverless application uses Amazon API Gateway, AWS Lambda, and Amazon DynamoDB. During a marketing campaign, traffic spikes to 10,000 requests per second. Users report receiving 503 Service Unavailable and 429 Too Many Requests errors. Which TWO actions should the solutions architect take to resolve these issues? (Select TWO.)

Answer options:

A.

Increase the memory allocation for the Lambda functions.

B.

Request a quota increase for AWS Lambda concurrent executions.

C.

Change the API Gateway endpoint type to Regional.

D.

Enable DynamoDB Auto Scaling or switch to On-Demand capacity.

E.

Deploy an Application Load Balancer in front of API Gateway.

How to approach this question

Identify the bottlenecks in a serverless stack: Lambda concurrency limits and DynamoDB capacity limits.

Full Answer

B,D
In a serverless stack, 429 (Too Many Requests) errors usually indicate API Gateway or Lambda throttling. Lambda has a default concurrency limit of 1,000, which needs a quota increase for 10,000 rps. 503 errors often indicate backend timeouts or failures, which can happen if DynamoDB throttles the Lambda function due to insufficient capacity.

Common mistakes

Thinking increasing Lambda memory solves concurrency issues.

Practice the full AWS SAA-C03 Practice Exam 1

65 questions · hints · full answers · grading

More questions from this exam