SAP-C02 Continuous Improvement for Existing Solutions Practice Question
A DevOps engineer notices that a CloudFormation stack update fails with the error: 'UPDATE_ROLLBACK_FAILED'. The stack is in a state where some resources were updated, but others failed to update. The engineer needs to fix the stack and complete the update. What should the engineer do FIRST?
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
✓
Manually correct the resources that are preventing rollback, then use 'ContinueUpdateRollback'
When a stack update fails and rollback fails, you must manually fix the resources that prevent rollback (e.g., delete a resource that is stuck) and then continue the rollback. Option A is wrong because you cannot update a stack in UPDATE_ROLLBACK_FAILED state without first completing the rollback. Option C is wrong because you cannot add resources while in failure state. Option D is wrong because you cannot delete the stack without first fixing the rollback.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Add a new resource to the stack to force a new update
Why it's wrong here
The stack is in a failed state; cannot add resources.
- ✓
Manually correct the resources that are preventing rollback, then use 'ContinueUpdateRollback'
Why this is correct
This is the standard procedure to recover from rollback failure.
- ✗
Submit another stack update with the original template to overwrite the changes
Why it's wrong here
You cannot update a stack in UPDATE_ROLLBACK_FAILED state.
- ✗
Delete the stack and recreate it with the same template
Why it's wrong here
Deletion may also fail due to the same issues; better to fix rollback first.
Go deeper
Related to this question
About these practice questions
This SAP-C02 question is part of Courseiva's 1,660-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 →
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.