CompTIA Study Materials
AWS Study Materials
AWS Certified Developer Associate AWS Certified Developer Associate
AWS Certified Developer Associate DVA-C02
AWS Certified Solutions Architect Associate AWS Certified Solutions Architect Associate
AWS Certified Solutions Architect Associate SAA-C03
AWS Cloud Practitioner AWS Cloud Practitioner
AWS Cloud Practitioner CLF-C02
Microsoft Study Materials
Microsoft Azure Fundamentals Microsoft Azure Fundamentals
Microsoft Azure Fundamentals AZ-900

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?

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

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

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

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

This question's topic:
AWS Certified Developer Associate DVA-C02 / 
Development with AWS Services
Your Score:
Development with AWS Services
Security
Deployment
Troubleshooting and Optimization