Courseiva
Design for New SolutionseasyMultiple SelectObjective-mapped

SAP-C02 Design for New Solutions Practice Question

A company is designing a new VPC for a web application that must be accessible from the internet. The application will run on EC2 instances in private subnets. Which TWO components are required to allow the EC2 instances to access the internet for updates?

⚠ Common exam trap

Many candidates assume an Internet Gateway alone suffices for all internet access, forgetting that instances in private subnets require a NAT device (NAT Gateway or NAT Instance) to translate their private IPs for outbound traffic.

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

A route table in the private subnet with a default route pointing to the NAT Gateway

A route table in the private subnet with a default route (0.0.0.0/0) pointing to a NAT Gateway is required to direct outbound internet traffic from the EC2 instances to the NAT Gateway. The NAT Gateway then forwards this traffic to the Internet Gateway, enabling the instances to download updates while remaining inaccessible from the internet.

Answer analysis

Option-by-option breakdown

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

  • A route table in the private subnet with a default route pointing to the NAT Gateway

    Why this is correct

    The route table directs traffic to the NAT Gateway.

  • An Internet Gateway attached to the VPC

    Why it's wrong here

    Internet Gateway is for public subnets, not for private subnets directly.

  • A NAT Gateway in a public subnet

    Why this is correct

    NAT Gateway allows private instances to access the internet.

  • VPC Flow Logs

    Why it's wrong here

    Flow Logs capture traffic metadata, not provide connectivity.

  • A virtual private gateway

    Why it's wrong here

    Virtual private gateway is for VPN connections, not internet access.

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.