CloudFront is serving an old CSS object from an edge location.
Make the updated file available without waiting for the normal cache lifetime.
Which operation is most appropriate?
Submit a CloudFront invalidation for the updated object path.
Detailed explanation
CloudTrail audits API calls and does not manage CloudFront edge caches.
CloudTrail audits API calls and does not manage CloudFront edge caches.
DNS TTL does not remove an object that is already cached by CloudFront.
DNS TTL does not remove an object that is already cached by CloudFront.
Invalidation removes the selected object from edge caches so the next request retrieves the new version.
Invalidation removes the selected object from edge caches so the next request retrieves the new version.
Creating an S3 object version does not invalidate an existing CloudFront cache entry.
Creating an S3 object version does not invalidate an existing CloudFront cache entry.
Check official documentation
Compare the following points with the official documentation.
CloudFront invalidation pathsの公式説明を確認する。
What to confirm
DNS TTL、S3 Versioning、CloudFront invalidationの違いを説明できる。
Key points
- CloudFront invalidation
- Edge cache
- Object path
Notes
- Environment: AWS公式SOA-C03試験ガイドとAWS公式ドキュメントの確認
- Confirm current AWS service behavior in the official documentation.
Foundation review
Cache lifetime
A TTL controls normal expiry; invalidation provides an earlier, explicit removal.
Origin version
Changing an origin object does not necessarily evict an already cached edge object.