AWS Certified SysOps Administrator – Associate — Question 28

A company hosts a static website on Amazon S3. The website is served by an Amazon CloudFront distribution with a default TTL of 86,400 seconds.
The company recently uploaded an updated version of the website to Amazon S3. However, users still see the old content when they refresh the site. A SysOps administrator must make the new version of the website visible to users as soon as possible.
Which solution meets these requirements?

Answer options

Correct answer: B

Explanation

The correct answer is B because creating an invalidation on the CloudFront distribution forces it to remove the cached old content and retrieve the updated files from S3. The other options do not address the caching issue effectively; adjusting the TTL (A) only delays future caching, creating a new distribution (C) is unnecessary and time-consuming, and updating the DNS record (D) does not change what CloudFront is serving from its cache.