AWS Certified Developer – Associate — Question 126

A company stores the photographs in an Amazon S3 bucket. The company wants to resize the photographs automatically after writing the photographs to the S3 bucket. The company creates an AWS Lambda function to resize the photographs.

Which solution will meet these requirements?

Answer options

Correct answer: A

Explanation

The correct answer is A because S3 Event Notifications can automatically invoke the Lambda function whenever a new object is created in the S3 bucket, which is ideal for this use case. Options B, C, and D do not provide the necessary immediate response to new uploads, as Lifecycle rules and S3 Select are not designed for real-time processing, and S3 Storage Lens is primarily for analytics and monitoring.