AWS Solutions Architect - VPC Flashcards
What is a VPC?
Virtual Private Cloud (VPC) is a virtual datacenter in AWS
What are the components of a VPC?
- Virtual Private Gateways (IGWs)
- Route Tables
- Network Access Control Lists (NACLs)
- Subnets
- Security Groups
True or False: subnets cross availability zones
False.
1 Subnet = 1 AZ
Security Groups are stateless, while Network Access Control Lists are stateful.
False: Security Groups are stateful; Network Access Control Lists are stateless
what is the command line to SSH into a public EC2 instance?
ssh ec2-user@[ip-address] -i [kvp-pem]
e.g. ssh ec2-user@34.244.98.3 -i MyVPCKP.pem
How many IPs are available in a /16 CIDR range?
65,536
How many IPs are available in a /24 CIDR range?
256
How many IPs are available in a /8 CIDR range?
16,777,216
16.7 Million
What is the maximum number of Internet Gateways a VPC can have?
1
How many IPs are available in a /22 CIDR range?
1024