Medium1 markMultiple Choice
AWS SAP-C02 · Question 14 · Domain 1.3: Reliability and Resilience
An architecture relies on Amazon SQS and AWS Lambda. During peak loads, the downstream API that Lambda calls becomes overwhelmed and throttles requests. The architect needs to ensure no messages are lost and the system recovers gracefully. What should be implemented?
An architecture relies on Amazon SQS and AWS Lambda. During peak loads, the downstream API that Lambda calls becomes overwhelmed and throttles requests. The architect needs to ensure no messages are lost and the system recovers gracefully. What should be implemented?
Answer options:
A.
Increase the Lambda concurrency limit to process messages faster.
B.
Configure a Dead Letter Queue (DLQ) on the SQS queue. Implement exponential backoff in the Lambda function.
C.
Replace SQS with Amazon SNS to push messages directly to the API.
D.
Use AWS Step Functions to replace Lambda.
How to approach this question
Look for patterns that handle failures (DLQ) and reduce downstream pressure (backoff).
Full Answer
B.Configure a Dead Letter Queue (DLQ) on the SQS queue. Implement exponential backoff in the Lambda function.✓ Correct
Configure a Dead Letter Queue (DLQ) on the SQS queue. Implement exponential backoff in the Lambda function.
A Dead Letter Queue (DLQ) ensures messages that fail processing repeatedly are saved for later analysis. Exponential backoff allows the downstream API time to recover.
Common mistakes
Increasing concurrency, which exacerbates the throttling issue.
Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 6
75 questions · hints · full answers · grading
More questions from this exam
Q01A global enterprise requires highly available hybrid connectivity between its on-premises data ce...HardQ02An organization has 50 VPCs across two AWS Regions connected via Transit Gateways (TGW). The TGWs...HardQ03A company uses AWS Organizations. The network team wants to share a central Transit Gateway (TGW)...MediumQ04An enterprise has on-premises data centers in the US and Europe. They want to use the AWS global ...HardQ05A company requires that all API calls to Amazon S3 from their VPC must not traverse the public in...Medium
Expert