Courseiva

SOA-C02 Deployment, Provisioning, and Automation Practice Question

A development team uses AWS CloudFormation to deploy infrastructure. They want to update a stack but first need to review how the changes will impact existing resources before applying them. Which CloudFormation feature should they use?

⚠ Common exam trap

Many exam-takers confuse stack policies (which guard resources during updates) with change sets (which preview changes), or assume condition functions or custom resources can simulate change impact, but only change sets provide a declarative diff before execution.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Change sets

Change sets allow you to preview how proposed changes to a CloudFormation stack will affect your running resources before you apply them. They generate a summary of the changes (additions, modifications, deletions) based on the new template and parameters, enabling you to assess impact such as resource replacement or updates without executing the changes. This directly addresses the team's requirement to review changes before applying them.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    Change sets

    Why this is correct

    Change sets in AWS CloudFormation let you create a summary of proposed modifications to a stack without applying them. They provide a preview of exactly which resources will be added, modified, or removed, and indicate whether a change will cause replacement or simple updates. This review capability is especially valuable for production stacks, as it lets you catch unintended destructive actions before they execute.

  • ✗

    Stack policies

    Why it's wrong here

    Stack policies are JSON documents attached to a stack that define which resources can be updated or deleted. They act as a safety guardrail to block accidental changes, but they do not show what changes are planned or provide any preview functionality. A stack policy cannot help the team review the impact of a proposed template change, only prevent specific operations from occurring.

  • ✗

    Condition functions

    Why it's wrong here

    Condition functions, such as Fn::If and AWS::CloudFormation::Condition, control whether a resource or property is created based on runtime parameter values. They determine the final template structure during deployment, but they do not generate a diff or preview of the resulting stack changes. Conditions simply influence what gets deployed, not how you review the deployment beforehand.

  • ✗

    Custom resources

    Why it's wrong here

    Custom resources enable you to handle provisioning of non-AWS or custom logical resources by invoking a Lambda function or SNS topic during stack operations. They extend CloudFormation's capabilities to manage external services, but they have no inherent ability to show a preview of changes. The customization occurs at deployment time, not as a review mechanism for stack updates.

About these practice questions

This SOA-C02 question is part of Courseiva's 1,169-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SOA-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SOA-C02 exam.