Courseiva
Continuous Improvement for Existing SolutionshardMultiple ChoiceObjective-mapped

SAP-C02 Continuous Improvement for Existing Solutions Practice Question

Network Topology
$ aws ec2 describe-route-tablesfilters Name=vpc-idRefer to the exhibit."RouteTables": ["RouteTableId": "rtb-11111","VpcId": "vpc-12345","Routes": ["DestinationCidrBlock": "10.0.0.0/16","GatewayId": "local","Origin": "CreateRouteTable","State": "active"},"DestinationCidrBlock": "0.0.0.0/0","NatGatewayId": "nat-12345","Origin": "CreateRoute",],"Associations": ["Main": false,"RouteTableAssociationId": "rtbassoc-22222","SubnetId": "subnet-11111"

Refer to the exhibit. An EC2 instance in subnet-11111 (10.0.1.0/24) cannot access the internet. The route table for the subnet is shown. What is the MOST likely cause?

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

The NAT gateway is not in a public subnet with an internet gateway.

For an EC2 instance in a private subnet to access the internet via a NAT gateway, the NAT gateway must be deployed in a public subnet (with a route to an internet gateway). Option D correctly identifies that the NAT gateway is not in a public subnet with an internet gateway. Option A is incorrect because the route table does have a default route (0.0.0.0/0) pointing to the NAT gateway. Option B is incorrect because the VPC has a local route for internal traffic. Option C is incorrect because the route table is associated with the subnet (the exhibit shows the subnet ID). Therefore, the most likely cause is that the NAT gateway itself is in a private subnet, preventing it from reaching 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.

  • The route table does not have a default route (0.0.0.0/0).

    Why it's wrong here

    The route table shows a 0.0.0.0/0 route.

  • The VPC does not have a local route.

    Why it's wrong here

    The local route is present.

  • The route table is not associated with the subnet.

    Why it's wrong here

    The association shows the route table is associated with subnet-11111.

  • The NAT gateway is not in a public subnet with an internet gateway.

    Why this is correct

    NAT gateway requires a public subnet and internet gateway to function.

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

One of 1,660 original SAP-C02 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.