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 95 discussion

A company uses AWS CloudFormation stacks to deploy updates to its application. The stacks consist of different resources. The resources include AWS Auto Scaling groups, Amazon EC2 instances, Application Load Balancers (ALBs), and other resources that are necessary to launch and maintain independent stacks. Changes to application resources outside of CloudFormation stack updates are not allowed.

The company recently attempted to update the application stack by using the AWS CLI. The stack failed to update and produced the following error message: “ERROR: both the deployment and the CloudFormation stack rollback failed. The deployment failed because the following resource(s) failed to update: [AutoScalingGroup].”

The stack remains in a status of UPDATE_ROLLBACK_FAILED.

Which solution will resolve this issue?

  • A. Update the subnet mappings that are configured for the ALBs. Run the aws cloudformation update-stack-set AWS CLI command.
  • B. Update the IAM role by providing the necessary permissions to update the stack. Run the aws cloudformation continue-update-rollback AWS CLI command.
  • C. Submit a request for a quota increase for the number of EC2 instances for the account. Run the aws cloudformation cancel-update-stack AWS CLI command.
  • D. Delete the Auto Scaling group resource. Run the aws cloudformation rollback-stack AWS CLI command.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Blueee
Highly Voted 1 year, 3 months ago
Selected Answer: B
https://repost.aws/knowledge-center/cloudformation-update-rollback-failed If your stack is stuck in the UPDATE_ROLLBACK_FAILED state after a failed update, then the only actions that you can perform on the stack are the ContinueUpdateRollback or DeleteStack operations. So only B has ContinueUpdateRollback
upvoted 11 times
...
zijo
Most Recent 4 months, 2 weeks ago
To update an AWS CloudFormation stack, you need an IAM role with permissions that allow you to perform the necessary actions on the resources defined in your CloudFormation template, as well as on the CloudFormation service itself. B is the answer
upvoted 1 times
...
thanhnv142
8 months, 3 weeks ago
B is correct: <UPDATE_ROLLBACK_FAILED> means we are left with only two options: continue-update-rollback or delete-stack. We should provide necessary permissions to update the stack as well A, C and D: no mention of continue-update-rollback or adding necessary permissions
upvoted 3 times
...
Dushank
1 year, 1 month ago
Selected Answer: B
They should update the IAM role by providing the necessary permissions to update the stack and then run the aws cloudformation continue-update-rollback AWS CLI command
upvoted 2 times
...
Blueee
1 year, 3 months ago
Selected Answer: B
B is correct
upvoted 3 times
...
OrganizedChaos25
1 year, 5 months ago
B is the answer I got
upvoted 3 times
...
devnv
1 year, 5 months ago
B is correct
upvoted 3 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago