10. VPC Flashcards

1
Q

What is a VPC?

A

Virtual Private Network

  • a private network to deploy your resources (regional resource)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a public subnet?

A

A subnet that is accessible from the internet

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

What is a private subnet?

A

A subnet that is not accessible from the internet

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

What do you use to define access to the internet and between subnets?

A

Route Tables

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

What is an internet gateway?

A

VPC component that allows communication between your VPC and the internet

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

NAT Gateways are ___-managed

A

NAT Gateways are AWS-managed

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

NAT Instances are ___-managed

A

NAT Instances are self-managed

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

What do NAT Gateways and NAT Instances do?

A

They allow your instances in private subnets to access the internet while remaining private

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

What is a NACL?

A

Network ACL

  • a firewall which controls traffic from and to a subnet
  • can have ALLOW and DENY rules
  • rules only include IP addresses
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a Security Group?

A
  • a firewall that controls traffic to and from an ENI / an EC2 Instance
  • can only have ALLOW rules
  • rules include IP addresses and other security groups
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What do VPC Flow Logs do?

A
  • capture information about IP traffic going into your interfaces
  • help to monitor and troubleshoot connectivity issues
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is VPC Peering?

A
  • VPC peering connects to VPCs privately using AWS’ network
  • make them behave as if they were in the same network
  • cannot have overlapping CIDR
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Is a VPC Peering connection transitive?

A

No.

You must establish a connection for each VPC that need to communicate with one another (i.e. a connection from A to B and B to C does not allow A to communicate with C)

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

What are VPC Endpoints?

A

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

  • provides enhanced security and lower latency
  • only used within your VPC
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the two types of VPC endpoints?

A
  1. Interface endpoints
  2. Gateway endpoints
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Which services use gateway endpoints?

A

S3 and DynamoDB

17
Q

Which services use interface endpoints?

A

Everything except S3 and DynamoDB

18
Q

What is Direct Connect (DX)?

A

A physical connection between on-premisis and AWS