
Answer-first summary for fast verification
Answer: Set the value of the OnFailure parameter to DO_NOTHING during stack creation.
In AWS CloudFormation, configuring the `OnFailure` parameter to `DO_NOTHING` pauses the stack creation upon a failure without rolling back the resources that have already been successfully created. This preserves the state for troubleshooting.
Author: Ritesh Yadav
Ultimate access to all questions.
Question #8
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?
A
Set the value of the DisableRollback parameter to False during stack creation.
B
Set the value of the OnFailure parameter to DO_NOTHING during stack creation.
C
Specify a rollback configuration that has a rollback trigger of DO_NOTHING during stack creation.
D
Set the value of the OnFailure parameter to ROLLBACK during stack creation.
No comments yet.