Bird
0
0

Given a Route 53 failover setup where the primary endpoint is unhealthy and the secondary is healthy, what will be the DNS response to a query?

medium📝 service behavior Q4 of 15
AWS - Route 53
Given a Route 53 failover setup where the primary endpoint is unhealthy and the secondary is healthy, what will be the DNS response to a query?
AThe DNS response will include the IP address of the secondary endpoint.
BThe DNS response will include the IP address of the primary endpoint.
CThe DNS response will include both primary and secondary IP addresses.
DThe DNS response will return an error indicating no healthy endpoints.
Step-by-Step Solution
Solution:
  1. Step 1: Understand failover routing response

    If the primary endpoint is unhealthy, Route 53 routes traffic to the secondary endpoint.
  2. Step 2: Match DNS response to endpoint health

    Since secondary is healthy, DNS response includes secondary's IP address only.
  3. Final Answer:

    The DNS response will include the IP address of the secondary endpoint. -> Option A
  4. Quick Check:

    Primary unhealthy = DNS returns secondary IP [OK]
Quick Trick: Failover returns secondary IP if primary fails health check [OK]
Common Mistakes:
  • Expecting both IPs in response
  • Assuming error returned if primary fails
  • Thinking primary IP is always returned

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes