QuestionQ14

Reliability and Business Continuity

A CloudOps engineer used AWS CloudFormation to deploy a serverless application in a production VPC. The application includes an AWS Lambda function, an Amazon DynamoDB table, and an Amazon API Gateway API. The CloudOps engineer needs to delete the AWS CloudFormation stack while retaining the DynamoDB table.

Which action should the CloudOps engineer perform before deleting the AWS CloudFormation stack?

Explanation

A DeletionPolicy of Retain on the DynamoDB resource causes AWS CloudFormation to keep the physical table and its contents when the stack is deleted. The retained table is removed from CloudFormation management and continues to exist independently of the deleted stack.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!