Configuration Management and IaC

A service-managed stack set automatically deploys logging resources to accounts in an organizational unit. The resources must remain when an account leaves that organizational unit. Which automatic deployment setting should the engineer configure?

Show the answer

Correct answerD. Enable Retain stacks on account removal

AWhy not this: Disabling automatic deployments prevents automatic deployment to new accounts instead of configuring stack retention on removal.

BWhy not this: Drift detection identifies configuration differences; it does not control what happens when an account leaves an organizational unit.

CWhy not this: Managed execution schedules nonconflicting stack set operations; it does not configure retention on account removal.

DWhy this is right: This setting preserves stacks and their resources when accounts leave the targeted organizational unit.

Retain stacks on account removal preserves the deployed stacks when accounts leave a targeted organizational unit. Disabling automatic deployments also prevents automatic deployment to new accounts and does not express the required removal behavior.