A production CloudFormation stack has a stack policy that denies updates to its database resource. An approved release must modify that resource while preserving the existing protection for subsequent updates. Which approach best meets this requirement?
Show the answer
Correct answerC. Supply a temporary stack policy override for the approved update.
AWhy not this: Termination protection prevents stack deletion; it does not override stack policy restrictions on updates.
BWhy not this: Removing the policy leaves subsequent updates unprotected unless a separate action restores it.
CWhy this is right: An update-specific override permits the approved change while retaining the permanent stack policy afterward.
DWhy not this: UpdateReplacePolicy controls retention of replaced resources, not permission to update protected resources.
A temporary stack policy override permits the approved update without replacing the stack's permanent policy. Removing the policy also removes protection for subsequent updates unless it is restored.