SAA-C03 · Question #275
SAA-C03 Question #275: Real Exam Question with Answer & Explanation
The correct answer is D: Configure an Amazon Simple Queue Service (Amazon SQS) queue as an event source for the. Using SQS as a buffer between S3 and the Lambda function ensures durability and allows for retries in case of processing failures. Messages in the queue can be retried by Lambda, and failed processing can be directed to a dead-letter queue for further inspection. This guarantees
Question
A company has an application that processes information from documents that users upload. When a user uploads a new document to an Amazon S3 bucket, an AWS Lambda function is invoked. The Lambda function processes information from the documents. The company discovers that the application did not process many recently uploaded documents. The company wants to ensure that the application processes each document with retries if there is an error during the first attempt to process the document. Which solution will meet these requirements?
Options
- ACreate an Amazon API Gateway REST API that has a proxy integration to the Lambda function.
- BConfigure a replication policy on the S3 bucket to stage the documents in another S3 bucket that
- CDeploy an Application Load Balancer in front of the Lambda function that processes the
- DConfigure an Amazon Simple Queue Service (Amazon SQS) queue as an event source for the
Explanation
Using SQS as a buffer between S3 and the Lambda function ensures durability and allows for retries in case of processing failures. Messages in the queue can be retried by Lambda, and failed processing can be directed to a dead-letter queue for further inspection. This guarantees reliable and scalable message-driven processing.
Community Discussion
No community discussion yet for this question.