SAP-C02 Continuous Improvement for Existing Solutions Practice Question
A company uses AWS CloudFormation to manage its infrastructure. The operations team reports that stack updates often fail because of resource conflicts. The team wants to improve the reliability of updates without manual intervention. Which solution provides the MOST automated recovery from update failures?
⚠ Common exam trap
The trap here is that candidates may overthink the solution and choose a custom Lambda function (Option B) thinking it provides more control, when in fact CloudFormation's native rollback is the most automated and reliable approach, and custom solutions often introduce additional failure points.
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
✓
Use the default CloudFormation rollback behavior that automatically reverts changes on failure.
CloudFormation's built-in rollback behavior automatically reverts all changes made during a failed stack update, restoring the stack to its last known stable state without requiring any custom code or manual intervention. This provides the most automated recovery mechanism as it is natively integrated into the CloudFormation service and requires no additional infrastructure or scripting.
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 CloudFormation change sets to review and approve all changes before update.
Why it's wrong here
Change sets require manual approval, not automated recovery.
- ✗
Write a custom AWS Lambda function that reverts changes when a stack update fails.
Why it's wrong here
This adds unnecessary complexity; CloudFormation already provides automatic rollback.
- ✗
Apply a stack policy to prevent updates to critical resources.
Why it's wrong here
Stack policies prevent updates but do not auto-recover failures.
- ✓
Use the default CloudFormation rollback behavior that automatically reverts changes on failure.
Why this is correct
CloudFormation automatically rolls back failed stack updates by default.
Go deeper
Related to this question
About these practice questions
Courseiva writes every SAP-C02 question from scratch — 1,660 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SAP-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 SAP-C02 exam.