DVA-C02 Exam QuestionsBrowse all questions from this exam

DVA-C02 Exam - Question 400


A company uses AWS CloudFormation templates to manage infrastructure for a public-facing application in its development, pre-production, and production environments. The company needs to scale for increasing customer demand. A developer must upgrade the Amazon RDS DB instance type to a larger instance.

The developer deploys an update to the CloudFormation stack with the instance size change in the pre-production environment. The developer notices that the stack is in an UPDATE_ROLLBACK_FAILED slate in CloudFormation.

Which option is the cause of this issue?

Show Answer
Correct Answer: B

The issue arises because the database was deleted or modified manually outside of the CloudFormation stack. When CloudFormation encounters an issue during the stack update process, it attempts to roll back to the previous state. If resources have been modified or deleted outside of CloudFormation, the rollback process can fail, resulting in the UPDATE_ROLLBACK_FAILED state.

Discussion

2 comments
Sign in to comment
AlabiOption: B
Jun 28, 2024

When CloudFormation encounters an issue during the stack update process, it attempts to roll back to the previous state. If resources have been modified or deleted outside of CloudFormation, the rollback process can fail, resulting in the UPDATE_ROLLBACK_FAILED state.

Anandesh
Jul 2, 2024

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html