AWS Certified Advanced Networking - Specialty Exam: Understanding VPC Subnets

Public and Private Subnets in VPC - Notable Features and Differences

Prev Question Next Question

Question

A user has created a VPC with public and private subnets using the VPC wizard.

Which of the below mentioned statements is not true in this scenario?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Answer - A.

Below is the general diagram of what is created when you have a private and public subnet used when using the VPC wizard.

So you will get the below options.

1)2 subnets - one private and one public.

2)One NAT instance to route traffic from the public to private subnet.

3)One internet gateway attached to the VPC.For more information on VPC and subnets , please visit the URL:

http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Scenario2.html
‘Custom route table

Destination Target

_
- 10004

19851 Joo. ( ca Ay @ i A joooone lal

toe. foo.2 (Eide IP 10008, o000%

low
198.51,}003 (Fiasie IP) 10.007 NAT gateway
Web servers 199 51.100.4 (Elastic

Public subnet

gateway
‘Main route table
Destination Target
— 10.09.06 local
; 000.000 ‘nat-gateway-id

The VPC wizard is a tool provided by Amazon Web Services (AWS) that simplifies the process of creating a virtual private cloud (VPC) by automating many of the configuration steps. When a user creates a VPC with public and private subnets using the VPC wizard, several components are created and configured automatically.

Let's analyze each statement to determine which one is not true in this scenario:

A. The VPC will create a routing instance and attach it with a public subnet. This statement is true. The VPC wizard automatically creates a routing table and attaches it to each subnet. The routing table contains routes for both the VPC and the internet, and a route to an internet gateway is added to the routing table for each public subnet. This allows traffic to flow between the public subnet and the internet.

B. The VPC will create two subnets. This statement is also true. The VPC wizard creates one public subnet and one private subnet in each availability zone (AZ) selected during the configuration process. The public subnet has a route to the internet gateway, while the private subnet does not.

C. The VPC will create one internet gateway and attach it to VP. This statement is also true. An internet gateway (IGW) is created automatically when the VPC is created, and it is attached to the VPC. The IGW allows traffic to flow between the VPC and the internet.

D. The VPC will launch one NAT gateway. This statement is not true. While the VPC wizard can create a NAT gateway for a private subnet, it is not created automatically when a VPC is created with public and private subnets. The user must create a NAT gateway separately and configure the private subnet to use it as a route to the internet.

Therefore, the answer is D - The VPC will launch one NAT gateway is not true in this scenario.