SAP-C02 Design for New Solutions Practice Question
A company is designing a new microservices architecture on Amazon ECS with Fargate. The services need to communicate with each other securely. The company wants to use service discovery so that services can find each other using DNS names. Which AWS service should the company use?
⚠ Common exam trap
A common mix-up: candidates confuse Route 53 private hosted zones (which only provide static DNS resolution) with AWS Cloud Map (which adds dynamic registration, health checks, and service instance management), leading them to choose Option B as a simpler but incorrect solution.
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
✓
AWS Cloud Map with namespaces and service instances.
AWS Cloud Map is the correct choice because it is a cloud resource discovery service specifically designed for microservices architectures. It allows you to define custom namespaces (public, private DNS, or API-based) and register service instances with health checks. Services running on ECS with Fargate can then discover each other via DNS queries or API calls, enabling dynamic and secure communication without managing static IPs or load balancers.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
AWS PrivateLink with VPC endpoint services.
Why it's wrong here
PrivateLink is for accessing services privately, not service discovery.
- ✗
Amazon Route 53 private hosted zones with DNS records for each service.
Why it's wrong here
Can be used but not as integrated as Cloud Map.
- ✓
AWS Cloud Map with namespaces and service instances.
Why this is correct
Cloud Map is designed for service discovery in microservices.
- ✗
Elastic Load Balancing with internal load balancers for each service.
Why it's wrong here
ELB is for load balancing, not service discovery.
Go deeper
Related to this question
About these practice questions
Courseiva writes every SAP-C02 question from scratch — 1,660 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.