VPC Flashcards

1
Q

Simply put, subnets exist to :

A

Allow routes to make routing decisions for a group of resources with the same logic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the two parts of each ip address?

A

The network address (aka server address) and the host address (aka client address)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

A subnet mask does what?

A

Splits the ip address into two sections, the network address and the host address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does a gateway do?

A

Connects local devices in a network to other networks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Default subnet mask of Class A networks

A

255.0.0.0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Default subnet masks of Class B networks

A

255.255.0.0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Default subnet mask for class C networks

A

255.255.0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

IANA stands for

A

Internet Assigned Numbers Authority

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

IGW vs NAT gateway

A
Internet Gateway (IGW) allows instances with public IPs to access the internet.
NAT Gateway (NGW) allows instances with no public IPs to access the internet.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

how to enable traffic to or from instances in a subnet in a VPC

A

1) Create an internet gateway and attach it to your VPC.
2) Add a route to your subnet’s route table that directs internet-bound traffic to the internet gateway.
3) Ensure that instances in your subnet have a globally unique IP address (public IPv4 address, Elastic IP address, or IPv6 address).
4) Ensure that your network access control lists and security group rules allow the relevant traffic to flow to and from your instance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

ROUTE table differences between PUBLIC, PRIVATE, ISOLATED

A

PUBLIC: route table has a 0/0 igw entry
PRIVATE: route table has a 0/0 ngw entry
ISOLATED: route table has no 0/0 entry

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Is there ANY way for an isolated subnet to still communicate w/ a device on a different network (e.g. on the public internet?)

A

im pretty sure. I think you can just have it communciate wi a device that is reachable on it’s route table and still within say the vpc, but then that device reachable to it is in a different subnet B in the vpc, and that different subnet B has a 0/0 igw or ngw entry

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

are s3 buckets in a vpc?

A

no they live out of any VPC, but you can make make it accessible only from your VPC with VPC Endpoints if the content you are going to store on S3 musn’t be available from the public Internet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

can you change the VPC of an RDS instance?

A

Yes, but after doing certain things

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Can you change the subnet group of an RDS instance within the same VPC?

A

No, but yes via some workarounds.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

what is an example of something an ENI would be attached to?

A

a NAT Gateway

17
Q

ENI stands for

A

Elastic Network Interface