SAP-C02 exam dumps

SAP-C02 practice question 478 of 678

AWS Certified Solutions Architect - Professional. Professional level, Amazon Web Services. Free question with the correct answer and a full explanation.

SAP-C02 Question 478

Single answer

A company is hosting a highly available and fault-tolerant web application on AWS. The application is deployed in two AWS regions to ensure regional redundancy. The company uses Amazon Route 53 for DNS and needs to configure it to route traffic to the active region if the other region becomes unavailable. Additionally, they want the solution to perform health checks on the application endpoints to ensure traffic is only routed to healthy endpoints. Which Route 53 routing policy and configuration should the company use?

  1. A

    Use a Simple Routing Policy with health checks configured on each region's endpoints.

  2. B

    Use a Weighted Routing Policy with equal weights assigned to both regions and configure health checks for the endpoints.

  3. C

    Use a Failover Routing Policy with the primary region set as active and the secondary region as passive, along with health checks for each region's endpoints.

  4. D

    Use a Geolocation Routing Policy to route traffic to the nearest region and configure health checks for the endpoints.

Show answer and explanation

Correct answer: C

Explanation

To ensure regional redundancy and route traffic only to the active region when the other becomes unavailable, the Failover Routing Policy is the best choice. It allows one region to be designated as primary (active) and the other as secondary (passive). Health checks ensure Route 53 monitors the availability of each region's endpoints and automatically routes traffic to the healthy region in case of failure.

  • A. Incorrect.

    A Simple Routing Policy does not provide failover capabilities. It only allows for straightforward DNS resolution without conditional routing based on endpoint health.

  • B. Incorrect.

    A Weighted Routing Policy allows for traffic distribution based on assigned weights but does not inherently provide failover capabilities. Health checks can be used, but this policy does not meet the requirement to route traffic only to the active region in case of failure.

  • C. Correct.

    A Failover Routing Policy is designed specifically for high availability and failover scenarios. By designating a primary and secondary region and configuring health checks, Route 53 can automatically route traffic to the healthy region if one becomes unavailable.

  • D. Incorrect.

    A Geolocation Routing Policy routes users based on their geographic location, which does not meet the requirement for failover between regions in the event of a failure. While health checks can be configured, this policy is not suitable for the described use case.

Timed practice exam

Take a SAP-C02 practice test under exam conditions

75 questions in 180 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam