SAP-C02 Practice Question: Accelerate Workload Migration and Modernization
A company is migrating a web application to AWS. They want to use the same domain name for both the development and production environments, but route traffic based on the source IP address. Which AWS service can accomplish this?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Amazon Route 53 with geolocation routing policy
Amazon Route 53 with geolocation routing policy allows you to route traffic based on the geographic location of the source IP address, which meets the requirement of using the same domain name for different environments based on client IP. ELB distributes traffic within a region and does not consider source IP for routing. AWS Global Accelerator uses anycast IPs and cannot route based on source IP. Amazon CloudFront is a CDN that can cache content but cannot route based on source IP at the DNS level.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Amazon Route 53 with geolocation routing policy
Why this is correct
Route 53 can route based on the geographic location of the client's IP.
- ✗
Elastic Load Balancer (ELB)
Why it's wrong here
ELB routes within a region, not based on source IP across environments.
- ✗
AWS Global Accelerator
Why it's wrong here
Global Accelerator uses anycast IPs, not DNS-based routing.
- ✗
Amazon CloudFront
Why it's wrong here
CloudFront is a CDN, not a DNS-based routing service.
Go deeper
Related to this question
About these practice questions
This SAP-C02 question is part of Courseiva's 1,660-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SAP-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SAP-C02 exam.