Courseiva
Design for New SolutionsmediumMultiple ChoiceObjective-mapped

SAP-C02 Design for New Solutions Practice Question

A company is designing a new microservices architecture using Amazon ECS with Fargate. Each service must be isolated within its own VPC and communicate via AWS PrivateLink. The company expects variable traffic and wants to minimize costs. Which solution meets these requirements?

⚠ Common exam trap

Test-takers frequently assume VPC peering or Transit Gateway is required for cross-VPC communication, but PrivateLink is the only option that enforces strict VPC isolation while minimizing costs for variable traffic patterns.

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

Use separate VPCs per service and create VPC endpoint services for each.

AWS PrivateLink allows services in separate VPCs to communicate privately without exposing traffic to the public internet. By creating a VPC endpoint service in each service's VPC and configuring Network Load Balancers, each microservice remains isolated in its own VPC, meeting the isolation requirement while minimizing costs by avoiding NAT gateways or Transit Gateway attachments.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Use separate VPCs and connect them via VPC peering with NAT gateways.

    Why it's wrong here

    NAT gateways are unnecessary for PrivateLink and increase cost.

  • Deploy all services in a single VPC with security groups to isolate traffic.

    Why it's wrong here

    Single VPC does not provide network isolation at the VPC level.

  • Use separate VPCs per service and create VPC endpoint services for each.

    Why this is correct

    VPC endpoints provide isolated, private connectivity without extra cost.

  • Use a single VPC with Transit Gateway to route between services.

    Why it's wrong here

    Transit Gateway adds cost and complexity without providing isolation.

Visual reference

Inside (Private) PC-A 10.0.0.1 PC-B 10.0.0.2 NAT Router Outside (Public) 203.0.113.1 Inside Global Server PAT: many private IPs share one public IP via unique port numbers

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 →

How Courseiva writes practice questions · Editorial policy

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.