Networking Flashcards

1
Q

when is a subnet public

A

if a subnet’s traffic is routed to an internet gateway

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

when is a subnet private

A

if a subnet doesn’t have a route to the internet gateway

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

what is vpn-only subnet

A

no route to the internet gateway but traffic is routed to a virtual private gateway for a VPN connection

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

what is CIDR block

A

na

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

internet gateway (IGW)- what does it do?

A

Allows communication between instances in VPC and the internet

  1. provide a target in VPC route tables for traffic
  2. perform NAT for public IPv4 instances
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

how to create IGW

A

IGW must be created, attached to VPC, added to a route table and associated with subnet

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

can you have multiple IGW

A

no- can only attach 1 to a VPC

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

what is VPG- virtual private gateway

A

VPC endpoint on the AWS side

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

how to enable internet access for instances in a subnet

A

attach IGW, subnet’s route table points to IGW, instances have a globally unique IP address, ensure network access control and security group rules allow traffic

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

how to ensure subnet’s routing table points to the IGW

A

update subnet route table to point to IGW to all destinations e.g. 0.0.0.0/0 for IPv4 or ::/0 for
or specific IPv4 addresses e.g. public endpoints outside of AWS

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

what is egress only IGW

A

provides outbound internet access but prevents inbound access
use egress only IGW instead of NAT for IPv6

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

what do you know about NAT instances

A

these are managed by you

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

what is NAT gateway

A

fully managed NAT service that replaces NAT instances on EC2

must be in public subnet

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

what is security group

A

acts like a firewall at the instance level
operates at the network interface level
can only assign permit rules, no deny rules

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

what is security group’s default setting

A

custom security groups do not have inbound allow rules i.e. all inbound traffic is denied
inbound allow rules i.e. allowing traffic from within the group

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

what is network ACL

A

ACL’s function at the subnet level

17
Q

What is a CNAME Record?

A

A Canonical Name (CNAME) Record is used in the Domain Name System (DNS) to create an alias from one domain name to another domain name. A common example is the www subdomain which is provided as an alias to the root domain name - users accessing “www.example.com” are referred to the root domain (or DNS zone apex) “example.com”.