Users upload documents to an S3 bucket through a web UI. An S3 event triggers a Lambda function to process each upload, but the Lambda sometimes times out. With the Lambda configured using default settings, what happens to the S3 event when the function times out?
Choose an answer
Tap an option to check your answer.
Correct answer: The S3 event is discarded after two retries..
Why this is the answer
When an S3 event notification triggers a Lambda function and the function times out, S3's default behavior is to retry the delivery of the event. S3 will attempt to deliver the event up to three times in total (the initial attempt plus two retries). If the Lambda function still times out after these retries, the S3 event notification is discarded. Amazon SNS is not involved by default for Lambda timeouts. The event is not sent to a default Dead Letter Queue (DLQ) unless one is explicitly configured for the Lambda function. S3 does not continue retrying indefinitely; it has a fixed retry policy for event notifications.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed