Q70 — AWS DOP-C02 Ch.2

Question 70 of 100 | ← Chapter 2

A DevOps engineer configured Amazon S3 event notifications for an S3 bucket. When a PUT operation occurs on the bucket, these event notifications are triggered. If a file’s suffix is .csv, one event notification invokes an AWS Lambda function. If a file’s suffix is .xlsx, another event notification invokes an Amazon Simple Notification Service (Amazon SNS) topic. The DevOps engineer observes that files with the .csv suffix successfully invoke the Lambda function. However, files with the .xlsx suffix do not invoke the SNS topic. Which reason explains why the SNS topic is not invoked when an .xlsx file is added to the S3 bucket?

Correct Answer: B. Amazon S3 requires appropriate permissions to publish event notifications to Amazon SNS.

Explanation

Option B is correct. In this scenario, the failure to invoke the SNS topic when an .xlsx file is added to the S3 bucket is most likely due to Amazon S3 lacking the necessary permissions to publish event notifications to Amazon SNS. Without properly configured permissions, even if event notification rules are set up, the notification action cannot execute successfully. Option A is incorrect because the S3 console supports multiple event notifications. Option C is invalid—there is no inherent precedence between Lambda and SNS for event notifications. Option D is incorrect—Amazon SNS is a valid destination for object PUT event notifications. Therefore, Option B provides the correct explanation.