Home › Forums › AWS › AWS Certified Solutions Architect Associate › S3: adding more than one event notification
-
S3: adding more than one event notification
-
Question in Timed Mode Set 2:
A company is storing its financial reports and regulatory documents in an Amazon S3 bucket. To comply with the IT audit, they tasked their Solutions Architect to track all new objects added to the bucket as well as the removed ones. It should also track whether a versioned object is permanently deleted. The Architect must configure Amazon S3 to publish notifications for these events to a queue for post-processing and to an Amazon SNS topic that will notify the Operations team.
Which of the following is the MOST suitable solution that the Architect should implement?
Answer provided: “Create a new Amazon SNS topic and Amazon SQS queue. Add an S3 event notification configuration on the bucket to publish
s3:ObjectCreated:*
andObjectRemoved:DeleteMarkerCreated
event types to SQS and SNS.”Based on my research, this is incorrect. You cannot have two event notifications which have the same configuration. Trying that, you get the error message “Configuration is ambiguously defined. Cannot have
overlapping suffixes in two rules if the prefixes are overlapping for
the same event type.”Documentation: https://repost.aws/knowledge-center/lambda-s3-event-configuration-error
Log in to reply.