Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon SOA-C03 Exam - Topic 1 Question 18 Discussion

Posted by Marge on Jul 16, 2026 at 08:47 PM

A CloudOps engineer is troubleshooting an AWS CloudFormation stack creation that failed. Before the CloudOps engineer can identify the problem, the stack and its resources are deleted. For future deployments, the CloudOps engineer must preserve any resources that CloudFormation successfully created.

What should the CloudOps engineer do to meet this requirement?

Suggested Answer: B

By default, when AWS CloudFormation encounters a failure during stack creation, it automatically rolls back and deletes any resources that were successfully created. This behavior makes troubleshooting difficult because the failed and partially created resources are no longer available for inspection.

CloudFormation provides the OnFailure parameter to control this behavior. Setting the parameter to DO_NOTHING instructs CloudFormation to stop stack creation when a failure occurs and retain all successfully created resources. This allows the CloudOps engineer to inspect the environment, review logs, and identify the root cause without redeploying resources.

The DisableRollback parameter controls rollback behavior but does not provide the same explicit behavior control during failure scenarios. Rollback triggers are used for monitoring-based rollback, not for preserving resources on failure. Setting OnFailure to ROLLBACK explicitly enforces deletion, which is the opposite of the requirement.

Therefore, setting the OnFailure parameter to DO_NOTHING is the correct solution.


Get Premium SOA-C03 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
12 comments · newest first
CO
Corinne 1 month ago
But C could also work. It specifies a trigger to not rollback.
YO
Yolande 1 month ago
I agree, B makes sense. Keeps resources intact.
LI
Lizette 1 month ago
I think option B is the best. It prevents rollback.
ME
Merissa 2 months ago
Isn't it risky to keep resources if the stack fails?
HA
Hannah 2 months ago
Definitely need to set OnFailure to DO_NOTHING!
NO
Nobuko 2 months ago
Wait, I thought rollback was automatic?
CO
Colton 2 months ago
I disagree, C seems more effective for preserving resources.
CA
Caren 2 months ago
Option B is the way to go!
RO
Roslyn 2 months ago
I remember reading that setting OnFailure to ROLLBACK would delete everything, so that can't be the answer. It must be something else!
NI
Nicolette 3 months ago
I practiced a similar question, and I think specifying a rollback configuration could be key. But I'm not confident about the exact syntax.
FL
Florinda 3 months ago
I'm not entirely sure, but I feel like the DisableRollback parameter being set to False might not help us preserve resources.
AN
Anabel 3 months ago
I think I remember that the OnFailure parameter can control what happens when a stack creation fails. Maybe DO_NOTHING is the right choice to keep resources?
0/2000 characters

Save Cancel