Your development team has currently made changes to an application that is hosted in AWS.
Currently, the application is in Production, and Route 53 is being used as the DNS service.
The new version of the application has undergone testing and now needs to be promoted to a separate environment.
They need an initial set of traffic to be directed to the new version of the application for testing before the final cutover can be made.
Which of the following would you implement?
Click on the arrows to vote for the correct answer
A. B. C. D.Answer - D.
The AWS Documentation mentions the following.
Weighted routing lets you associate multiple resources with a single domain name (example.com) or subdomain name (acme.example.com) and choose how much traffic is routed to each resource.
This can be useful for various purposes, including load balancing and testing new versions of software.
Option A is incorrect since this is used to configure standard DNS records.
Option B is incorrect since this is used for resources in multiple AWS Regions, and you want to route traffic to the region that provides the best latency.
Option C is incorrect since this is used when you want to route traffic based on the location of your users.
For more information on Routing policies, please refer to the below URL-
https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-policy.htmlTo promote the new version of the application to a separate environment and direct initial traffic for testing, you can use Route 53's routing policies. There are several routing policies available in Route 53, but the best option in this scenario would be the Weighted Routing policy.
The Weighted Routing policy is used to distribute traffic between multiple resources based on weight assignments. In this scenario, you can create two resource records (A and B), one for the old version of the application and another for the new version of the application. Assign a higher weight to the new version of the application and a lower weight to the old version. This will result in the majority of the traffic being directed to the new version of the application while still allowing a small portion of traffic to be directed to the old version of the application for comparison.
Once you're ready to make the final cutover, you can update the weight of the new version of the application to 100, which will ensure that all traffic is directed to the new version.
Therefore, the correct answer is D, "2 resource records based on the Weighted Routing policy."