AWS Certified Developer – Associate (DVA-C02) — Question 557

A company processes incoming documents from an Amazon S3 bucket. Users upload documents to an S3 bucket using a web user interface. Upon receiving files in S3, an AWS Lambda function is invoked to process the files, but the Lambda function times out intermittently.

If the Lambda function is configured with the default settings, what will happen to the S3 event when there is a timeout exception?

Answer options

Correct answer: D

Explanation

Amazon S3 invokes AWS Lambda asynchronously, which means Lambda will automatically retry the execution twice by default if a timeout or error occurs. If these retries also fail and no Dead Letter Queue (DLQ) or on-failure destination is explicitly configured, the event is permanently discarded. Consequently, the other options are incorrect because there are no default SNS notifications, default DLQs, or infinite retry loops.