AWS Certified Developer – Associate — Question 276

A media company wants to test its web application more frequently. The company deploys the application by using a separate AWS CloudFormation stack for each environment. The same CloudFormation template is deployed to each stack as the application progresses through the development lifecycle.

A developer needs to build an automated alert for the quality assurance (QA) team. The developer wants the alert to occur for new deployments in the final pre-production environment.

Which solution will moot these requirements?

Answer options

Correct answer: A

Explanation

AWS CloudFormation natively supports sending stack event notifications directly to an Amazon SNS topic via the stack's notification options, making Option A the simplest and most direct solution. Other options are incorrect because CloudFormation does not support direct event source mapping to Lambda, and EventBridge or CloudWatch metrics would require more complex configurations and do not offer the straightforward integration that the native SNS notification option provides.