Deployment, Provisioning, and Automation

A service-managed StackSet targets an organizational unit and must deploy automatically to new member accounts. When an account leaves the OU, its deployed resources must remain but no longer be managed by the StackSet; which configuration meets these requirements?

Show the answer

Correct answerD. Enable automatic deployment and retain stacks on account removal.

AWhy not this: Termination protection does not enable deployment to new accounts or configure StackSet account-removal behavior.

BWhy not this: Disabling automatic deployment prevents new OU accounts from receiving stacks automatically.

CWhy not this: Deleting stacks on removal does not preserve the deployed resources.

DWhy this is right: Automatic deployment handles new accounts, and retention preserves stacks outside StackSet management when accounts leave.

Automatic deployment provisions stack instances for accounts added to the targeted OU. Retaining stacks on account removal preserves their resources while removing them from StackSet management; deleting stacks would remove the resources.