You have been contracted by a local e-commerce company to assist with enhancing their online shopping application.
The application is currently deployed in a single Oracle Cloud Infrastructure (OCI) region.
The application utilizes a public load balancer, application servers in a private subnet, and a database in a separate, private subnet.
The company would like to deploy another set of similar infrastructure in a different OCI region that will act as standby site.
In the event of a failure at the primary site, all customers should be routed to the failover site automatically.
After deploying the additional infrastructure within the second region, how should you configure automated failover requirements? (Choose the best answer.)
Click on the arrows to vote for the correct answer
A. B. C. D.D.
The best answer for this scenario is C. Create a failover policy in the Traffic Management service. Set the IP address of the public load balancer for the primary site in answer pool 1. Set the IP address of the public load balancer for the secondary site in answer pool 2. Define a health check to monitor both sites.
Explanation:
The requirement is to configure automated failover requirements after deploying the additional infrastructure within the second region that will act as a standby site. The failover should happen automatically in the event of a failure at the primary site, and all customers should be routed to the failover site.
Option A suggests creating a load balancer policy in the Traffic Management service and configuring one answer for each site with different weights. However, this solution doesn't address the requirement for automatic failover in the event of a failure at the primary site.
Option B suggests creating a new A record in DNS that points to the public load balancer at the secondary site and creating a CNAME for the sub-domain failover that will resolve to the new A record. However, this solution requires customers to be informed to prepend the website URL with failover if the primary site is unavailable. This is not an automatic solution.
Option D suggests deploying a new load balancer in the primary region with two backend sets, one for the primary application servers and the other for the standby application servers. However, this solution doesn't address the requirement for deploying infrastructure in a different OCI region that will act as a standby site.
Option C is the best answer because it suggests creating a failover policy in the Traffic Management service. The failover policy allows for the configuration of automatic failover requirements. The IP address of the public load balancer for the primary site is set in answer pool 1, and the IP address of the public load balancer for the secondary site is set in answer pool 2. A health check is defined to monitor both sites. In the event of a failure at the primary site, the failover policy will automatically route all traffic to the secondary site.