Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Question 10 of 94
Free Preview · 94 of 312 · questions 1–94 of 312 are free. Sign up free to sync your progress across devices.
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
A makes the most sense. B and C are just a waste of resources. Why run a function when we only want it to run when an object is created. D: No need for an SNS topic.
A is correct. SNS is useless in this scenario and it adds an extra layer of complexity
s3:ObjectCreated:* instead of s3:*: triggers the Lambda function only when objects are created in the bucket.