Quiz chapter 1, 2, 3 & 8 Flashcards

1
Q

What is a message on the application layer called?

A

Message

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

What is a message on the Transport layer called?

A

Segment

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

What is a message on the Network layer called?

A

Datagram

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

What is a message on the Link layer called?

A

Frame

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

What is a message on the Physical layer called?

A

Bits

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

What are all the protocol layers together called?

A

Protocol stack

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

What does SMTP stand for and what is it used for?

A

Simple Mail Transfer Protocol
Is used for sending emails

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

What does IMAP and POP stand for and when are they used?

A

Internet Message Access protocol
and
Post Office Protocol
are used for recieving email

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

What does HTTP stand for and what is it used for?

A

Hypertext Transfer Protocol
is used to
Transfer Web messages

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

What does DNS stand for and what is it used for?

A

Domain Name System
is used to
translate domain names to the actual IP-address

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

What does TCP stand for and what is it used for?

A

Transmission controll protocol
is used for
Reliable unencrypted byte-oriented data stream

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

What does TLS stand for and what is it used for?

A

Transport layer security
is used for
Reliable encrypted byte-oriented data stream

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

What does UDP stand for and what is it used for?

A

User Datagram Protocol
is used for
Segments without reliable data transfer

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

Name two service quality guaranties TCP gives

A

-In-order data delivery
-Reliable data transfer

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

True or false?
When UserDatagramProtocol is used, then any fault correction is up to the application

A

True!

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

For a TransmissionContolProtocol connection, can the number of unackowledged bytes be larger than the receiver buffer?

A

No
respect the receiver buffer🙏🏼

17
Q

Do UDP traffic towards the same application in a server use a common socket?

A

Yessir!
Even if the traffic comes from different clients

18
Q

What is the purpose of nonces in an end-point authentication protocol and in the TLS
handshake?

A

Defend against connection replay attacks.

19
Q

The acknowledged number (ACK) is cumulative, meaning it can acknowledge more than one received segment

A

Yes!
the ack number confirms the number of bytes the sender of the message (can be both Client and Server) has received up until now. This ACK number indicates that the other parts (either client or server) Sequence number on the next segment sending should be this number.

20
Q

TCP has a timer waiting for ACK on transmitted segments. What happens if timeout occurs?

A

The oldest unacknowledged segment is re-transmitted, and timer is re-started.

21
Q

TCP views data as a stream of bits, bytes or messages?

A

BYTES 🐒

22
Q

TCP sends segments where the sequence number (SEQ) field in TCP header is the sequence number of the first byte in the payload.

A

Yes
This accounts for both server and client. As the client also need to send some payload to the server during a TCP connection, such as a GET request

23
Q

The client TCP starts the three-way-handshake by sending a SYN request (i.e. a segment with SYN-bit set to 1 often referred to as the phantom-bit).

A

true 🐥
The client initiates contact with a SYN request
Server responds with at SYN/ACK message
Client confirms the handshake with an ACK message
Contact = TRUE

24
Q

The connection is finally closed when both sides have sent a FIN request and received an ACK response.

A

YES 🦖
In total 4 TCP messages, 2 FIN requests and 2 ACK responses
Contact = terminated