nerdexam
Amazon

DVA-C02 · Question #580

A developer is preparing to deploy an AWS CloudFormation stack for an application from a template that includes an IAM user. The developer needs to configure the application's resources to retain the

Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #580. The question stem and answer options stay visible for context.

Submitted by certguy· Mar 5, 2026Deployment

Question

A developer is preparing to deploy an AWS CloudFormation stack for an application from a template that includes an IAM user. The developer needs to configure the application's resources to retain the IAM user after successful creation. However, the developer also needs to configure the application to delete the IAM user if the stack rolls back. Which configuration will meet these requirements?

Options

  • AUpdate CloudFormation template with the following deletion policy:
  • BUpdate CloudFormation template with the following deletion policy:
  • CUpdate the CloudFormation service role to include the following policy:
  • DUpdate the stack policy to include the following statements:

Unlock DVA-C02 to see the answer

You've previewed enough free DVA-C02 questions. Unlock DVA-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full DVA-C02 Practice