PassDrill Free practice questions with explanations that actually teach.

VPC & Networking

10 questions · AWS SAA-C03 · answer each one, then read the explanation. Your score tallies at the bottom.

0 / 10 answered · 0 correct

AWS-SAA · vpc · Q001 · easy

A VPC contains a subnet whose route table has no route to an internet gateway. EC2 instances in this subnet have public IP addresses assigned. Can these instances reach the internet directly?

  1. Yes, because they have public IP addresses
  2. No, a route to an internet gateway in the subnet's route table is required regardless of whether instances have public IPs
  3. Yes, but only if a NAT gateway also exists somewhere in the VPC
  4. No, subnets can never have instances with public IP addresses

AWS-SAA · vpc · Q002 · easy

A web server sits in a subnet protected by both a security group and the default network ACL. An inbound rule on the security group allows TCP 443 from 0.0.0.0/0. No outbound rule was added to the security group. What happens to the server's response traffic on port 443?

  1. The response is blocked because there is no matching outbound security group rule
  2. The response is automatically allowed because security groups are stateful and track connections
  3. The response is allowed only because the default NACL allows all traffic
  4. The response requires an explicit outbound rule permitting ephemeral ports back to the client

AWS-SAA · vpc · Q003 · easy

An architect places a NAT gateway inside a private subnet and updates that subnet's route table to send 0.0.0.0/0 traffic to the NAT gateway, hoping to give the private instances outbound internet access. The setup does not work. What is wrong?

  1. NAT gateways must be deployed in a public subnet that itself routes to an internet gateway
  2. NAT gateways can only be used with IPv6 traffic
  3. The route table update should point to the internet gateway instead
  4. NAT gateways require a security group allowing all outbound traffic

AWS-SAA · vpc · Q004 · easy

An instance in a public subnet is stopped and later started again. Before stopping it, the engineer wants its public-facing address to remain identical after the restart. Which approach guarantees this?

  1. Rely on the automatically assigned public IP, since AWS never changes it
  2. Associate an Elastic IP address with the instance before stopping it
  3. Add a static route in the route table for the instance's current public IP
  4. Enable "Auto-assign Public IP" on the subnet

AWS-SAA · vpc · Q005 · medium

VPC A is peered with VPC B, and VPC B is separately peered with VPC C. An engineer expects instances in VPC A to now be able to reach instances in VPC C through VPC B. The connection fails. Why?

  1. VPC peering connections are not transitive; A must be peered directly with C
  2. The CIDR blocks of A and C must be identical for this to work
  3. Peering connections expire after 24 hours unless renewed
  4. VPC B must enable a NAT gateway to forward traffic between A and C

AWS-SAA · vpc · Q006 · medium

A company wants private connectivity from a VPC to Amazon S3 without traversing the internet or a NAT gateway, and wants to avoid any hourly charge for the endpoint itself. Which VPC endpoint type meets this requirement, and how is it implemented?

  1. Interface endpoint, implemented as an Elastic Network Interface with a private IP in the subnet
  2. Gateway endpoint, implemented as a target added to the route table, with no hourly charge
  3. Interface endpoint, which is required for all AWS services including S3
  4. Gateway endpoint, which requires attaching an Elastic IP for private routing

AWS-SAA · vpc · Q007 · medium

A custom network ACL has rule #100 denying all traffic from 203.0.113.0/24, and rule #200 allowing all inbound traffic from 0.0.0.0/0. A request arrives from an address inside 203.0.113.0/24. What happens?

  1. The traffic is allowed because rule #200 covers a broader range and takes priority
  2. The traffic is denied because NACL rules are evaluated in ascending numeric order and the first match applies
  3. Both rules apply and their effects are combined, resulting in a partial allow
  4. The traffic is allowed because more specific CIDR ranges are always evaluated last

AWS-SAA · vpc · Q008 · medium

Two subnets exist in the same VPC. Subnet X's route table sends 0.0.0.0/0 to an internet gateway. Subnet Y's route table sends 0.0.0.0/0 to a NAT gateway that itself lives in subnet X. How should these two subnets be classified?

  1. X and Y are both public subnets because both eventually reach the internet
  2. X is a public subnet and Y is a private subnet
  3. X is a private subnet and Y is a public subnet
  4. Classification depends only on whether instances in the subnet have public IPs

AWS-SAA · vpc · Q009 · hard

A company has 12 VPCs that all need to communicate with each other and with an on-premises data center over a single VPN connection. Using only VPC peering, the required full mesh would need 66 separate peering connections and 66 corresponding sets of route table entries. Which alternative most directly solves both the connection-count and the transitive-routing problems?

  1. Attach all 12 VPCs and the VPN connection to a single Transit Gateway
  2. Create one central "hub" VPC and peer all 11 others to it
  3. Use VPC peering but summarize routes to reduce the entry count
  4. Replace all VPCs with a single VPC containing 12 subnets

AWS-SAA · vpc · Q010 · hard

An application currently calls the Amazon Kinesis API using its standard public regional endpoint hostname. The team creates an interface VPC endpoint for Kinesis with private DNS enabled, expecting to avoid code changes while removing the need for internet or NAT gateway access. Does this work, and why?

  1. Yes, because enabling private DNS makes the standard public hostname resolve to the endpoint's private IP addresses inside the VPC
  2. No, the application must be rewritten to use the VPC-endpoint-specific DNS name
  3. Yes, but only if the VPC's internet gateway is also removed first
  4. No, interface endpoints only support services accessed by IP address, never by hostname