AWS Certified CloudOps Engineer Associate SOA-C03 [2026]

Amazon Route 53 Exam Scenarios: Health Checks, Geolocation, and Alias Records

Study Route 53 scenario decisions involving HTTP health checks, response-string matching, geolocation routing, domain apex records, and cross-account Application Load Balancer aliases.

AWS Certified CloudOps Engineer Associate SOA-C03 [2026]AWS Certified CloudOps Engineer Associate SOA-C03 [2026]Updated Sep 1, 2026
Study options
WatchComing later
ListenComing later
ReadAvailable
ReviewComing later

Study guide

Technical reference and lesson notes

Amazon Route 53 Exam Scenarios: Health Checks, Geolocation, and Alias Records

Purpose of This Lesson

This lesson focuses on selecting the correct Amazon Route 53 feature for common AWS Certified CloudOps Engineer Associate scenario patterns:

  • Directing traffic between primary and secondary endpoints based on health.
  • Validating an HTTP response with string matching.
  • Routing users according to geographic location.
  • Pointing a domain apex to an Application Load Balancer (ALB).
  • Creating an efficient Route 53 record when the hosted zone and ALB are in different AWS accounts.

Key Concepts

Route 53 health checks

A Route 53 health check can evaluate an endpoint’s availability and, for HTTP checks, verify that a specified search string appears in the response body. In the scenario covered here:

  • The endpoint returns a successful HTTP response in the 2xx range.
  • The health check uses HTTP, not TCP.
  • String matching checks for /html.
  • The entire search string must appear within the first 5,120 bytes of the response body.
  • If the string is outside that initial response range, the health check fails even if the page eventually contains the string.

Primary and secondary routing

When a scenario describes a preferred primary endpoint and a secondary endpoint for failover, create an A record for each server and associate the relevant health checks. The primary endpoint is used when healthy; Route 53 can direct traffic to the secondary response when the primary health check fails.

Geolocation routing

The geolocation routing policy selects a response based on the location of the DNS requester. It is appropriate when content or a promotion should be visible to users in a specific country or geographic region.

Geolocation routing is based on where the request originates, not on endpoint health. Therefore, it should not be confused with health-based failover routing.

Alias records

An alias record can point a Route 53 name to an AWS resource such as an Application Load Balancer. Alias records are the appropriate choice when the required DNS name is the domain apex, such as example.com, because a conventional CNAME record cannot be used at the zone apex in this scenario.

The lecture also identifies an alias record as the efficient solution when the Route 53 hosted zone is in one AWS account and the ALB is in another account. The record in the hosted-zone account points to the ALB in the separate account.

Route 53 Scenario Analysis

Scenario 1: Route traffic to a secondary endpoint when the primary fails

The requirements are:

  1. Define an A record for each server.
  2. Configure an HTTP health check for the endpoint.
  3. Check for a successful 2xx response.
  4. Use response-body string matching when the scenario requires content validation.
  5. Associate health status with the primary/secondary routing decision.

Do not choose a TCP health check when the requirement is to validate an HTTP response or search for text in the response body. TCP can establish a connection, but it does not perform the HTTP string-matching check described here.

Scenario 2: Confirm that a specific response string is present

For an HTTP string-matching health check, the search string must be located entirely within the first 5,120 bytes of the response body. A page can be reachable and return a successful status while still failing the health check if the required string appears later in the response.

Scenario 3: Show a promotion only to users in a particular country

Use Route 53 geolocation routing. This policy is selected because the decision is based on the user’s geographic location. The scenario is not asking whether the endpoint is healthy or whether traffic should be distributed according to latency.

Scenario 4: Point the domain apex to an ALB

For a website hosted behind an ALB, use an alias record when the desired DNS name is the domain apex, such as example.com. This is distinct from creating a record for a subdomain such as www.example.com; the exam clue here is the apex name.

Scenario 5: Hosted zone and ALB are in different accounts

If the hosted zone is in Account A and the ALB is in Account B, create the alias record in the hosted zone in Account A and target the ALB in Account B. The scenario identifies an alias record as the cost-effective and efficient solution for pointing the DNS name to the ALB.

Exam- or Assessment-Relevant Takeaways

  • Primary/secondary endpoints plus health-based selection: configure records for both endpoints and use health checks to support the failover decision.
  • Need to inspect HTTP content: choose an HTTP health check with string matching rather than TCP.
  • Search string location: the complete search string must be within the first 5,120 bytes of the response body.
  • Country-specific response: choose the geolocation routing policy.
  • Domain apex pointing to an ALB: choose an alias record.
  • Cross-account hosted zone and ALB: create the alias record in the hosted-zone account and point it to the ALB in the other account.

These are scenario-recognition patterns from the lesson, not claims about guaranteed exam questions or a complete list of certification objectives.

Tool / Feature Decision Guide

RequirementRoute 53 choiceDecisive reason
Prefer a primary server and use another when it becomes unhealthyHealth-associated primary/secondary recordsThe routing decision depends on endpoint health
Confirm an HTTP response contains a required stringHTTP health check with string matchingThe check evaluates HTTP content, not merely network connectivity
Validate that the check string is usablePlace the complete string within the first 5,120 response bytesRoute 53 searches only that initial response range for this check
Display a response or promotion to users in a particular countryGeolocation routing policyThe decision is based on requester location
Point example.com directly to an ALBAlias recordThe target is an AWS resource and the name is the domain apex
Point a hosted zone in Account A to an ALB in Account BAlias record in Account A targeting the ALBThis is the efficient cross-account DNS solution described in the lesson
Only verify that a service accepts a network connectionTCP health check, if that is the actual requirementTCP does not provide the HTTP response-body string matching required by the scenario

Common Traps / Misconceptions

  • Choosing TCP for an HTTP content check: TCP connectivity does not verify a 2xx HTTP response or search the body for /html.
  • Ignoring the 5,120-byte limit: The search string must be entirely within the first 5,120 bytes; appearing later does not satisfy the check.
  • Using geolocation for failover: Geolocation answers “where is the requester?” Health-based primary/secondary routing answers “which endpoint is healthy?”
  • Using a CNAME at the domain apex: The scenario calls for an alias record for names such as example.com.
  • Assuming the hosted zone and ALB must be in the same account: The lesson specifically presents an alias record as the solution when they are in different accounts.
  • Treating a successful status as the entire health requirement: A 2xx response may not be sufficient when the scenario also requires response-string validation.

Real-World Engineer / Analyst Notes

  • Keep the health-check requirement aligned with the failure mode you need to detect. A connection check and an application-content check do not validate the same condition.
  • When using string matching, ensure the expected marker is emitted early enough in the response body to be examined by the health check.
  • Separate routing intent from health intent: geolocation determines which response is selected for a requester location, while health checks determine whether an endpoint is usable.
  • When troubleshooting a domain-apex mapping to an ALB, first look for an alias record rather than a CNAME.
  • In cross-account designs, identify which account owns the hosted zone. That account is where the Route 53 alias record is created.

Quick Reference Summary

  • Health-based primary/secondary: create an A record for each server and use health checks to support the routing decision.
  • HTTP content validation: use an HTTP health check with string matching.
  • Required response marker: the full search string must be in the first 5,120 bytes.
  • Country-specific routing: use geolocation routing.
  • Domain apex to ALB: use an alias record.
  • Cross-account ALB target: create the alias in the hosted-zone account and target the ALB in the other account.

Flashcards

Q: A primary web server should receive traffic while healthy, and a secondary server should be used when it fails. What Route 53 design should you select?

A: Create an A record for each server and associate health checks with the primary/secondary routing decision. The health status determines when traffic should move to the secondary endpoint.

Q: A Route 53 health check must confirm both an HTTP success response and the presence of /html in the body. Should the check be HTTP or TCP?

A: Use an HTTP health check with string matching. TCP can test connectivity but cannot perform the required HTTP response-body validation.

Q: Where must the complete search string appear for the Route 53 HTTP string-matching check described in the lesson?

A: It must appear entirely within the first 5,120 bytes of the response body. A match later in the body does not satisfy the check.

Q: A company wants a website promotion returned only to DNS users located in a specific country. Which routing policy fits?

A: Use the geolocation routing policy because the routing decision is based on the requester’s geographic location.

Q: When should geolocation routing be chosen instead of health-based primary/secondary routing?

A: Choose geolocation when the decision depends on where the requester is located. Choose health-based routing when the decision depends on whether an endpoint is healthy.

Q: A website runs behind an Application Load Balancer and must be reachable at example.com. Which Route 53 record type should be used?

A: Use an alias record targeting the ALB. The domain apex is the decisive clue in this scenario.

Q: Why is an alias record preferred for the domain apex scenario instead of a CNAME?

A: The lesson identifies an alias record for pointing the apex name, such as example.com, to the ALB. The alias directly targets the AWS resource.

Q: The hosted zone is in Account A, while the ALB is in Account B. Where should the Route 53 record be created?

A: Create the alias record in the hosted zone in Account A and point it to the ALB in Account B. The hosted-zone account owns the DNS record.

Q: What is the operational trap when the required health-check string appears after the first 5,120 bytes?

A: The health check fails even if the endpoint is reachable and the string exists later in the response. The complete string must be within the inspected initial range.

Q: A requirement says only that a server must accept a network connection. Is HTTP string matching necessary?

A: No. The lesson distinguishes TCP connectivity checks from HTTP content checks; string matching is needed only when the response content must be validated.

Q: A server returns a successful 2xx response but does not contain the required /html marker in the inspected response range. What should you expect?

A: The HTTP string-matching health check fails because a successful status alone does not satisfy the content requirement.

Q: Which clue indicates that an alias should target an ALB rather than a normal server A record?

A: The endpoint is an AWS Application Load Balancer, especially when the desired name is the domain apex. The lesson calls for an alias record to point to the ALB.

Practice Questions

Question 1

A company has a primary web server and a secondary web server. Route 53 should use the primary while it returns a valid HTTP response and switch to the secondary when the primary becomes unhealthy. Which design best matches the requirement?

A. Use geolocation routing with one record for the primary
B. Create an A record for each server and use health checks for the primary/secondary decision
C. Create a TCP health check for only the secondary server
D. Create a CNAME at the domain apex for the primary server

Correct answer: B

Explanation: The scenario requires health-based primary/secondary behavior, so both servers need records and health checks must support the routing decision.

Question 2

An HTTP health check expects the string /html, but the string occurs at byte 6,000 in the response body. The server returns a 2xx response. What is the likely result?

A. The check succeeds because the HTTP status is 2xx
B. The check succeeds because the string exists somewhere in the body
C. The check fails because the string is outside the first 5,120 bytes
D. The check changes automatically to a TCP check

Correct answer: C

Explanation: The complete search string must appear within the first 5,120 bytes of the response body.

Question 3

A business wants users in one specific country to receive a promotion while users elsewhere receive a different response. Which Route 53 feature should be selected?

A. Geolocation routing
B. TCP health checking
C. Primary/secondary failover based only on endpoint health
D. An alias record to the ALB

Correct answer: A

Explanation: The decisive requirement is country-specific behavior, which is handled by the geolocation routing policy.

Question 4

A website is served through an ALB and must be available at example.com, not only at a subdomain. What record should be created?

A. TCP health check
B. CNAME record at the domain apex
C. Alias record targeting the ALB
D. Geolocation record with no target

Correct answer: C

Explanation: The domain-apex requirement and ALB target point to an alias record.

Question 5

The Route 53 hosted zone is in Account A, and the ALB is in Account B. The team wants the most cost-effective and efficient DNS configuration described in the lesson. What should they do?

A. Move the hosted zone into Account B
B. Create an alias record in Account A that points to the ALB in Account B
C. Use a TCP health check instead of a DNS record
D. Create a geolocation record in both accounts

Correct answer: B

Explanation: The lesson specifically identifies an alias record in the hosted-zone account as the solution for pointing to the cross-account ALB.

WordPress Metadata

Suggested Slug:
amazon-route-53-exam-scenarios-health-checks-geolocation-alias-records

Meta Description:
Study Route 53 scenario decisions involving HTTP health checks, response-string matching, geolocation routing, domain apex records, and cross-account Application Load Balancer aliases.

Tags:
Amazon Route 53, AWS Certified CloudOps Engineer, DNS, Route 53 health checks, geolocation routing, alias records, Application Load Balancer, AWS exam scenarios