Exam SAA-C03 All QuestionsBrowse all questions from this exam
Question 286

A company has a static website that is hosted on Amazon CloudFront in front of Amazon S3. The static website uses a database backend. The company notices that the website does not reflect updates that have been made in the website’s Git repository. The company checks the continuous integration and continuous delivery (CI/CD) pipeline between the Git repository and Amazon S3. The company verifies that the webhooks are configured properly and that the CI/CD pipeline is sending messages that indicate successful deployments.

A solutions architect needs to implement a solution that displays the updates on the website.

Which solution will meet these requirements?

    Correct Answer: C

    To display the updates on the website, the solution is to invalidate the CloudFront cache. When updates are made to the website's Git repository and deployed to Amazon S3, the CloudFront cache may still serve the old cached content to users. By invalidating the CloudFront cache, you instruct CloudFront to fetch fresh content from the origin (Amazon S3) and serve it to users, ensuring that the latest version of the website is displayed.

Discussion
fulingyu288Option: C

Invalidate the CloudFront cache: The solutions architect should invalidate the CloudFront cache to ensure that the latest version of the website is being served to users.

Damdom

C. Invalidate the CloudFront cache. Explanation: Invalidate the CloudFront cache to ensure that the latest updates from the Git repository are reflected on the static website. When updates are made to the website's Git repository and deployed to Amazon S3, the CloudFront cache may still be serving the old cached content to users. By invalidating the CloudFront cache, you're instructing CloudFront to fetch fresh content from the origin (Amazon S3) and serve it to users.

jayantp04

Correct C, because Invalidating the CloudFront cache will force CloudFront to fetch the latest content from Amazon S3. Not B because not related to clear cache

BhaweshOption: C

C. Invalidate the CloudFront cache. Problem is the CF cache. After invalidating the CloudFront cache, CF will be forces to read the updated static page from the S3 and the S3 changes will start being visible.

riccardotoOption: C

C is the most reasonable cause, though the question is not well-written - "The static website uses a database backend." does not make a lot of sense to me.

NeoremOption: C

We need to create an Cloudfront invalidation

ChymKuBoyOption: C

C for sure

TariqKipkemeiOption: C

Invalidate the CloudFront cache so that it can read the updated static page from S3.

Guru4CloudOption: C

C. Invalidate the CloudFront cache

kruasanOption: B

Since the static website is hosted behind CloudFront, updates made to the S3 bucket will not be visible on the site until the CloudFront cache expires or is invalidated. By invalidating the CloudFront cache after deploying updates, the latest version in S3 will be pulled and the updates will then appear on the live site.

RoroJ

Isn't that C?

Namrash

B should be the right one