AWS Certified DevOps Engineer – Professional — Question 192

A DevOps engineer sets up two Amazon S3 event notifications for an S3 bucket from the S3 console. Both event notifications will be invoked when an object PUT action occurs. One event notification will invoke an AWS Lambda function if the file suffix is .csv. Another event notification will invoke an Amazon Simple
Notification Service (Amazon SNS) topic if the file suffix is .xlsx
The DevOps engineer notices that files with the .csv suffix can invoke the Lambda function successfully. However, files with the .xlsx suffix cannot invoke the SNS topic.
Which reason explains why the SNS topic is not invoked when .xlsx files are added to the S3 bucket?

Answer options

Correct answer: B

Explanation

The correct answer is B because Amazon S3 must have the right permissions to publish messages to the Amazon SNS topic. If these permissions are not correctly configured, the SNS topic will not receive notifications for .xlsx files. The other options are incorrect as they either misstate the capabilities of S3 event notifications or the relationship between SNS and Lambda.