Which of the following is not a type of subnet that you can host in a VPC.
Click on the arrows to vote for the correct answer
A. B. C. D.Answer - C.
The following types of subnets can be configured.
1
Public Subnet - In order to set up a public subnet, you have to configure its routing table so that traffic from that subnet to the Internet is routed through an Internet gateway associated with the VPC.
2
Private Subnets - For private subnets, traffic to the Internet can be routed through a special network address translation (NAT) instance.
3
VPN-only - By attaching a virtual private gateway to your VPC, you can create a VPN connection between your VPC and your own data center.
For more information on extending VPC's , one can visit the below URL:
https://d0.awsstatic.com/whitepapers/extend-your-it-infrastructure-with-amazon-vpc.pdfAmazon Virtual Private Cloud (VPC) is a service that enables you to create a private network within the AWS cloud. You can create subnets within a VPC to group and isolate resources based on their function and security requirements.
Subnets in VPC can be classified into the following types:
A. Public subnet: A subnet that has a route to the Internet Gateway (IGW). Instances in public subnets have a public IP address and can communicate with the internet.
B. Private subnet: A subnet that does not have a route to the IGW. Instances in private subnets have only private IP addresses and cannot communicate with the internet directly.
C. Direct Connect only subnet: A subnet that is used for Direct Connect traffic only. It is not used for instances in the VPC.
D. VPN-only subnet: A subnet that is used for VPN traffic only. It is not used for instances in the VPC.
Therefore, the answer to the question is C. Direct Connect only subnet, as it is not a type of subnet that you can host instances in a VPC. It is used only for Direct Connect traffic.