Question 61 · 475 in bank
A SysOps administrator is attempting to download patches from the internet into an instance in a private subnet. An internet gateway exists for the VPC, and a NAT gateway has been deployed on the public subnet; however, the instance has no internet connectivity. The resources deployed into the private subnet must be inaccessible directly from the public internet. Public Subnet (10.0.1.0/24) Route Table Destination Target - 10.0.0.0/16 local 0.0.0.0/0 IGW Private Subnet (10.0.2.0/24) Route Table Destination Target - 10.0.0.0/16 local What should be added to the private subnet’s route table in order to address this issue, given the information provided?
Show answer
Answer: B
Explanation
To enable instances in a private subnet to connect to the internet, you can create a NAT gateway or launch a NAT instance in a public subnet. Then add a route for the private subnet's route table that routes IPv4 internet traffic (0.0.0.0/0) to the NAT device. https://docs.aws.amazon.com/vpc/latest/userguide/route-table-options.html#route-tables-nat
Source: Adapted from community discussion — Christina666