
Answer-first summary for fast verification
Answer: Set the value of the OnFailure parameter to DO_NOTHING during stack creation
In CloudFormation, the OnFailure parameter set to DO_NOTHING will leave successfully created resources in place if stack creation fails, allowing troubleshooting. Default is ROLLBACK which deletes them. DisableRollback is for updates.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A SysOps administrator is troubleshooting an AWS CloudFormation stack creation that failed. Before the SysOps administrator can identify the problem, the stack and its resources are deleted. For future deployments, the SysOps administrator must preserve any resources that CloudFormation successfully created. What should the SysOps administrator 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.