Question 279:
You have deployed a set of web servers in VPC along with an Amazon S3 bucket using AWS CloudFormation. Critical Project documents are uploaded in the S3 bucket. A new version for a web application is released & this needs to apply to this Stack using the AWS CloudFormation template. You need to ensure all critical Documents in the existing S3 bucket are intact while AWS CloudFormation creates a replacement resource & delete old resources. Which of the following can be used to meet this requirement?
Answer options:
A.Use UpdateReplacePolicy as Snapshot with Resource Attribute in AWS CloudFormation. B.Use DeletionPolicy as Snapshot with Resource Attribute in AWS CloudFormation. C.Use DeletionPolicy as Retain with Resource Attribute in AWS CloudFormation. D.Use UpdateReplacePolicy as Retain with Resource Attribute in AWS CloudFormation.