Topic 1 Question 467
A company that is developing a mobile game is making game assets available in two AWS Regions. Game assets are served from a set of Amazon EC2 instances behind an Application Load Balancer (ALB) in each Region. The company requires game assets to be fetched from the closest Region. If game assets become unavailable in the closest Region, they should be fetched from the other Region.
What should a solutions architect do to meet these requirements?
Create an Amazon CloudFront distribution. Create an origin group with one origin for each ALB. Set one of the origins as primary.
Create an Amazon Route 53 health check for each ALCreate a Route 53 failover routing record pointing to the two ALBs. Set the Evaluate Target Health value to Yes.
Create two Amazon CloudFront distributions, each with one ALB as the origin. Create an Amazon Route 53 failover routing record pointing to the two CloudFront distributions. Set the Evaluate Target Health value to Yes.
Create an Amazon Route 53 health check for each ALB. Create a Route 53 latency alias record pointing to the two ALBs. Set the Evaluate Target Health value to Yes.
ユーザの投票
コメント(17)
- 正解だと思う選択肢: D
A - Need to set cache behaviour for another origin B - Failover routing record cannot point to 2 ALBs C - Works but does not meet the requirement. By default, when there is no unhealthy distribution, the traffic will always be sent to the primary but not the closest region. D - Sending the traffic to the closest region unless the closest region becomes unhealthy
👍 11VerRi2024/04/02 - 正解だと思う選択肢: A
It is either A or D but both are not perfect. In A Cloudfront will always fetch from the primary region not the closest region. In D latency based routing might not choose the closest region but the one with best latency. For the following reasons I go with A:
A is correct: the user will always use the nearest edge location in the closest region to fetch the game assets. Cloudfront will either respond from the cache or load the game assets from the primary origin (or in case the primary origin is not available from the fail over origin).
B is incorrect because the game assets would always be fetched from the primary region.
C is wrong because this setup is essentially the same as A but much more complicated.
D is wrong because latency based routing does not necessarily choose the nearest region but the region with the best latency (geolocation routing policy would be the correct to fulfill the requirement)
👍 6gustori992024/03/25 - 正解だと思う選択肢: D
It is A or D. Not A because the request will be always routed to the primary origin, the requirement wants it to be routed to the closest region.
👍 4yog9272024/04/01
シャッフルモード