nerdexam
Amazon

DVA-C02 · Question #12

A development team maintains a web application by using a single AWS CloudFormation template. The template defines web servers and an Amazon RDS database. The team uses the Cloud Formation template…

The correct answer is A. Add a CloudFormation Deletion Policy attribute with the Retain value to the database resource. B. Update the CloudFormation stack policy to prevent updates to the database. https://aws.amazon.com/ru/premiumsupport/knowledge-center/cloudformation-accidental-

Submitted by rania.sa· Mar 5, 2026Deployment

Question

A development team maintains a web application by using a single AWS CloudFormation template. The template defines web servers and an Amazon RDS database. The team uses the Cloud Formation template to deploy the Cloud Formation stack to different environments. During a recent application deployment, a developer caused the primary development database to be dropped and recreated. The result of this incident was a loss of data. The team needs to avoid accidental database deletion in the future. Which solutions will meet these requirements? (Choose two.)

Options

  • AAdd a CloudFormation Deletion Policy attribute with the Retain value to the database resource.
  • BUpdate the CloudFormation stack policy to prevent updates to the database.
  • CModify the database to use a Multi-AZ deployment.
  • DCreate a CloudFormation stack set for the web application and database deployments.
  • EAdd a Cloud Formation DeletionPolicy attribute with the Retain value to the stack.

How the community answered

(21 responses)
  • A
    81% (17)
  • C
    5% (1)
  • D
    5% (1)
  • E
    10% (2)

Explanation

https://aws.amazon.com/ru/premiumsupport/knowledge-center/cloudformation-accidental-

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice