AWS SAP-C02 · Question 29 · Domain 2.4: Reliability Requirements
A retail company is designing a serverless order processing system. Orders are received via API Gateway and placed into an SQS queue. A Lambda function processes the orders and updates a DynamoDB table. During flash sales, the SQS queue receives millions of messages, causing the Lambda function to scale rapidly and exhaust the DynamoDB write capacity, leading to throttled requests and failed orders. Which combination of actions should the architect take to improve reliability? (Select TWO)
Answer options:
Configure a Maximum Concurrency limit on the SQS event source mapping for the Lambda function.
Increase the visibility timeout of the SQS queue to 12 hours.
Change the DynamoDB table to On-Demand capacity mode.
Implement a Dead Letter Queue (DLQ) on the API Gateway.
Use Amazon Kinesis Data Firehose instead of SQS.
Enable DynamoDB Accelerator (DAX) for the table.
75 questions · hints · full answers · grading