Question 253:
You have been assigned to a project to solve a resource drift problem. You have to recover a stack from not being able to reach a normal state. What statement better describes how to proceed in this scenario?
Answer options:
A.When an AWS CloudFormation stack goes into the UPDATE_ROLLBACK_FAILED state you can try to make underlying account changes outside the scope of the stack to re-synchronize the stack with the expectation and then perform a ContinueUpdateRollback action with the ResourcesToSkip request parameter to let AWS CloudFormation set the status of the specified resources to UPDATE_COMPLETE and continue to roll back the stack. Also, if when trying to delete the stack a DELETE_FAILED state is reached, you can perform a DeleteStack action with the RetainResources request parameter to delete the stack while retaining resources failed to delete. B.Protect the stack from being deleted via UpdateTerminationProtection action. Then perform a ContinueUpdateRollback action with the ResourcesToSkip request parameter to let AWS CloudFormation set the status of the specified resources to UPDATE_COMPLETE and continue to roll back the stack. A DeleteStack action with the RetainResources request parameter is no longer necessary. C.When an AWS CloudFormation stack goes into the UPDATE_ROLLBACK_FAILED state, you can try to make underlying account changes outside the scope of the stack to re-synchronize the stack with the expectation and then perform a ContinueUpdateRollback action with the ResourcesToSkip request parameter to let AWS CloudFormation set the status of the specified resources to UPDATE_COMPLETE and continue to roll back the stack. Protect the stack from being deleted via UpdateTerminationProtection action. A DeleteStack action with the RetainResources request parameter is no longer necessary. D.Protect the stack from being deleted via UpdateTerminationProtection action. Then perform a ContinueUpdateRollback action with the ResourcesToSkip request parameter to let AWS CloudFormation set the status of the specified resources to UPDATE_COMPLETE and continue to roll back the stack. Also, if when trying to delete the stack a DELETE_FAILED state is reached, you can perform a DeleteStack action with the RetainResources request parameter to delete the stack while retaining resources failed to delete.