Q62 — AWS SAA-C03 Ch.12
Question 62 of 100 | ← Chapter 12
Q862. A company serves its website by using an Auto Scaling group of Amazon EC2 instances in a single AWS Region. The website does not require a database.The company is expanding, and the company's engineering team deploys the website to a second Region. The company wants to distribute traffic across both Regions to accommodate growth and for disaster recovery purposes. The solution should not serve traffic from a Region in which the website is unhealthy.Which policy or resource should the company use to meet these requirements?
- A. An Amazon Route 53 simple routing policy
- B. An Amazon Route 53 multivalue answer routing policy ✓
- C. An Application Load Balancer in one Region with a target group that specifies the EC2 instance IDs from both Regions
- D. An Application Load Balancer in one Region with a target group that specifies the IP addresses of the EC2 instances from both Regions
Correct Answer: B. An Amazon Route 53 multivalue answer routing policy
Explanation
To meet the requirements of distributing traffic across multiple AWS Regions for growth and disaster recovery purposes while ensuring that traffic is not served from an unhealthy Region, the recommended policy or resource to use is:B. An Amazon Route 53 multivalue answer routing policy.Here's why:Option B suggests using an Amazon Route 53 multivalue answer routing policy. This policy allows Route 53 to return multiple values (IP addresses) for the same DNS record, which can include IP addresses of resources in different Regions. Each IP address represents a different instance of the website, and Route 53 randomly selects and returns one of the healthy IP addresses in response to DNS queries.By configuring the multivalue answer routing policy, you can distribute traffic across multiple Regions, ensuring that the website is highly available and resilient. If one Region becomes unhealthy or experiences an outage, Route 53 will automatically stop returning IP addresses associated with that Region, effectively excluding it from serving traffic. This helps to prevent traffic from being served from an unhealthy Region.Option A suggests using an Amazon Route 53 simple routing policy. While this policy can distribute traffic across multiple resources, it does not have the built-in capability to exclude unhealthy resources or Regions from serving traffic. It may not provide the desired level of disaster recovery and traffic routing control.Option C suggests using an Application Load Balancer (ALB) in one Region with a target group that specifies the EC2 instance IDs from both Regions. This option would require configuring cross-Region load balancing and managing target groups across multiple Regions. While ALB can distribute traffic across instances, it does not directly address the requirement of excluding an unhealthy Region from serving traffic.Option D suggests using an Application Load Balancer (ALB) in one Region with a target group that specifies the IP addresses of the EC2 instances from both Regions. Similar to option C, this option requires managing target groups across multiple Regions and does not provide a built-in mechanism for excluding an unhealthy Region from serving traffic.In summary, the recommended solution is to use an Amazon Route 53 multivalue answer routing policy. This policy allows for distributing traffic across multiple AWS Regions, ensures high availability and disaster recovery, and avoids serving traffic from an unhealthy Region.