CIS3210 Midterm

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/114

encourage image

There's no tags or description

Looks like no tags are added yet.

115 Terms

1
New cards

Two types of network ownership:

Public and Private

2
New cards

When multiple protocols are grouped together

Suite

3
New cards

Requires entities to follow the same rules

Interoperability

4
New cards

A set of rules on how to send and receive data

Protocol

5
New cards

Simplifies maintenance and updates

Modularization

6
New cards

HTTP and DNS

Application Protocols

7
New cards

TCP and UDP

Transport Protocols

8
New cards

IP and routing protocols

Network Protocols

9
New cards

Ethernet and Wi-Fi

Link Protocols

10
New cards

Order that Headers are added

Application, Transport, Network, Link, and Physical

11
New cards

Data at the application layer

Message

12
New cards

Data at the transport layer

Segment

13
New cards

Data at the network layer

Datagram

14
New cards

Data at the link layer

Frame

15
New cards

When a frame passes through a switch it replaces headers up to and including this layer

Link

16
New cards

When a frame passes through a router it replaces headers up to and including this layer

Network

17
New cards

Reason for heterogenous networks

No single technology meets every requirement

18
New cards

What is the concept of Universal Service?

A user on any computer in any organization can send messages to any other user

19
New cards

What is the primary device used to connect heterogeneous networks?

Router

20
New cards

A term used to describe the area that clients and servers are on in relation to the rest of the network

Network edge

21
New cards

The network that directly links an end system to the first router on the path to another distant end system

Access Network

22
New cards

The interconnected mesh of packet switches and links that connects the Internet’s end systems

Network core

23
New cards

Wi-Fi and Radio waves are examples of _______ ______

Unguided media

24
New cards

The architecture where there is traditionally one “responder” that is always on, and multiple queriers

Client-Server

25
New cards

The architecture that is more decentralized and bidirectional, and does not require an always on central responder

Peer-to-Peer

26
New cards

A socket is the _______ between a process and the network

Gateway

27
New cards

An IPv4 address has this many bits

32

28
New cards

An IPv6 address has this many bits

128

29
New cards

HTTP uses this well known port number

80

30
New cards

HTTP stands for

Hypertext Transfer Protocol

31
New cards

HTTP/1.1 and HTTP/2 run over this protocol

TCP

32
New cards

HTTPS uses this well known port number

443

33
New cards

HTTP does not require the server to retain client information between requests which makes it

Stateless

34
New cards

When every transfer requires its own TCP connection, that makes it

Non-persistent

35
New cards

When several transfers can happen on one TCP connection, this makes it

Persistent

36
New cards

The three parts of an HTTP Request Message

Method, Headers, Body

37
New cards

The three parts of an HTTP Response Message

Status, Header, Body

38
New cards

The status code 200 corresponds to

OK

39
New cards

The status code 301 corresponds to

Moved Permanently

40
New cards

The status code 400 corresponds to

Bad Request

41
New cards

The status code 404 corresponds to

Not Found

42
New cards

The status code 505 corresponds to

HTTP Version Not Supported

43
New cards

The main improvement of HTTP/2 from HTTP/1.1

Allows the changing of delivery order

44
New cards

Whereas HTTP/2 uses TCP, HTTP/3 runs over:

QUIC carried in UDP

45
New cards

HTTP/3 introduced built-in _______

Security

46
New cards

QUIC stands for:

Quick UDP Internet Connections

47
New cards

QUIC is not a transport-layer protocol, it is an __________ _______ that uses UDP to send and receive packets

application-layer sublayer

48
New cards

QUIC integrates ___ directly

TLS

49
New cards

HTTP/2 has two handshakes:

TCP and TLS

50
New cards

QUIC requires this many RTT handshakes

One

51
New cards

QUIC also introduced another timesaver called the:

0-RTT Connection Resumption

52
New cards

DNS stands for:

Domain Name System

53
New cards

DNS is this layer

Application

54
New cards

Mapping simple names to canonical hostnames is known as:

Host Aliasing

55
New cards

When DNS rotates returned addresses this is:

Load Distribution

56
New cards

The first layer of DNS Servers

Root

57
New cards

The middle layer of DNS Servers

Top Level Domain

58
New cards

The bottom layer of DNS Servers

Authoratative

59
New cards

What is the most common Top Level Domain?

.com

60
New cards

The role of a local DNS server is to act as a ______

Proxy

61
New cards

When the local DNS server asks each level of DNS server for the IP, this is a query that is:

Iterative

62
New cards

An Iterative DNS query uses this many DNS messages (queries + replies)

8

63
New cards

When the local DNS server asks the Root server, which asks the TLD server, which then asks the authoritative server, this is a query that is:

Recursive

64
New cards

A Recursive DNS query uses this many DNS messages (queries + replies)

8

65
New cards

DNS servers can save past DNS replies through

DNS caching

66
New cards

Local DNS servers can also cache _______ server addresses

TLD

67
New cards

DNS servers return their response in a:

Resource Record

68
New cards

A resource record is a four-tuple: (______________)

Name, Value, Type, TTL

69
New cards

This type of resource record maps a hostname to its IP address

A

70
New cards

This type of resource record maps a domain to the hostname of its authoritative DNS server

NS

71
New cards

This type of resource record maps an alias hostname to a canonical hostname

CNAME

72
New cards

This type of resource record maps a domain to the canonical name of a mail server

MX

73
New cards

The four parts of the body of a DNS query are:

Questions, answers, authority, and additional info

74
New cards

The four flags of a DNS query are:

query/reply, recursion desired, recursion available, reply is authorative

75
New cards

The compose/read/reply part of the E-mail process

User Agents

76
New cards

The part of the E-mail process that contains incoming messages for a user

Mail server

77
New cards

What protocol sends emails between mail servers

Simple Mail Transfer Protocol

78
New cards

In the E-mail process, mail servers can act as both _______ ____ ________

client and server

79
New cards

What protocol does SMTP use?

TCP

80
New cards

What port does SMTP use?

25

81
New cards

If an application is a house, then a socket is the

door

82
New cards

With UDP, every message requires a __________ __ ________ ____ _____

destination IP address and port

83
New cards

In Python, a UDP socket is made with socket(AF_INET, _____________)

SOCK_DGRAM

84
New cards

In Python, a TCP socket is made with socket(AF_INET, ______________)

SOCK_STREAM

85
New cards

What layer handles communications between processes on different hosts

Transport

86
New cards

What layer handles communications between hosts

Network

87
New cards

To combine data from sockets to prep for being sent, the data needs to be:

multiplexed

88
New cards

In order to break down the data and determine what sockets the data needs to first be

Demultiplexed

89
New cards

What is the range of well known port numbers

0 - 1023

90
New cards

How many ports exist on a client

65536

91
New cards

A UDP socket is uniquely identified by a ___-tuple

two

92
New cards

A TCP socket is uniquely identified by a ___-tuple

four

93
New cards

This is used to accept incoming TCP connections in the server side

Listening socket

94
New cards

UDP stands for

User Datagram Protocol

95
New cards

TCP stands for

Transmission Control Protocol

96
New cards

UDP and TCP are both examples of _________ protocols

transport

97
New cards

In addition to the source and destination port, a UDP segment also has these two headers

Length and checksum

98
New cards

How many bits is a UDP checksum

16

99
New cards

If UDP receives a datagram that fails the checksum validation, that datagram is __________ ________

silently discarded

100
New cards

Because a UDP header cannot contain the destination IP address, the address is supplied to IP by the

application