AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 295

A company is using AWS CloudFormation to perform deployments of its application environment. A deployment failed during a recent update to the existing CloudFormation stack. A DevOps engineer discovered that some resources in the stack were manually modified.

The DevOps engineer needs a solution that detects manual modification of resources and sends an alert to the DevOps lead.

Which solution will meet these requirements with the LEAST operational effort?

Answer options

Correct answer: A

Explanation

Option A is correct because using the AWS Config managed rule CLOUDFORMATION_STACK_DRIFT_DETECTION_CHECK alongside Amazon EventBridge and Amazon SNS provides a fully serverless, native integration that requires zero custom code. Option C is incorrect because it triggers notifications on COMPLIANT states rather than drift events. Options B and D introduce unnecessary operational overhead by requiring custom code development and maintenance through the AWS Config Rules Development Kit or AWS Lambda.