A user has created a VPC with public and private subnets using the VPC wizard. The VPC has CIDR 20.0.0.0/16. The private subnet uses CIDR 20.0.0.0/24 . The NAT instance ID is i-a12345. Which of the below mentioned entries are required in the main route table attached with the private subnet to allow instances to connect with the internet?

Q & ACategory: QuestionsA user has created a VPC with public and private subnets using the VPC wizard. The VPC has CIDR 20.0.0.0/16. The private subnet uses CIDR 20.0.0.0/24 . The NAT instance ID is i-a12345. Which of the below mentioned entries are required in the main route table attached with the private subnet to allow instances to connect with the internet?
Admin Staff asked 5 years ago

A user has created a VPC with public and private subnets using the VPC wizard. The VPC has CIDR 20.0.0.0/16. The private subnet uses CIDR 20.0.0.0/24 . The NAT instance ID is i-a12345. Which of the below mentioned entries are required in the main route table attached with the private subnet to allow instances to connect with the internet?

A) Destination: 0.0.0.0/0 and Target: i-a12345
B) Destination: 20.0.0.0/0 and Target: 80
C) Destination: 20.0.0.0/0 and Target: i-a12345
D) Destination: 20.0.0.0/24 and Target: i-a12345

1 Answers
Admin Staff answered 5 years ago

D) Destination: 20.0.0.0/24 and Target: i-a12345