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. Which of the below mentioned entries are
required in the main route table to allow the instances in VPC to communicate with each other?
A.
Destination : 20.0.0.0/24 and Target : VPC
B.
Destination : 20.0.0.0/16 and Target : ALL
C.
Destination : 20.0.0.0/0 and Target : ALL
D.
Destination : 20.0.0.0/16 and Target : Local
Explanation:
A user can create a subnet with VPC and launch instances inside that subnet. If the user has
created a public private subnet, the instances in the public subnet can receive inbound traffic
directly from the Internet, whereas the instances in the private subnet cannot. If these subnets arecreated with Wizard, AWS will create two route tables and attach to the subnets. The main route
table will have the entry “Destination: 20.0.0.0/24 and Target:
Local”, which allows all instances in the VPC to communicate with each other.
D?
Yes D
D
D