
Answer-first summary for fast verification
Answer: If two writes are made to a single non-versioned object at the same time, it is possible that only a single event notification will be sent
Overall explanation Correct option: If two writes are made to a single non-versioned object at the same time, it is possible that only a single event notification will be sent - Amazon S3 event notifications are designed to be delivered at least once. Typically, event notifications are delivered in seconds but can sometimes take a minute or longer. If two writes are made to a single non-versioned object at the same time, it is possible that only a single event notification will be sent. If you want to ensure that an event notification is sent for every successful write, you can enable versioning on your bucket. With versioning, every successful write will create a new version of your object and will also send event notification. Incorrect options: Someone could have created a new notification configuration and that has overridden your existing configuration - It is possible that the configuration can be overridden. But, in the current scenario, the team lead is receiving notifications for most of the events, which nullifies the claim that the configuration is overridden. Versioning is enabled on the S3 bucket and event notifications are getting fired for only one version - This is an incorrect statement. If you want to ensure that an event notification is sent for every successful write, you should enable versioning on your bucket. With versioning, every successful write will create a new version of your object and will also send event notification. Your notification action is writing to the same bucket that triggers the notification - If your notification ends up writing to the bucket that triggers the notification, this could cause an execution loop. But it will not result in missing events.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your team member has set up an Amazon S3 event notification for an S3 bucket that contains sensitive audit data for your company. As the Team Lead, you receive SNS notifications for each event occurring in this bucket. Upon reviewing the event data, you notice that some events are not being captured.
What could be the reason for this issue, and how can it be prevented in the future?
A
Versioning is enabled on the S3 bucket and event notifications are getting fired for only one version
B
Someone could have created a new notification configuration and that has overridden your existing configuration
C
If two writes are made to a single non-versioned object at the same time, it is possible that only a single event notification will be sent
D
Your notification action is writing to the same bucket that triggers the notification
No comments yet.