ExamQuestions.com

Register
Login
AWS Certified Solutions Architect Associate Exam Questions

Amazon

AWS Certified Solutions Architect Associate

512 / 690

Question 512:

A CloudFront distribution delivers the web content of an application. Some static files are cached in the CloudFront distribution, and the TTL is set to 1 day. You upgrade the origin server, and a configuration JSON file is updated. However, when users access the website, the old file cached in CloudFront is returned, and some services are impacted. How would you resolve this problem?

Answer options:

A.Wait for a day and the file will be updated automatically.
B.Invalidate the object in CloudFront so that the object is removed from the CloudFront edge cache.
C.Modify the default TTL to be 0 in the CloudFront cache setting.
D.Upgrade the origin application again and add a cache-control header to inform CloudFront to remove the JSON file from its cache.