Event Notification for Changes in Amazon S3 Bucket

Cannot use Amazon RDS as the Destination

Prev Question Next Question

Question

Last week there was an incident in your company where critical files were deleted from the Amazon S3 bucket.

Your manager has asked you to configure event notification for changes made to objects in Amazon S3

While publishing events from Amazon S3, which of the following cannot be used as the destination?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answer - D.

Amazon S3 events can be sent to the following destinations & not to Amazon CloudWatch Events.

· Amazon SNS.

· AWS Lambda.

· Amazon SQS

Option A, B, C are incorrect as Amazon S3 supports these services as a destination for sending notifications.

For more information on Amazon S3 event notification, refer to the following URL-

https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html

When configuring event notifications for changes made to objects in an Amazon S3 bucket, you can specify different destinations for the events to be published. The available destinations include Amazon SNS, AWS Lambda, Amazon SQS, and Amazon CloudWatch Events.

Out of these options, there is no destination that cannot be used for publishing S3 events. Therefore, the correct answer to this question is None/All of the above.

Let's take a closer look at each of the available destinations:

A. Amazon SNS (Simple Notification Service): It is a fully managed messaging service that enables you to decouple and scale microservices, distributed systems, and serverless applications. You can use Amazon SNS as a destination for S3 events to send notifications to a variety of endpoints, including email, SMS text message, and mobile push notifications.

B. AWS Lambda: It is a serverless compute service that lets you run code without provisioning or managing servers. You can use AWS Lambda as a destination for S3 events to trigger custom code in response to object creations, updates, and deletions. For example, you can use AWS Lambda to process images or video files as soon as they are uploaded to an S3 bucket.

C. Amazon SQS (Simple Queue Service): It is a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless applications. You can use Amazon SQS as a destination for S3 events to send messages to one or more queues for asynchronous processing. For example, you can use Amazon SQS to process log files or perform data analysis on large datasets.

D. Amazon CloudWatch Events: It is a service that enables you to respond to system events and automate actions in your AWS resources. You can use Amazon CloudWatch Events as a destination for S3 events to trigger events based on object creations, updates, and deletions. For example, you can use Amazon CloudWatch Events to trigger an AWS Lambda function that analyzes the contents of an S3 object and takes action based on the results.

In conclusion, all of the above-mentioned destinations can be used as the destination for publishing events from Amazon S3. Therefore, the correct answer to the question is None/All of the above.