Which combination of actions should the DevOps engineer perform so that the stack rollback can complete successfully?
(Choose two.)
Attach the AWSCIoudFormationFullAccess IAM policy to the AWS CloudFormation role.
Automatically recover the stack resources by using AWS CloudFormation drift detection.
Issue a ContinueUpdateRollback command from the AWS CloudFormation console or the AWS CLI.
Manually adjust the resources to match the expectations of the stack.
Update the existing AWS CloudFormation stack by using the original template.
Explanations:
Attaching theAWSCLOUDFormationFullAccessIAM policy to the role does not address the state of the stack or its resources directly. This action relates to permissions rather than resolving the rollback issue itself.
AWS CloudFormation drift detection is used to identify whether the actual configuration of stack resources differs from their expected configuration in the CloudFormation template. It does not automatically recover resources or facilitate a rollback.
Issuing aContinueUpdateRollbackcommand allows the DevOps engineer to instruct CloudFormation to proceed with the rollback process, helping to resolve theUPDATE_ROLLBACK_FAILEDstate. This command is specifically designed to continue a rollback that was interrupted due to an error.
Manually adjusting the resources to match the expectations of the stack can resolve inconsistencies that caused the rollback failure, thereby allowing the stack to enter a stable state and complete the rollback successfully.
Updating the stack with the original template may not resolve theUPDATE_ROLLBACK_FAILEDstate directly and could lead to further complications if there are still underlying issues with resource configurations. This action does not inherently facilitate the rollback process.