nerdexam
Amazon

SOA-C02 · Question #105

A company uses AWS CloudFormation to deploy its application infrastructure. Recently, a user accidentally changed a property of a database in a CloudFormation template and performed a stack update…

The correct answer is C. Launch the CloudFormation templates using a stack policy with an explicit allow for all resources. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-

Submitted by hassan_iq· Mar 30, 2026Deployment, Provisioning, and Automation

Question

A company uses AWS CloudFormation to deploy its application infrastructure. Recently, a user accidentally changed a property of a database in a CloudFormation template and performed a stack update that caused an interruption to the application. A SysOps administrator must determine how to modify the deployment process to allow the DevOps team to continue to deploy the infrastructure, but prevent against accidental modifications to specific resources. Which solution will meet these requirements?

Options

  • ASet up an AWS Config rule to alert based on changes to any CloudFormation stack. An AWS
  • BSet up an Amazon EventBridge event with a rule to initiate based on any CloudFormation API
  • CLaunch the CloudFormation templates using a stack policy with an explicit allow for all resources
  • DAttach an IAM policy to the DevOps team role that prevents a CloudFormation stack from

How the community answered

(37 responses)
  • A
    11% (4)
  • B
    5% (2)
  • C
    81% (30)
  • D
    3% (1)

Explanation

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-

Topics

#CloudFormation stack policy#resource protection#deployment governance#accidental change prevention

Community Discussion

No community discussion yet for this question.

Full SOA-C02 Practice