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?

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