exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C02 exam

Exam AWS Certified Solutions Architect - Associate SAA-C02 topic 1 question 42 discussion

A company hosts a static website on-premises and wants to migrate the website to AWS. The website should load as quickly as possible for users around the world. The company also wants the most cost-effective solution.
What should a solutions architect do to accomplish this?

  • A. Copy the website content to an Amazon S3 bucket. Configure the bucket to serve static webpage content. Replicate the S3 bucket to multiple AWS Regions.
  • B. Copy the website content to an Amazon S3 bucket. Configure the bucket to serve static webpage content. Configure Amazon CloudFront with the S3 bucket as the origin.
  • C. Copy the website content to an Amazon EBS-backed Amazon EC2 instance running Apache HTTP Server. Configure Amazon Route 53 geolocation routing policies to select the closest origin.
  • D. Copy the website content to multiple Amazon EBS-backed Amazon EC2 instances running Apache HTTP Server in multiple AWS Regions. Configure Amazon CloudFront geolocation routing policies to select the closest origin.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
What Is Amazon CloudFront?
Amazon CloudFront is a web service that speeds up distribution of your static and dynamic web content, such as .html, .css, .js, and image files, to your users.
CloudFront delivers your content through a worldwide network of data centers called edge locations. When a user requests content that you're serving with
CloudFront, the user is routed to the edge location that provides the lowest latency (time delay), so that content is delivered with the best possible performance.
Using Amazon S3 Buckets for Your Origin
When you use Amazon S3 as an origin for your distribution, you place any objects that you want CloudFront to deliver in an Amazon S3 bucket. You can use any method that is supported by Amazon S3 to get your objects into Amazon S3, for example, the Amazon S3 console or API, or a third-party tool. You can create a hierarchy in your bucket to store the objects, just as you would with any other Amazon S3 bucket.
Using an existing Amazon S3 bucket as your CloudFront origin server doesn't change the bucket in any way; you can still use it as you normally would to store and access Amazon S3 objects at the standard Amazon S3 price. You incur regular Amazon S3 charges for storing the objects in the bucket.
Reference:
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Introduction.html https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistS3AndCustomOrigins.html

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
kratnesh
Highly Voted 3 years, 11 months ago
If the static site has heavy visits of users then option B is more suitable
upvoted 54 times
aguy9
3 years, 9 months ago
Option B is the only reasonable answer.
upvoted 5 times
...
...
dkcloudguru
Highly Voted 3 years, 11 months ago
B is correct. In question basic key words are "Static WebSite", and "load as quickly as possible around the world" S3 + Cloudfront(Content Delivery Network) is a good fit for this and also provide DDoS Protection Shield, AWS Web Application Firewall and enhance the security with CloudFront OAI(Origin Access Identity).
upvoted 22 times
...
fro13
Most Recent 2 years, 1 month ago
Selected Answer: B
S3 +CF
upvoted 1 times
...
Karthikeyan_nick
3 years, 4 months ago
Option A, C, D - is not cost effective.
upvoted 1 times
...
gargaditya
3 years, 9 months ago
Adding to comments,C is incorrect because Geolocation routing (Route 53) is suitable when we have multiple versions of same site/want to limit certain geographies from accessing content
upvoted 2 times
...
Vibes
3 years, 9 months ago
B is right
upvoted 2 times
...
woke
3 years, 9 months ago
B is correct
upvoted 4 times
...
karthisena
3 years, 9 months ago
Explanation: The most cost-effective option is to migrate the website to an Amazon S3 bucket and configure that bucket for static website hosting. To enable good performance for global users the solutions architect should then configure a CloudFront distribution with the S3 bucket as the origin. This will cache the static content around the world closer to users.
upvoted 1 times
...
Gupshup
3 years, 9 months ago
"Static WebSite" --> S3 and "load as quickly as possible around the world" --> Cloudfront
upvoted 2 times
...
KK_uniq
3 years, 9 months ago
B for sure
upvoted 2 times
...
syu31svc
3 years, 9 months ago
Correct answer is B as S3 Static Website hosting with CloudFront provides the most cost-effective solution. You can use Amazon S3 to host a static website. On a static website, individual webpages include static content. They might also contain client-side scripts.
upvoted 1 times
...
mryala
3 years, 9 months ago
it's B
upvoted 1 times
...
Yogi
3 years, 9 months ago
Ans = B
upvoted 1 times
...
Ankitrathi85
3 years, 9 months ago
B right
upvoted 1 times
...
fwfw
3 years, 9 months ago
BBB Static web for global users -> S3+CloudFront
upvoted 1 times
...
myutran
3 years, 9 months ago
Answer: B
upvoted 1 times
...
insatien
3 years, 9 months ago
B is the right one.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...