Q94 — AWS SAA-C03 Ch.14
Question 94 of 100 | ← Chapter 14
Q1094. A solutions architect is designing the architecture for a company website that is composed of static content. The company's target customers are located in the United States and Europe.Which architecture should the solutions architect recommend to MINIMIZE cost?
- A. Store the website files on Amazon S3 in the us-east-2 Region. Use an Amazon CloudFront distribution with the price class configured to limit the edge locations in use. ✓
- B. Store the website files on Amazon S3 in the us-east-2 Region. Use an Amazon CloudFront distribution with the price class configured to maximize the use of edge locations.
- C. Store the website files on Amazon S3 in the us-east-2 Region and the eu-west-1 Region. Use an Amazon CloudFront geolocation routing policy to route requests to the closest Region to the user.
- D. Store the website files on Amazon S3 in the us-east-2 Region and the eu-west-1 Region. Use an Amazon CloudFront distribution with an Amazon Route 53 latency routing policy to route requests to the closest Region to the user.
Correct Answer: A. Store the website files on Amazon S3 in the us-east-2 Region. Use an Amazon CloudFront distribution with the price class configured to limit the edge locations in use.
Explanation
To determine the best architecture for minimizing cost for a company website composed of static content, targeting customers in the United States and Europe, let's analyze each option:A. Store the website files on Amazon S3 in the us-east-2 Region. Use an Amazon CloudFront distribution with the price class configured to limit the edge locations in use.This option minimizes the storage cost by using a single S3 bucket but may not provide optimal performance for European users due to the potential increase in latency. Limiting edge locations with CloudFront could further degrade performance, though it would reduce costs slightly for CloudFront. B. Store the website files on Amazon S3 in the us-east-2 Region. Use an Amazon CloudFront distribution with the price class configured to maximize the use of edge locations.This approach provides better performance for both US and European users by maximizing edge locations but does not address the potential latency issue for European users accessing data stored in us-east-2. C. Store the website files on Amazon S3 in the us-east-2 Region and the eu-west-1 Region. Use an Amazon CloudFront geolocation routing policy to route requests to the closest Region to the user.This setup minimizes latency for both US and European users by storing content closer to them. Using geolocation routing ensures that users are directed to the nearest S3 bucket. However, maintaining two S3 buckets increases storage costs compared to a single bucket. D. Store the website files on Amazon S3 in the us-east-2 Region and the eu-west-1 Region. Use an Amazon CloudFront distribution with an Amazon Route 53 latency routing policy to route requests to the closest Region to the user.Similar to option C, this approach minimizes latency by placing content closer to users. However, using Route 53 for latency-based routing typically involves more complexity and cost, especially if not integrated well with CloudFront (note that CloudFront itself can handle geolocation routing without Route 53 for this purpose).Given the focus on MINIMIZING cost while ensuring reasonable performance for users in both the US and Europe, the balance needs to be struck between storage costs and delivery performance. Option A minimizes storage costs but may compromise performance for European users due to increased latency. Option B improves performance slightly by maximizing edge locations but still doesn't address the core latency issue for European users. Options C and D both address latency by placing content closer to users but at the cost of increased storage due to maintaining two S3 buckets.The most cost-effective approach, given the need to serve users in both regions, would be to minimize unnecessary expenditures while still ensuring adequate performance. Therefore, considering that Amazon CloudFront can cache content closer to users even when stored in a single region (though less optimally for very distant users), and given the need to strictly minimize costs:Option A is slightly more cost-effective in terms of CloudFront usage (by limiting edge locations) and avoids the additional storage cost of maintaining two S3 buckets. The trade-off is potentially higher latency for European users, which might be acceptable depending on the company's performance requirements. Thus, the solutions architect should recommend Option A to minimize cost, especially if the company can tolerate slightly higher latency for European users or if CloudFront's caching strategy mitigates this issue sufficiently.