Protocols Flashcards

1
Q

What do protocols do?

A

determine the way of operation and define the procedure and rules that are governing

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

What is a network protocol?

A

a predefined set of messaging rules and message structures that the communicating entities in a computer network must follow

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

What is a protocol layer?

A

A group of related functions that are performed in a given level of a hierarchy of groups of related functions

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

What is protocol layering?

A

The division of complex network protocols into simple network protocols

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

How do protocols in different levels make use of each other?

A

Protocols in higher levels make use of protocols in lower levels

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

What is a layered protocol stack?

A

A set of horizontal protocols together with the interactions between the different layers

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

What is a vertical/monolithic protocol design? What does it avoid? When is it preferable?

A

An alternative protocol design that does not use protocol layering, and a single protocol instead governs everything

Overhead created by layering

Where resource management and optimisation are the main concerns

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

What are the two most widely-known network protocol stacks?

A

Internet TCP/IP Model

Open Systems Interconnection (OSI) Reference Model

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

How many layers does the Internet Model consist of? What are these layers ordered from highest to lowest?

A

Five Layers:

Application, Transport, Network, Link, Physical

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

What does the Application Layer of the Internet Model do? What does it ensure if all applications have the same underlying protocol?

A

Provides message formats and a well-defined interface to applications/software running on end devices

That they all communicate to web servers using the same rules and message formats

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

What are the packets of the Application Layer called? What are they? For example?

A

Messages

Structured data units exchanged between application programs across a network

HTTP Request Message:”Browser asks the server: ‘Please send me the homepage (index.html).

‘“HTTP Response Message:”Server replies to the browser: ‘Here is the homepage content.’”

SMTP Email Sending Message:”Email client says to the mail server: ‘I want to send an email from alice@example.com to bob@example.com.’

“SMTP Email Received Message:”Mail server says to the email client: ‘You have a new email from alice@example.com.’

FTP File Download Request:”User says to the FTP server: ‘I want to download the file report.pdf.’

“FTP File Download Response:”FTP server replies: ‘Here is the file report.pdf.’

DNS Query Message:”User’s computer asks the DNS server: ‘What is the IP address of www.example.com?’

“DNS Response Message:”DNS server replies: ‘The IP address of www.example.com is 192.0.2.1.’”

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

What is the Transport Layer responsible for? What does it keep track of and what does it do with it?

A

Responsible for the transport of application layer messages between remote processes

Keeps track application data from several processes and packages it in transport layer packets

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

What are the processes between which the transport layer ensures the transport of messages?

A

Programs or applications running on computers that communicate over a network

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

What are Transport Layer packets called? Crucially, what do these include?

A

Segments

Labelling

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

What are further responsibilities of the Transport Layer?

A

Reliable Data Transfer

Flow Control

Congestion control

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

What is flow control?

A

Matching the speed between the sender and the receiver

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

What is congestion control?

A

Keeping the network load below capacity

18
Q

What is the network layer responsible for? What is a network layer packet called?

A

End-to-end packet delivery between two devices that are attached to different (sub)networks

Datagram

19
Q

What is a network layer packet called? What is its payload?

A

Datagram

Transport layer segments

20
Q

What are the other functions of the network layer?

A

Logical Addressing

Routing

Error Handling

Quality of Service Control - capability of networks to provide different priority levels to different types of network traffic, ensuring that certain traffic receives preferential treatment over others

21
Q

What does a datagram pass through on its route?

A

Many routers and link between routers

22
Q

What is the primary responsibility of the data link layer? What are its other responsibilities? What are the two types of links?

A

Carrying network layer datagrams to the next node (either a router or the destination host) on the end-to-end route

Physical addressing, medium access control (MAC), link flow control, and error handling

Wired, Wireless

23
Q

What is the set of all devices interconnected via the link layer called?

A

Network/Subnet

24
Q

What is the primary responsibility of the physical layer?

A

The transmission of individual bits from one node to the next

25
Q

What are link layer packets called?

A

Frames

26
Q

What is the OSI Reference Model? What are its two additional layers?

A

An earlier model than the Internet Model that included two additional layers

Presentation and Session Layers

27
Q

Where does the Presentation Layer come? What is its primary responsibility? What are further, possible responsibilities?

A

Directly under Application Layer

Deals with differences in data representations of communcating entities by translating different character sets of hosts using different operating systems to each other

Compression/Decompression of Data and Encryption/Decryption

28
Q

Where is the Session Layer situated? What is its primary responsibility?

A

Underneath the Presentation Layer

Establishes, maintains, and closes communication sessions between remote processes

29
Q

What are the four primary principles of protocol layering?

A
  1. Create a layer when a different abstraction is needed
  2. Implement in each layer a well-defined service
  3. Minimise information flow across interfaces
  4. Choose services of the layer by accounting for internationally-standardised protocols
30
Q

What is a service in protocol layering? How does it differ from a protocol?

A

A set of primitive operations that a layer provides to the layer above it

Defines what operations are performed, but not how they are performed (which is what protocols do)

31
Q

What is the purpose of a service interface?

A

Defining how to access the services of the lower layer

32
Q

What is data encapsulation in protocol layering? What layers is it implemented by?

A

The practice of packaging data from higher layers of the Internet model within specific headers and trailers as it progresses downward through the protocol stack

All layers besides Physical Layer (as this only deals with bits and not data units)

33
Q

What are the four sources of delay in packet switched networks?

A
  1. Nodal Processing Delay
  2. Queueing Delay
  3. Transmission Delay
  4. Propagation Delay
34
Q

What causes nodal processing delay? For example?

A

Caused by routers processing every packet they receive in one of their network interfaces

Checking for bit errors inside the packet and determining the output link at which the packet needs to be transmitted

35
Q

What causes queueing delay? Why does it exist? What does it depend on?

A

Caused by packets having to wait in line in a packet queue at the selected outgoing link of the router to be transmitted

Since packets are transmitted one by one

Network packet traffic

36
Q

What is throughput? What must it be greater than?

A

The rate (bits/second) at which the bits that are pumpted into the network by the sender reach the destination

The minimum processing requirements of a given server

37
Q

What is transmission delay? What does it depend on? What is the transmission delay of L bits at throughput R bps?

A

Caused by the store and forward behaviour employed by routers

Throughput of the link

L/R seconds

38
Q

What is propagation delay? What is it equal to? When is it especially significant?

A

The time it takes for a single bit to take the distance across a wire or wireless medium

Distance divided by propagation speed

For very long links

39
Q

What is total nodal delay equal to?

A

The sum of the nodal processing delay, queueing delay of the node, transmission delay onto the next link, and the propagation delay experienced on that link

40
Q

What is end-to-end network packet delay? What is it equal to?

A

The time difference from the transmission instance of the first bit of a packet from the source until the reception of the last bit by the destination

The sum of all four delay components for all nodes passed through before reaching the destination

41
Q

When does data packet loss occur? For example?

A

If a packet arrives to a full queue at a router, as the packet must be discarded

If total delay between source and destination is too high, this may also cause situations which effectively translate to data loss - a video frame which takes longer to pass then its playback time

42
Q

What is a bottleneck link?

A

A unique link on an end-to-end path that constrains max throughput

That is, a segment of a network path where the capacity (bandwidth) is significantly lower than other segments along the same path