exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 127 discussion

A company updated the AWS CloudFormation template for a critical business application. The stack update process failed due to an error in the updated template, and AWS CloudFormation automatically began the stack rollback process. Later, a DevOps engineer discovered that the application was still unavailable and that the stack was in the UPDATE_ROLLBACK_FAILED state.

Which combination of actions should the DevOps engineer perform so that the stack rollback can complete successfully? (Choose two.)

  • A. Attach the AWSCloudFormationFullAccess IAM policy to the AWS CloudFormation role.
  • B. Automatically recover the stack resources by using AWS CloudFormation drift detection.
  • C. Issue a ContinueUpdateRollback command from the AWS CloudFormation console or the AWS CLI.
  • D. Manually adjust the resources to match the expectations of the stack.
  • E. Update the existing AWS CloudFormation stack by using the original template.
Show Suggested Answer Hide Answer
Suggested Answer: CD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
2pk
Highly Voted 2 years ago
yes C & D C. Issue a ContinueUpdateRollback command from the AWS CloudFormation console or the AWS CLI: This command allows CloudFormation to continue the rollback process from the point where it was paused. By using this command, CloudFormation will attempt to restore the resources to their previous state and delete any resources that were created during the update. D. Manually adjust the resources to match the expectations of the stack: This involves identifying and correcting the root cause of the update failure, which could involve changing the resource configuration or resolving any dependencies or inconsistencies in the stack.
upvoted 10 times
...
heff_bezos
Most Recent 8 months ago
Selected Answer: CD
D. "In most cases, you must fix the error that causes the update rollback to fail before you can continue to roll back your stack. In other cases, you can continue to roll back the update without any changes, for example when a stack operation times out." https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html
upvoted 2 times
...
thanhnv142
1 year, 3 months ago
C and D are correct: < UPDATE_ROLLBACK_FAILED state> means we are left with ContinueUpdateRollback command A: irrelevant, AWSCloudFormationFullAccess IAM policy is used to access ACF, not to fix this B: AWS CloudFormation drift detection is to check if the stack has been updated unexpectedly, not to fix irrelevant E: The original template didnt work, so update the stack using it wont work
upvoted 3 times
...
yuliaqwerty
1 year, 4 months ago
Selected Answer: CD
Agree with C and D
upvoted 2 times
...
sarlos
1 year, 4 months ago
C and D are right
upvoted 1 times
...
Certified101
1 year, 10 months ago
Selected Answer: CD
Yes it's C & D
upvoted 3 times
...
tartarus23
1 year, 11 months ago
Selected Answer: CD
(C) This command will try to roll back the stack to the previously working state after you have resolved the issues that caused the rollback failure. (D) Sometimes a stack update can fail because the current state of a resource differs from the state expected by AWS CloudFormation (e.g., a resource that AWS CloudFormation is trying to modify or delete is locked by another process). Manually resolving these issues, by stopping the conflicting process or by modifying the resource to match the expected state, will allow the stack update or rollback to proceed.
upvoted 4 times
...
devnv
2 years ago
Yes it's C & D
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...