Internet Gateways (IGW) Flashcards

1
Q

What is an AWS Public Zone?

A

AWS zone that hosts only aws services, such as S3, dynamodb, sqs, etc

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

What are the names of the two public facing zones?

A

1) AWS Public Zone
2) Public Internet

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

True or false: traffic leaving your vpc to access aws public services will need to traverse the internet before arriving to the aws public services.

A

False; traffic sourced from your vpc to the aws public zone never leaves the aws network.

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

From a vpc, what is used to access the aws public zone or the internet?

A

An internet gateway (IGW)

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

What is an internet gateway?

A

A VPC component that allows communication between the vpc and the aws public zone and/or the internet.

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

True or false: internet gateways support only ipv4 addresses.

A

False; they also support ipv6 addresses.

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

How many VPCs can be attached to an IGW?

A

Only one vpc can be attached to one gateway, so one VPC per an IGW.

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

True or false: IGWs can only attach to one Availability zone within one region.

A

False; One IGW can attach to multiple availability zones that are only in the same region.

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

What are the 4 steps to enable private subnets access to the internet?

A

Create an internet gateway and attach it to your VPC.

Add a route to the route table for the subnet that directs internet-bound traffic to the internet gateway.

Ensure that instances in your subnet have a public IPv4 address or an IPv6 address.

Ensure that your security groups and network access control lists allow the desired internet traffic to flow to and from your instances.

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

When using IPv6, what kind of IGW should be used? and why?

A

The Egress IGW should be used to only allow outbound traffic from the vpc to the internet. This blocks inbound traffic.

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

How many internet gateway objects can be attached to one vpc?

A

Two: the internet gateway and the egress internet gateway.

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

What are the steps to attaching an internet gateway and associating public subnets to it? Hint: 5 steps

A

1) Create the IGW
2) Enable the subnet to auto-assign public subnets
3) Create a custom route table
4) Create a default route for both ipv4 and ipv6 and attach the routes to the gateway
5) Associate the subnets to this route table

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