Free AWS Certified Developer Associate DVA-C02 Practice Question

A developer needs to process incoming files uploaded to an Amazon S3 bucket and transform the data using an AWS Lambda function. The developer wants the function to be triggered as soon as a new file is stored in the bucket. What is the MOST suitable way to achieve this requirement?

  • Publish the S3 event notifications to an Amazon SNS topic and subscribe the Lambda function to that topic.

  • Route the S3 event notifications to Amazon CloudWatch Events/EventBridge and associate the Lambda function as a target.

  • Configure the Lambda function to be triggered by Amazon S3 event notifications when a new object is created.

  • Send the S3 event notifications to an Amazon SQS queue and set up the queue as an event source for the Lambda function.

This question's topic:
AWS Certified Developer Associate DVA-C02 / 
Development with AWS Services
Your Score:

Check or uncheck an objective to set which questions you will receive.