nerdexam
Amazon

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

Submitted by mateo_ar· Mar 30, 2026Deployment, Provisioning, and Automation

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)
  • A
    84% (37)
  • B
    5% (2)
  • C
    9% (4)
  • D
    2% (1)

Explanation

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute- deletionpolicy.html

Topics

#CloudFormation deletion policy#Retain policy#DynamoDB preservation#stack lifecycle

Community Discussion

No community discussion yet for this question.

Full SOA-C02 Practice