Q85 — AWS DVA-C02 Ch.2
Question 85 of 100 | ← Chapter 2
A company stores images in an Amazon S3 bucket. The company wants to automatically resize images after they are uploaded to the S3 bucket. The company created an AWS Lambda function to resize the images. Which solution meets these requirements?
- A. Configure S3 event notifications to invoke the Lambda function. ✓
- B. Configure S3 lifecycle rules to invoke the Lambda function.
- C. Schedule S3 Select to invoke the Lambda function.
- D. Configure S3 Storage Lens to invoke the Lambda function.
Correct Answer: A. Configure S3 event notifications to invoke the Lambda function.
Explanation
Based on event-driven architecture, option A is correct: S3 event notifications can trigger a Lambda function in response to object creation events (e.g., s3:ObjectCreated:*), enabling automatic image resizing upon upload.