exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 467 discussion

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?

  • A. Create an Amazon CloudFront distribution. Create an origin group with one origin for each ALB. Set one of the origins as primary.
  • B. 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.
  • C. 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.
  • D. 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.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
VerRi
Highly Voted 8 months, 2 weeks ago
Selected Answer: 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
upvoted 10 times
...
gustori99
Highly Voted 8 months, 3 weeks ago
Selected Answer: 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)
upvoted 5 times
...
Spike2020
Most Recent 2 days, 1 hour ago
Selected Answer: D
A is not possible. You can have only 1 active origin behind CFN
upvoted 1 times
...
TomTom
5 days, 7 hours ago
Selected Answer: B
Option B is more appropriate. Below explanation: If the primary goal is to ensure that if one Region's assets become unavailable, traffic should seamlessly switch to another Region without user impact, Option B is more appropriate due to its explicit failover mechanism. However, if minimizing latency is also a critical factor alongside availability, Option D could be a viable solution but may require additional considerations for handling complete failures in one Region.
upvoted 1 times
...
AzureDP900
1 month ago
C is right in my opinion. By using CloudFront distributions with ALBs as origins and setting up a failover routing record in Route 53 (Option C), you can create a setup where traffic is directed to the distribution (and thus the ALB) in the closer region, and automatically switched to the other Region if game assets become unavailable in the first one. This approach meets all of the requirements specified in the question.
upvoted 1 times
...
chris_spencer
1 month, 4 weeks ago
Selected Answer: A
A - This option leverages Amazon CloudFront, which is a global content delivery network (CDN) service that securely delivers data, videos, applications, and APIs to customers globally with low latency, high transfer speeds, all within a developer-friendly environment. By setting up an origin group with the ALBs as origins and designating a primary origin, CloudFront automatically routes traffic to the second origin if the primary is unavailable. This setup addresses both the latency (by serving content from the nearest location due to CloudFront's global presence) and failover requirements effectively. B - does not serve geographic location C - works to but A is less complex D - It lacks a CDN which if preffered for this kind of solution
upvoted 2 times
...
JoeTromundo
2 months ago
Selected Answer: D
Option D is the best solution because it uses Route 53 latency alias records to ensure that users access the closest AWS Region and provides failover capability with health checks, fulfilling both the proximity and reliability requirements. For option A to be correct, it should be described as CloudFront with Origin Groups. This allows you to set up a primary and a secondary origin. If the primary origin (the ALB in the primary Region) becomes unavailable, CloudFront automatically switches to the secondary origin (the ALB in the secondary Region). This provides the failover functionality, which means if the assets are unavailable in one Region, they can be fetched from the other Region.
upvoted 2 times
...
Spike2020
2 months, 2 weeks ago
D - closest region indicate DNS based on latency. Not a failover scenario.
upvoted 1 times
...
neta1o
4 months ago
Selected Answer: D
There are many factors in this question. But this "The company requires game assets to be fetched from the closest Region" points to 'D' latency based routing R53.
upvoted 1 times
...
Moghite
4 months, 3 weeks ago
Selected Answer: A
Option D incorrect because there is no automatic failover like in cloudFront option A
upvoted 2 times
...
michele_scar
6 months, 1 week ago
Selected Answer: A
We are talking about "GAME ASSETS" that by definitions are STATIC CONTENT. So for this reason we should keep A or C (CDN). The correct is A.
upvoted 3 times
sashenka
1 month, 1 week ago
Even though the content may be static, it still gets fetched from the origin on various occasions such as the first time it's hit, or when the TTL expires, etc. Thus it will not be fetched from the closet Region.
upvoted 1 times
...
...
titi_r
7 months, 3 weeks ago
Selected Answer: D
Answer: D.
upvoted 1 times
...
yog927
8 months, 2 weeks ago
Selected Answer: 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.
upvoted 4 times
...
pangchn
8 months, 3 weeks ago
Selected Answer: D
I vote for D reason same as Dgix mentioned in the correction, since question request game asset fetched from closed region
upvoted 1 times
...
Russs99
8 months, 3 weeks ago
Selected Answer: A
In option D, game will always be fetched from on region except the if the primary region fails. Option A allows for multiple origin, and caching.
upvoted 3 times
Russs99
8 months, 3 weeks ago
Sorry I can't correct my misspelled
upvoted 1 times
...
...
AWSPro1234
8 months, 3 weeks ago
Answer is C Question ask in case of failover , not to monitor latency.
upvoted 1 times
...
Dgix
8 months, 3 weeks ago
Selected Answer: D
Moderator, please change my previous answer to D.
upvoted 3 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago