ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 285 - DBS-C01 discussion

Report
Export

A company is running critical applications on AWS. Most of the application deployments use Amazon Aurora MySQL for the database stack. The company uses AWS CloudFormation to deploy the DB instances.

The company's application team recently implemented a CI/CD pipeline. A database engineer needs to integrate the database deployment CloudFormation stack with the newly built CllCD platform. Updates to the CloudFormation stack must not update existing production database resources.

Which CloudFormation stack policy action should the database engineer implement to meet these requirements?

A.
Use a Deny statement for the Update:Modify action on the production database resources.
Answers
A.
Use a Deny statement for the Update:Modify action on the production database resources.
B.
Use a Deny statement for the action on the production database resources.
Answers
B.
Use a Deny statement for the action on the production database resources.
C.
Use a Deny statement for the Update:Delete action on the production database resources.
Answers
C.
Use a Deny statement for the Update:Delete action on the production database resources.
D.
Use a Deny statement for the Update:Replace action on the production database resources.
Answers
D.
Use a Deny statement for the Update:Replace action on the production database resources.
Suggested answer: D

Explanation:

Explanation from Amazon documents:A CloudFormation stack policy is a JSON document that defines the update actions that can be performed on designated resources in a CloudFormation stack. A stack policy can be used to prevent accidental updates or deletions of stack resources, such as a production database.The Update:Replace action is an update action that replaces an existing resource with a new one during a stack update. This action can cause data loss or downtime for the resource. To prevent this action from affecting the production database resources, the database engineer should use a Deny statement for the Update:Replace action on the production database resources in the stack policy. This statement will override any Allow statements for the same action and resource, and protect the production database resources from being replaced during a stack update.Therefore, option D is the correct stack policy action to meet the requirements. Option A is incorrect because the Update:Modify action is not a valid update action for a stack policy. The valid update actions are Update:Replace, Update:Skip, and Delete. Option B is incorrect because it does not specify a valid update action for the Deny statement. Option C is incorrect because the Update:Delete action is not a valid update action for a stack policy. The valid update actions are Update:Replace, Update:Skip, and Delete.

asked 16/09/2024
Vincent Cham
31 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first