
Answer-first summary for fast verification
Answer: Configure S3 Event Notifications to invoke an AWS Lambda function that runs image processing logic when new images are uploaded on the source S3 bucket.
AWS Lambda is a highly cost-effective and scalable service for event-driven workloads with short execution times (such as 30 to 120 seconds). By configuring Amazon S3 Event Notifications to invoke a Lambda function directly, the image processing is automated the moment an image arrives, and the company only pays for the exact compute time used, eliminating the idle costs associated with an always-on EC2 instance.
Author: Ritesh Yadav
Ultimate access to all questions.
Question #73 A company generates hundreds of images and uploads the images to an Amazon S3 bucket. The company manually copies the images to an always-on Amazon EC2 instance for processing. It usually takes between 30 seconds and 120 seconds to process each image. A CloudOps engineer wants to automate the image processing solution to process the images as soon as they arrive in the S3 bucket. Which solution will meet these requirements MOST cost-effectively?
A
Configure S3 Event Notifications to invoke the EC2 instance when images are uploaded to the S3 bucket. Run the image processing solution on the EC2 instance to process the images.
B
Configure S3 Event Notifications to invoke an Amazon EventBridge rule. Configure the EventBridge rule to start a preconfigured AWS Glue ETL job to process images.
C
Configure S3 Event Notifications to invoke an AWS Lambda function that runs image processing logic when new images are uploaded on the source S3 bucket.
D
Configure S3 Event Notifications to invoke a task on an Amazon Elastic Container Service (Amazon ECS) container that is backed by EC2 instances when the images are uploaded to the S3 bucket. Configure the ECS task to process the images.
No comments yet.