Courseiva
Question 21 of 247
Deployment, Provisioning, and AutomationeasyMultiple ChoiceObjective-mapped

SOA-C02 Deployment, Provisioning, and Automation Practice Question

A SysOps administrator maintains an AWS CloudFormation stack that deploys an Amazon EC2 instance. The administrator needs to change the instance type from t2.micro to t3.micro. The administrator wants to review the proposed changes before applying them to ensure no unexpected resource replacement occurs. Which CloudFormation feature should the administrator use?

⚠ Common exam trap

Watch out — candidates often confuse change sets with drift detection or template validation, not realizing that change sets are specifically designed to preview the impact of stack updates 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

Create a change set from the updated template, review the changes, and then execute the change set.

A change set allows the administrator to review the proposed modifications (including whether any resource replacement will occur) before applying them. By creating a change set from the updated template, the administrator can inspect the list of changes, such as the instance type update, and confirm that no unexpected resource replacement (e.g., a new EC2 instance being created) will happen. Only after reviewing the change set can the administrator safely execute it to apply the changes.

Answer analysis

Option-by-option breakdown

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

  • Use the AWS CloudFormation console to directly update the stack with the new instance type and monitor the events.

    Why it's wrong here

    Directly updating the stack applies the new instance type immediately, with no prior summary of the exact resource-level actions CloudFormation will take. For an EC2 instance, a change to the instance type can trigger a replacement rather than an in-place update, causing potential downtime and loss of the original instance's physical ID. You can monitor events after the fact, but by then the change is already being applied, and you lose the chance to abort or revise before any disruption occurs.

  • Create a change set from the updated template, review the changes, and then execute the change set.

    Why this is correct

    A change set is generated from an updated template against the current stack, providing a detailed, resource-by-resource summary of whether CloudFormation will add, modify, or replace resources. Because changing an EC2 instance type typically requires replacement, the change set would explicitly flag a "Replace" action, letting the administrator assess the impact and even cancel before executing. Only after reviewing and confirming the change set is it executed, and the execution applies the exact changes that were previewed.

  • Use the AWS CloudFormation drift detection feature to check for differences between the stack and the template.

    Why it's wrong here

    Drift detection compares the actual live configuration of existing stack resources against the expected configuration defined in the current template, which is the opposite of what you need here. It reveals if someone manually modified infrastructure outside CloudFormation, not what a proposed template update would do. Since you haven't yet changed the template, drift detection would only report the current stack's compliance status and cannot preview whether an instance type change would cause replacement or downtime.

  • Modify the CloudFormation template locally and use the AWS CLI to validate it with 'aws cloudformation validate-template'.

    Why it's wrong here

    The validate-template command only performs a syntactic and structural validation of the template body, checking CloudFormation grammar, resource names, and some parameter constraints. It does not compare the template against the live stack, so it cannot indicate whether the instance type change would require replacing the EC2 instance or how the update would affect the existing infrastructure. Even a perfectly valid template can still cause an unwanted resource replacement, and validation alone gives no insight into those execution-level consequences.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.