SOA-C03 · Question #58
SOA-C03 Question #58: Real Exam Question with Answer & Explanation
The correct answer is D: Create a CloudFront invalidation.. The AWS Cloud Operations and Content Delivery documentation explains that Amazon CloudFront caches objects in edge locations for a defined time based on TTL settings or origin headers. When new content is deployed to the S3 origin, previously cached versions remain in edge caches
Question
A company hosts a static website in Amazon S3 behind an Amazon CloudFront distribution. When new versions are deployed, users sometimes do not see updated content immediately. Which solution will meet this requirement?
Options
- AConfigure the CloudFront distribution to add a custom Cache-Control header to requests for
- BModify the distribution settings to specify the protocol as HTTPS only.
- Cdo not directly refresh outdated cache content.
- DCreate a CloudFront invalidation.
Explanation
The AWS Cloud Operations and Content Delivery documentation explains that Amazon CloudFront caches objects in edge locations for a defined time based on TTL settings or origin headers. When new content is deployed to the S3 origin, previously cached versions remain in edge caches until they expire. To immediately serve the new version, CloudOps engineers must initiate a CloudFront invalidation, which removes cached objects from all edge locations. This forces CloudFront to fetch the latest version from the origin (S3). Invalidations can target individual objects (e.g., /index.html) or wildcard paths (e.g., /*) and are the AWS-recommended approach for dynamic content refresh after static site updates. Changing headers (Option A), enforcing HTTPS (Option B), or applying caching policies (Option Thus, Option D -- issuing a CloudFront invalidation -- ensures users receive the latest website content immediately after deployment.
Community Discussion
No community discussion yet for this question.