VPC Flashcards

1
Q

Whats the minimum CIDR block allowed and how many ips?

A

/28 (16 addresses)

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

Whats the maximum CIDR block allowed and how many ips?

A

/16 (65,536)

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

How can you get a single IPv6 assigned?

A

using a /56 CIDR block

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

Do IPv6 have a private type of ip address?

A

NO, no concept of public/private

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

what IP in a vpc is DNS available?

A

Base IP + 2 (10.0.0.1 is base, 10.0.0.3 will be dns)

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

How can you make ec2s in a VPC get a public dns host nam?

A

enableDnsHostnames option

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

How can you allow instances in the vpc to use the DNS ip address in the vpc?

A

enableDnsSupport option

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

How can you make a subnet in multiple AZ’s

A

you cant

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

⭐ can subnets’ ip CIDRs overlap with other subnets?

A

no, never

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

Can a subnet have a IPv6 CIDR

A

yes, but ONLY if the VPC it’s in has IP6 enabled

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

In subnet ip addressing, whats the network address?

A

The first IP (base ip) in the cidr

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

whats the “network +1 address” in vpc subnet cidr and what is it?

A

it’s the base ip +1 and it’s what aws uses as the vpc router

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

whats the “network +2 address” in the vpc subnet and whats is it?

A

ip address +2 above the base, and it’s used an the dns host

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

whats the network +3 address in the vpc subnet and what is it?

A

ip address +3 from the base, and it’s “reserved for future aws use” (but nothing is on it)

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

where is the broadcast ip in a vpc subnet and what is it for?

A

last ip address in the cidr range. It’s a network standard, but there’s no “broadcast” option in the vpc subnets.

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

what does the vpc router do by default?

A

routes trafic between subnets

17
Q

what is the Main route table

A

it’s the default table associated with a subnet when no other route tables are associated

18
Q

how many route tables can be associated with a vpc

19
Q

when a destination matches mutiple destinations in a route table, which one is selected?

A

the more specific (i.e. higher /route in the cidr)

20
Q

Whats the resilliancy of IGW?

A

Region resillient, i.e. you only need 1 for a region (and not per availablity zone)

21
Q

when do NACLs intervieve?

A

whenever a request crosses the boundary of a subnet, but not

22
Q

what NaCL rule number is used for a catch-all rule?

23
Q

how many subnets can a NACL be associated with?

A

many (any!)

24
Q

how many NACL’s can be associated to a subnet/

25
in vpc, what types of config(s) can you use to explicitly deny an ip address
NACL (but NOT security group)
26
can security groups reference aws logical resources?
yes
27
what are security groups attached to?
ENIs (network interfaces)
28
Do NAT gateways support security groups?
no
29
what kind of security can support NAT gateway?
NACLs
30
Do NAT gateways work with ipv4
yes
31
Do NAT gateways work with ipv6?
NO