PassDrill Free practice questions with explanations that actually teach.

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