VPC Flashcards
This deck aims to help retain concepts related to the AWS VPC service.
What AWS service creates a logically isolated virtual network similar to a traditional network, but with the scalability of the cloud?
Virtual Private Cloud (VPC)
How do you enable DNS resolution within a VPC?
Use the Enable DNS resolution configuration component
How do you provide public DNS names for public instances within a VPC?
Use the Enable DNS hostnames configuration component
Which minimum and maximum IPv4 CIDR blocks are allowed when creating a VPC?
Minimum /28, Maximum /16
Which IPv6 CIDR block is assigned when creating a VPC?
/56
What VPC configuration component controls DNS servers, domain names, NTP servers, and the DNS resolution state for devices within a VPC? (Note: This component cannot be edited, only recreated)
DHCP Options Set
Name the logical subdivision of a VPC residing within a specific Availability Zone (AZ), representing a network segment with a range of IP addresses.
Subnet
Can subnets within the same VPC communicate with each other?
Yes, by default, services running in different subnets within the same VPC can communicate with each other
How many IP addresses are reserved within a subnet, and why?
Five IP addresses are reserved:
Network address
Network + 1 (for router)
Network + 2 (for DNS)
Network + 3 (for future AWS use)
Network broadcast address
Does VPC support broadcast communication?
No, VPC does not support broadcast communication
How do you automatically assign a public IP address to new instances within a subnet?
Use the Auto-assign public IPv4 address or Auto-assign IPv6 address configuration component for the subnet
What are some important considerations for designing a VPC?
Consider the size, network (overlapping CIDR ranges within VPC, Cloud, On-premises, Partners, etc.), structure (tiers, resiliency, and availability), and avoid common IP ranges (e.g., 10.0.0.0/16, 10.1.0.0/16)
What component implicitly manages traffic flow within a VPC?
The VPC Router (uses the network + 1 IP address)
What VPC component defines how network traffic from your subnet or gateway is directed?
Route table. Each subnet must be associated with a route table containing a set of rules called routes
How many route tables can a VPC subnet be associated with?
One, and only one
How many VPC subnets can be associated with a single route table?
A route table can be shared with multiple subnets
Which route table is used by default for subnets that aren’t associated with a custom one?
The VPC main route table
In a route table, which prefix has higher priority: /16 (VPC) or /32 (single IP)?
/32. In a route table, the more specific prefix (higher number) takes priority
Which routes are always present and uneditable in a route table, and ALWAYS take priority?
Local routes