Section 15 - VPC & Networking Flashcards
EC2 instance will get (the same static/a new) –public– IP address each time it has been stopped and then has to start again
A new IP address
EC2 instance will get (the same static/a new) –private– IP address (ie 192.168.x.x) each time it has been stopped and then has to start again
will remain static
What purpose does the elastic IP address serve?
It can grow and shrink to accommodate the number of users
Can only be used for elastic auto scaling
allows you to attach a -fixed- -public- IPv4 address to an EC2 instance
Is the preferred IP address for Mr. Stretch from the Fantastic Four
allows you to attach a -fixed- -public- IPv4 address to an EC2 instance
When will you incur costs for an elastic IPv4 address? (select two)
1 - if not attached to an EC2 instance
2 - will always incur a cost
3 - if the EC2 instance is stopped
4 - will never incur a cost
1 & 3
IPv4 has how many addresses?
15,653,178
256
4.3 billion
3.4 x 10 to the 38th addressess
4.3 billion
IPv6 has how many addresses?
15,653,178
256
4.3 billion
3.4 x 10 to the 38th addressess
3.4 x 10 to the 38th addressess
True or False: You can enable your VPC to utilize IPv6 instead of IPv4.
True
Every IPv6 address is:
Private
Can be either private or public
Named Fred
Public
Public
VPC is linked to a specific:
Edge location
Local Zone
Region
Availability zone
Region
Subnets in a VPC are associated with
Fred
the time of day
a region
an availability zone
an availability zone
To define access to the internet and between subnets, we use:
Switch tables
Route tables
Subnet tables
VPC tables
route tables
In a VPC, by default you (do/do not) have a private subnet
do not
In order for an EC2 instance to access the internet using a public IP address, we need to use:
a gaternet interway
a firewall
a NAT
an internet gateway
an internet gateway
In order for an EC2 instance to access the internet using a public IP address, we need to use:
a gaternet interway
a firewall
a NAT gateway
an internet gateway
an internet gateway
This will allow your instances in your private subnetsto access the internet while remaining private
a gaternet interway
a firewall
a NAT gateway (AWS-managed) / NAT instances (self managed)
an internet gateway
a NAT gateway (AWS-managed) / NAT instances (self managed)
When a private subnet is connected to a NAT gateway, what is the NAT gateway then attached to, to then allow traffic to the internet
a freeip freeway
a data bus
an internet gateway
a gatenet freeway
an internet gateway
NACL operates at which level
Region
Availability zone
subnet
gateway
subnet
The NACL filters traffic in/out of the subnet (after/before) it reaches the EC2 instance
before
a NACL can have what types of rules?
Red light green light rules
network rules
ALLOW & DENY rules
Rules? We don’t need no stinkin’ rules
ALLOW / DENY