Amazon

SOA-C03 practice question 8

AWS Certified CloudOps Engineer - Associate (SOA-C03) · free question 8 of 20

Question

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. Correct
  • 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.

Explanation

According to AWS documentation, setting the OnFailure parameter to DO_NOTHING during CloudFormation stack creation will prevent CloudFormation from deleting the stack and its resources if stack creation fails. This allows the CloudOps engineer to preserve any successfully created resources for troubleshooting or future use.

Need the theory? Learn it free in the SOA-C03 course on Godlike Academy

Practice the whole free set

Answer all 20 free SOA-C03 questions with instant feedback, or unlock all 129 questions with Learn and Exam modes.