VPC: Virtual Private Cloud Flashcards
Can VPCs owned by the same AWS account talk to each other be default?
No. VPCs are isolated by default. They must be configured to talk to other resources, such as other VPCs.
What is a Virtual Private Cloud (VPC)?
A virtual network inside AWS.
Are VPCs global, Region, or AZ services?
Region
What is the default access setting for a Custom VPC?
Private and isolated. Nothing can communicate with a Custom VPC unless you configure the VPC to allow it.
How many Default VPCs are allowed per Region?
One.
What is the default VPC CIDR for the Default VPC?
172.31.0.0/16
Where are VPC subnets located?
In Availability Zones.
How many subnets does the default VPC have and where are they located?
The Default VPC for a Region has one subnet in each AZ in the Region.
How resilient are subnets?
Subnets are AZ resilient.
Can the Default VPC be deleted?
Yes.
Can the VPC CIDR of the Default VPC be changed?
No. It is always 172.31.0.0/16 and cannot be changed.
How large are the subnets in the Default VPC?
/20 which is 4096 IP addresses.
What type of IP addresses do resources that are deployed into the Default VPC receive automatically?
Public IPv4 addresses.
What are the minimum and maximum sizes of a VPC inside AWS?
The minimum is /28 which is 16 IP addresses.
The maximum is /16 which is 65535 IP addresses.
How resilient is a VPC?
VPCs are Region resilient.
What is dedicated tenancy for a VPC?
All resources created inside the VPC have to be on dedicated hardware.
When assigning an IPv6 CIDR block to a custom VPC, what size must the block be?
/56, but the block must either be assigned by AWS or you must use addresses that you own.
What is the Route 53 DNS IP address in a VPC?
Base IP + 2
What option must be set to enable DNS resolution (using the Base IP + 2 address) in a VPC?
enableDnsSupport
What option must be set to give resources DNS names?
enableDnsHostnames
What is the maximum number of Availability Zones that a subnet can be in?
One.
Can subnet IP ranges overlap with other subnets?
No.
What are the reserved IP addresses in an AWS subnet?
- Network address (x.y.z.0)
- Network + 1 address (x.y.z.1) - VPC router
- Network + 2 address (x.y.z.2) - DNS
- Network + 3 address (x.y.z.3) - Reserved
- Broadcast address (x.y.z.255) - Broadcast
How many Availability Zones does a VPC’s router run in?
Every AZ that the VPC uses.
What address is used to access the VPC’s router in each subnet?
The Network + 1 address.
What set of rules defines how a VPC router operates?
A route table.
What notation is used to specify the default route in an AWS routing table?
0.0.0.0/0 for IPv4
::/0 for IPv6
If routes in the routing table overlap, which route has a higher priority?
The route with the higher prefix value because it is more specific. The exception is the default local routes which always take priority and route traffic within the VPC.
How many subnets can a route table be attached to?
Zero or more.
How many route tables can a subnet have?
One.
How resilient is an Internet Gateway (IGW)?
An IGW is Region resilient.
How many Internet Gateways can a VPC have?
Zero or one.