Technical Essentials - Networking Flashcards

1
Q

IPv4 notation

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

CIDR notation

192.168.1.30 is a single IP address. If you want to express IP addresses between the range of 192.168.1.0 and 192.168.1.255, how can you do that?

One way is to use CIDR notation. CIDR notation is a compressed way of representing a range of IP addresses. Specifying a range determines how many IP addresses are available to you.

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

A ____ is an isolated network that you create in the AWS Cloud, similar to a traditional network in a data center.

A

virtual private cloud (VPC)

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

When you create an Amazon VPC, you must choose three main factors:

  • Name of the VPC
  • Region where the VPC will live (A VPC spans all the Availability Zones within the selected Region)
  • IP range for the VPC in CIDR notation – This determines the size of your network. Each VPC can have up to five CIDRs: one primary and four secondaries for IPv4. Each of these ranges can be between /28 (in CIDR notation) and /16 in size.
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

In AWS, ____ are used to provide high availability and connectivity options for your resources.

A

subnets

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

Use a ____ subnet for resources that must be connected to the internet.
Use a ____ subnet for resources that won’t be connected to the internet.

A

public
private

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

When you create a subnet, you must specify the following:

  • VPC that you want your subnet to live in—in this case: VPC (10.0.0.0/16)
  • Availability Zone that you want your subnet to live in
  • IPv4 CIDR block for your subnet, which must be a subset of the VPC CIDR block
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

When you launch an EC2 instance, you launch it inside a ____, which will be located inside the Availability Zone that you choose.

A

subnet

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

When you create your subnets, keep high availability in mind. To maintain redundancy and fault tolerance, create at least ____ subnets configured in ____ Availability Zones.

A

two
two

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

For AWS to configure your VPC appropriately, AWS reserves five IP addresses in each subnet. These IP addresses are used for routing, Domain Name System (DNS), and network management.

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

To activate internet connectivity for your VPC, you must create an internet ____.

A

gateway

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

A ____ connects your VPC to another private network.

A

virtual private gateway

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

When you create and attach a virtual private gateway to a VPC, the gateway acts as anchor on the AWS side of the connection.
On the other side of the connection, you will need to connect a customer gateway to the other private network.
A customer gateway device is a physical device or software application on your side of the connection.
When you have both gateways, you can then establish an encrypted ____ connection between the two sides.

A

virtual private network (VPN)

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

To establish a secure physical connection between your on-premises data center and your Amazon VPC, you can use ____.

A

AWS Direct Connect

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

With AWS ____, your internal network is linked to an AWS Direct Connect location over a standard Ethernet fiber-optic cable.

A

Direct Connect

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

A ____ contains a set of rules, called routes, that are used to determine where network traffic is directed.

A

route table

17
Q

When you create a VPC, AWS creates a route table called the main route table.

18
Q

AWS assumes that when you create a new VPC with subnets, you want traffic to flow between them.
Therefore, the ____ configuration of the main route table is to allow traffic between all subnets in the local network.

19
Q

The following rules apply to the main route table:

  • You cannot delete the main route table.
  • You cannot set a gateway route table as the main route table.
  • You can replace the main route table with a custom subnet route table.
  • You can add, remove, and modify routes in the main route table.
  • You can explicitly associate a subnet with the main route table, even if it’s already implicitly associated.
20
Q

The main route table is used implicitly by subnets that do not have an explicit route table association.
However, you might want to provide different routes on a per-subnet basis for traffic to access resources outside of the VPC.
If you associate a subnet with a custom route table, the subnet will use it instead of the main route table.

21
Q

Each custom route table that you create will have the local route already inside it, allowing communication to flow between all resources and subnets inside the VPC.
You can protect your VPC by explicitly associating each new subnet with a custom route table and leaving the main route table in its original default state.

22
Q

A ____ lets you control what kind of traffic is allowed to enter or leave your subnet.
You can configure this by setting up rules that define what you want to filter.
It acts as a virtual firewall at the subnet level.
Network ACLs are considered ____.

A

network ACL
stateless

23
Q

The ____ network ACL allows all traffic in and out of the subnet. To allow data to flow freely to the subnet, this is a good starting place.

24
Q

Because network ACLs are configured by default to allow incoming and outgoing traffic, you don’t need to change their initial settings unless you need additional security layers.

25
Q

You can secure EC2 instances with ____ groups.
It acts as a virtual firewall at the instance level.

26
Q

The default configuration of a security group ____ all inbound traffic and ____ all outbound traffic.

A

blocks
allows

27
Q

Security groups are ____.
That means that they will remember if a connection is originally initiated by the EC2 instance or from the outside, and temporarily allow traffic to respond without modifying the inbound rules.

28
Q

If you want your EC2 instance to accept traffic from the internet, you must ____.

A

open up inbound ports

29
Q

A common design pattern is to organize resources into different groups and create ____ for each to control network communication between them.

A

security groups