A company uploaded its website files to an Amazon S3 bucket that has S3 Versioning enabled. The company uses an Amazon CloudFront distribution with the S3 bucket as the origin. The company recently modified the files, but the object names remained the same. Users report that old content is still appearing on the website. How should a SysOps administrator remediate this issue?
- ACreate a CloudFront invalidation, and add the path of the updated files. (correct answer)
- BCreate a CloudFront signed URL to update each object immediately.
- CConfigure an S3 origin access identity (OAI) to display only the updated files to users.
- DDisable S3 Versioning on the S3 bucket so that the updated files can replace the old files.
Reveal answer & explanationHide answer
The correct answer is A. Option A: Create a CloudFront invalidation, and add the path of the updated files.
Explanation
Amazon CloudFront caches content at edge locations to reduce latency and offload origins.