AWS Certified SysOps Administrator – Associate (legacy) — Question 666
A SysOps administrator is evaluating Amazon Route 53 DNS options to address concerns about high availability for an on-premises website. The website consists of two servers: a primary active server and a secondary passive server. Route 53 should route traffic to the primary server if the associated health check returns
2xx or 3xx HTTP codes. All other traffic should be directed to the secondary passive server. The failover record type, set ID, and routing policy have been set appropriately for both primary and secondary servers.
Which next step should be taken to configure Route 53?
Answer options
- A. Create an A record for each server. Associate the records with the Route 53 HTTP health check.
- B. Create an A record for each server. Associate the records with the Route 53 TCP health check.
- C. Create an alias record for each server with evaluate target health set to yes. Associate the records with the Route 53 HTTP health check.
- D. Create an alias record for each server with evaluate target health set to yes. Associate the records with the Route 53 TCP health check.
Correct answer: C
Explanation
To support failover routing to an on-premises resource using Route 53, you should use alias records with 'Evaluate Target Health' set to 'Yes' to allow Route 53 to determine the health of the endpoints. Additionally, because the requirement specifies routing based on receiving 2xx or 3xx status codes, an HTTP health check must be utilized rather than a simple TCP health check, which only verifies connection establishment. Therefore, creating alias records with an HTTP health check is the correct configuration.