SAA-C03 Exam QuestionsBrowse all questions from this exam

SAA-C03 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?

Show Answer
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

11 comments
Sign in to comment
fulingyu288Option: C
Feb 17, 2023

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
Aug 15, 2023

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
Dec 19, 2023

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
Feb 17, 2023

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.

NeoremOption: C
Feb 17, 2023

We need to create an Cloudfront invalidation

riccardotoOption: C
Aug 7, 2023

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.

Namrash
Feb 19, 2023

B should be the right one

kruasanOption: B
Apr 29, 2023

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
May 23, 2023

Isn't that C?

Guru4CloudOption: C
Sep 6, 2023

C. Invalidate the CloudFront cache

TariqKipkemeiOption: C
Oct 2, 2023

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

ChymKuBoyOption: C
Jul 13, 2024

C for sure