SAP-C02 Design for New Solutions Practice Question
A company is building a microservices architecture on Amazon ECS. Services need to communicate with each other and with external SaaS applications. The architect must ensure that service discovery is dynamic and that traffic to external services is routed through a single egress point for security and monitoring. Which combination of services should the architect use?
⚠ Common exam trap
Many exam-takers confuse the roles of an Internet Gateway (which allows direct bidirectional internet access) with a NAT gateway (which provides controlled outbound-only egress), and assuming Route 53 can handle dynamic service discovery when it lacks the necessary registration and health-check integration for ephemeral containers.
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 for service discovery and a NAT gateway for egress
AWS Cloud Map is the correct choice for dynamic service discovery in Amazon ECS because it allows services to register themselves with a logical service name and be discovered via DNS or API calls, which is ideal for microservices that scale and change frequently. A NAT gateway provides a single, controlled egress point for outbound traffic to external SaaS applications, enabling centralized security monitoring and consistent IP address management, unlike an Internet Gateway which would expose instances directly.
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 Cloud Map for service discovery and a NAT gateway for egress
Why this is correct
Cloud Map registers services; NAT gateway provides egress for tasks in private subnets.
- ✗
Amazon Route 53 for service discovery and an Application Load Balancer for egress
Why it's wrong here
ALB is for ingress traffic, not egress.
- ✗
AWS Cloud Map for service discovery and an Internet Gateway for egress
Why it's wrong here
Internet Gateway is used for resources in public subnets; tasks in private subnets need NAT.
- ✗
Amazon Route 53 for service discovery and VPC endpoints for egress
Why it's wrong here
VPC endpoints are for AWS services, not external SaaS.
Visual reference
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.