Q3 — AWS SAA-C03 Ch.5
Question 3 of 65 | ← Chapter 5
Q303. A company has deployed a serverless application that invokes an AWS Lambda function when new documents are uploaded to an Amazon S3 bucket. The application uses the Lambda function to process the documents. After a recent marketing campaign,the company noticed that the application did not process many of the documents.What should a solutions architect do to improve the architecture of this application?
- A. Set the Lambda function's runtime timeout value to 15 minutes
- B. Configure an S3 bucket replication policy. Stage the documents in the S3 bucket for later processing
- C. Deploy an additional Lambda function. Load balance the processing of the documents across the two Lambda functions
- D. Create an Amazon Simple Queue Service (Amazon SQS) queue Send the requests to the queue.Configure the queue as an event source for Lambda ✓
Correct Answer: D. Create an Amazon Simple Queue Service (Amazon SQS) queue Send the requests to the queue.Configure the queue as an event source for Lambda
Explanation
解析:An event source mapping is a Lambda resource that reads from an event source and invokes a Lambda function. You can use event source mappings to process items from a stream or queue in services that don't invoke Lambda functions directly.https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html