ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 7 - DVA-C02 discussion

Report
Export

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 dat a. The team needs to avoid accidental database deletion in the future.

Which solutions will meet these requirements? (Choose two.)

A.
Add a CloudFormation Deletion Policy attribute with the Retain value to the database resource.
Answers
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.
Answers
B.
Update the CloudFormation stack policy to prevent updates to the database.
C.
Modify the database to use a Multi-AZ deployment.
Answers
C.
Modify the database to use a Multi-AZ deployment.
D.
Create a CloudFormation stack set for the web application and database deployments.
Answers
D.
Create a CloudFormation stack set for the web application and database deployments.
E.
Add a Cloud Formation DeletionPolicy attribute with the Retain value to the stack.
Answers
E.
Add a Cloud Formation DeletionPolicy attribute with the Retain value to the stack.
Suggested answer: A, B

Explanation:

AWS CloudFormation is a service that enables developers to model and provision AWS resources using templates. The developer can add a CloudFormation Deletion Policy attribute with the Retain value to the database resource. This will prevent the database from being deleted when the stack is deleted or updated. The developer can also update the CloudFormation stack policy to prevent updates to the database. This will prevent accidental changes to the database configuration or properties.

Reference:

[What Is AWS CloudFormation? - AWS CloudFormation]

[DeletionPolicy Attribute - AWS CloudFormation]

[Protecting Resources During Stack Updates - AWS CloudFormation]

asked 16/09/2024
Robert Smith
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first