VPC’s Flashcards

1
Q

What is the method for allocating IP’s called?

A

Classless Inter-Domain Routing (CIDR)

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

What defines how many bits can change in the IP?

A

A subnet mask

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

What is the max number of VPC’s you can have in an AWS region?

A

5

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

What is the max number of CIDR’s you can assign per VPC?

A

5

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

AWS reserves ____ in each subnet.

A

5 IP addresses (first 4 & last 1)

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

What allows resources in a VPC to connect to the internet?

A

An Internet Gateway (IGW)

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

Internet gateways on their own do not allow Internet access, what also must be edited?

A

The route tables

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

We can use __________ to SSH into our private EC2 instances

A

Bastion Host

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

Where is the Bastion Host located?

A

The public subnet

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

For a Bastion host, the security group MUST allow?

A

Access from the Internet on port 22 from a restricted CIDR

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

What does NAT stand for?

A

Network Address Translation

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

What allows EC2 instances in private subnets to connect to the Internet?

A

NAT Gateways

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

Where must the NAT Instance be launched?

A

In a public subnet

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

What setting must be disabled in NAT instance?

A

Source/destination check

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

What must a NAT Instance have attached to it?

A

An Elastic IP

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

Inside of a Nat Gateway, how must the route tables be configured?

A

For traffic to go from the private subnets to the NAT instance

17
Q

If you need to implement a VPC where you only want IPv6 instances to be able to connect out and receive responses then you should use what?

A

An Egress-Only internet Gateway

18
Q

Gateway endpoints provide a private-only resource inside a VPC or any resource inside a private-only VPC access to which services?

A

S3 and DynamoDB

19
Q

Gateway endpoints are highly available across _______________ in a region by default.

A

All Availability Zones

20
Q

Do Gateway endpoints go into a particular subnet?

A

No, it’s associated with a VPC but you just set which subnets are going to be used with it and it automatically configures the route on the route tables for those subnets.

21
Q

When you are implementing gateway endpoints, you can configure ________________, which allows you to control what things can be connected to that gateway endpoint?.

A

Endpoints Policy

22
Q

Gateway endpoints can only be used to access services within the same ____________