Topic 1 Question 390
A developer manages a website that distributes its content by using Amazon CloudFront. The website's static artifacts are stored in an Amazon S3 bucket.
The developer deploys some changes and can see the new artifacts in the S3 bucket. However, the changes do not appear on the webpage that the CloudFront distribution delivers.
How should the developer resolve this issue?
Configure S3 Object Lock to update to the latest version of the files every time an S3 object is updated.
Configure the S3 bucket to clear all old objects from the bucket before new artifacts are uploaded.
Set CloudFront to invalidate the cache after the artifacts have been deployed to Amazon S3.
Set CloudFront to modify the distribution origin after the artifacts have been deployed to Amazon S3.
ユーザの投票
コメント(4)
- 正解だと思う選択肢: C
By invalidating the CloudFront cache, you ensure that the latest artifacts in your S3 bucket are delivered to users, resolving the issue of outdated content being displayed.
👍 2rdiaz2024/07/12 C. Set CloudFront to invalidate the cache after the artifacts have been deployed to Amazon S3.
👍 2komorebi2024/07/12- 正解だと思う選択肢: C
aws cloudfront create-invalidation --distribution-id EXAMPLE_DIST_ID --paths "/*"
👍 2albert_kuo2024/07/27
シャッフルモード