SOA-C02 · Question #158
A SysOps administrator has used AWS CloudFormation to deploy a serverless application into a production VPC. The application consists of an AWS Lambda function, an Amazon DynamoDB table, and an…
The correct answer is A. Add a Retain deletion policy to the DynamoDB resource in the AWS CloudFormation stack. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute- deletionpolicy.html
Question
A SysOps administrator has used AWS CloudFormation to deploy a serverless application into a production VPC. The application consists of an AWS Lambda function, an Amazon DynamoDB table, and an Amazon API Gateway API. The SysOps administrator must delete the AWS CloudFormation stack without deleting the DynamoDB table. Which action should the SysOps administrator take before deleting the AWS CloudFormation stack?
Options
- AAdd a Retain deletion policy to the DynamoDB resource in the AWS CloudFormation stack.
- BAdd a Snapshot deletion policy to the DynamoDB resource in the AWS CloudFormation stack.
- CEnable termination protection on the AWS CloudFormation stack.
- DUpdate the application's IAM policy with a Deny statement for the dynamodb:DeleteTable action.
How the community answered
(44 responses)- A84% (37)
- B5% (2)
- C9% (4)
- D2% (1)
Explanation
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute- deletionpolicy.html
Topics
Community Discussion
No community discussion yet for this question.