Free AWS Certified Developer Associate DVA-C02 Practice Question

Your company has an application that uploads processed data to an S3 bucket. You need to design a system where an AWS Lambda function is invoked for each new object created in the bucket to perform additional processing. What combination of steps should be taken to ensure the proper integration between S3 and the Lambda function?

  • Configure an event notification on the S3 bucket to invoke the Lambda function when an object is created.

  • Enable Cross-Origin Resource Sharing (CORS) on the S3 bucket to trigger the Lambda function.

  • Apply a bucket policy to the S3 bucket to allow the Lambda function to be invoked when a new object is created.

  • Create an S3 lifecycle policy that invokes the Lambda function upon new object upload.

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.