A service-managed StackSet automatically deploys to an organizational unit. Accounts leaving that OU must keep their stacks intact, but those stacks must stop receiving StackSet updates; which configuration meets this requirement?
Show the answer
Correct answerC. Enable automatic deployment with RetainStacksOnAccountRemoval set to true.
AWhy not this: DeletionPolicy controls individual resource retention, not retention of intact stacks when accounts leave a targeted OU.
BWhy not this: Disabling automatic deployment does not provide the required automatic removal from StackSet management when accounts leave the OU.
CWhy this is right: The stacks remain in the departing accounts but are no longer managed or updated by the StackSet.
DWhy not this: This setting deletes the stacks when accounts leave the targeted OU rather than preserving them.
RetainStacksOnAccountRemoval preserves stacks when accounts leave the target OU and removes them from StackSet management. DeletionPolicy: Retain preserves specified resources during stack deletion, not the intact stacks and their removal from StackSet management.