SAA-C03 · Question #781
SAA-C03 Question #781: Real Exam Question with Answer & Explanation
The correct answer is B: Delete the marketing content in the existing S3 bucket. Invalidate the file path in CloudFront.. Deleting the unwanted content from the S3 bucket removes it from the origin. Invalidating the specific file paths in CloudFront immediately removes the cached copies at edge locations, ensuring that users no longer see the content as quickly as possible.
Question
A company is hosting its website on Amazon S3 and is using Amazon CloudFront to cache content. The company has an upcoming product launch. An employee accidentally published marketing content to the website before the official release of the product. The company needs to remove the marketing content from the website as quickly as possible. Which solution will meet these requirements?
Options
- ADeploy the updated version of the website to another S3 bucket. Update the origin for CloudFront.
- BDelete the marketing content in the existing S3 bucket. Invalidate the file path in CloudFront.
- CCreate a new CloudFront cache policy with a low TTL. Associate the new policy with the existing
- DDelete the marketing content in the existing S3 bucket. Update the S3 bucket policy to block
Explanation
Deleting the unwanted content from the S3 bucket removes it from the origin. Invalidating the specific file paths in CloudFront immediately removes the cached copies at edge locations, ensuring that users no longer see the content as quickly as possible.
Community Discussion
No community discussion yet for this question.