Q66 — AWS SOA-C02 Ch.1

Question 66 of 100 | ← Chapter 1

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?

Correct Answer: A. Create a CloudFront invalidation, and add the path of the updated files.

Explanation

CloudFront默认会缓存来自源站的内容,直到缓存过期时间(TTL)或手动使缓存失效。当S3对象更新而名称不变时,若未触发缓存刷新,用户可能继续看到旧版本。Amazon CloudFront开发者指南指出,通过创建无效化请求可以强制清除指定路径的缓存,确保下次请求直接回源获取最新对象。选项B的签名URL用于访问控制,与缓存无关;选项C的OAI用于限制S3访问权限,并非解决缓存问题的手段;选项D禁用版本控制会导致旧版本无法保留,反而可能引发数据管理问题。