VPCs Flashcards

1
Q

What is VPC?

A

The Virtual Private Cloud allows for provisioning an isolated section of AWS where resources can be launched, and have complete control over the environment.

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

What is a Bastion Host?

A

It is an EC2 instance in a VPCs public subnet that is used to SSH into another EC2 instance in a VPCs private subnet. Bastion Hosts are not for communicating back out to the internet.

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

What is the path from the internet to the server in a private subnet using a bastion host?

A

Access is through the Internet Gateway, which leads to the Router, which routes based on the Route Tables. Then passes through a Network ACL, which is like a firewall and first line of defense. It then passes to the EC2 Public subnet’s Security Group, which is the second “firewall”. This EC2 instance acts as Bastion Host, which is used to SSH into the EC2 instance in the Private subnet.

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

What is a NAT Gateway?

A

A NAT Gateway cannot be used as a Bastion Host.

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

What is VPC Peering?

A

Allows for the connection of one VPC to another. They both behave as if on the same network. VPCs can peer with other AWS account VPCs or VPCs in a different region.

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

What is VPC Transitive Peering?

A

Transitive Peering is where a VPC tries to peer through the central VPC into another VPC. A new peering connection would need to be set up, as transitive peering is not possible.

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

What do VPCs consist of at a minumum?

A

Internet Gateway, or Virtual Private Gateway for VPNs, Route Tables, NACL, Subnets, Security Groups.

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

True or False: Subnets can be spread across more than one AZ.

A

False, however, there can be multiple subnets in the same AZ.

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

When creating a custom VPC, what is automatically created?

A

Security Group, NACL, and a Route Table.

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

Steps to create VPC?

A

Create the basic VPC, then create the Pubic and Private subnets. Change “auto assign public ipv4” for the subnet that will be the public subnet.

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