VPC Flashcards

1
Q

What is a VPC?

A

Virtual Private Cloud

Allows you to specify an IP address range for your VPC, add subnets, security groups, and route tables.

Networking layer of EC2.

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

How many VPC subnets can you add to each availability zone?

A

one or more

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

Subnet

A

Range of IP addresses in your VPC. Can launch AWS into a specified subnet.

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

How many route tables can a subnet be attached to?

A

Only one route table at a time

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

Resource that can be connected to the internet

A

Public subnet

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

Resource that won’t be connected to the internet

A

Private Subnet

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

How to connect a VPC to a corporate data center

A

IPsec AWS managed VPN connection

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

What 2 things is VPN Connection consist of?

A

Virtual Private Gateway

Customer Gateway

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

Virtual Private Gateway

A

VPN concentrator on Amazon side of the VPN connection attached to your VPC

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

Customer Gateway

A

physical device or software app on your side of the VPN located in you data center

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

How to move a virtual private gateway to AWS Transit Gateway without having to make any changes on your customer Gateway

A

AWS Site-to-Site Virtual Private Network (VPN)

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

Allows you to privately connect your VPC to supported AWS Services hosted on their AWS account.

A

AWS PrivateLink

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

Enable routing traffic between VPCs using private IP addresses

A

VPC peering connection

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

Can you create a VPC peering connection with VPC that have overlapping CIDR blocks?

A

No

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

Primary CIDR block

A

range of IPv4 addresses for VPC in form of CIDR block

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

How to allow VPC to access S3 bucket?

A

Create a VPC endpoint for S3,

or

Internet Gateway

or

NAT Instance/Gateway

17
Q

Allow Lambda to connect to VPC

A
  • ensure security group of Lambda allows outbound connections
  • add NAT gateway to VPC