Networking - VPC Flashcards

1
Q

WW.XX.YY.ZZ/32 is how many IPs

A

one IP

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

0.0.0.0/0 is how many IPs?

A

all IPs

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

The subnet masks defines how many ___ can change in the IP?

A

bits

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

How do you calculate how many IP’s can exist from the subnet mask?

A

/31 allows for 2 IP = 2^1

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

How many VPC’s can attach to an internet Gateway?

A

Only one

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

What does enableDnsSupport: (= DNS Resolution setting) do?

A

Helps decide if DNS resolution is supported for theVPC

• IfTrue,queriestheAWSDNSserverat169.254.169.253

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

Explain • enableDnsHostname: (= DNS Hostname setting)

A
  • False by default for newly created VPC,True by default for Default VPC
  • Won’t do anything unless enableDnsSupport=true
  • IfTrue,Assign public hostname to EC2 instance if it has a public
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What’s a Network ACL?

A

• NACL are like a firewall which control traffic from and to subnet

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

How many NACL’s per subnet?

A

One

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

Define NACL rules? What’s takes precedence?

A

Rules have a number (1-32766) and higher precedence with a lower number

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

NACL are a great way of blocking a specific __ at the ___ level

A

IP, subnet

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

What does VPC endpoints allow you to do?

A

Endpoints allow you to connect to AWS Services using a private network instead of the public www network

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

VPC Endpoints Interface does what?

A

provisions an ENI (private IP address) as an entry point (must attach security group) – most AWS services

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

VPC Endpoints Gateway does what?

A

provisions a target and must be used in a route table – S3 and DynamoDB

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

What’s the point of flow logs?

A
  • Capture information about IP traffic going into your interfaces: • VPC Flow Logs
  • Subnet Flow Logs
  • Elastic Network Interface Flow Logs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

You can use Bastion hosts to?

A

SH into our private instances

17
Q

What’s the purpose of Direct connect?

A

Provides a dedicated private connection from a remote network to your VPC

18
Q

Egress Only Internet Gateway is used for what?

A

Egress only Internet Gateway is for IPv6 only