Application Layer Flashcards

1
Q

What are the two possible structures of applications?

A

Client-Server

Peer to Peer (P2P)

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

The behaviours of a server are:

A

Always-on host
Permanent IP address
data centres for scaling

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

The behaviours of clients are:

A

communicate with server
may be intermittently connected
may have dynamic IP addresses
do not communicate directly with each other

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

Specifics of a P2P architecture?

A

no always-on server
arbitrary end systems directly communicate
peers request servie from other peers
provide service in return to other peers

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

What is ‘self scalabilty’?

A

In P2P architecture, new peers bring new service capacity, as well as new service demands.

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

what is a process

A

program running within a host

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

Within the same host, how do two processes communicate?

A

Using inter-process communication, which is defined by the OS.

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

How do processes in different hosts communicate?

A

By exchanging messages

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

What is the client process?

A

Process that initiates communication

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

What is the server process?

A

Process that waits to be contacted

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

How does a process send/receive messages?

A

To/from its socket

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

Why does a process need an identifier?

A

To receive messages

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

To receive messages, a process must have an :

A

An identifier

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

Does IP address of host on which process runs suffice for identifying the process?

A

Many processes can be running on same host

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

Identifier includes both:

A

IP address

Port numbers associated with process on host

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

App-layer protocol defines:

A
types of messages exchanged
message syntax
message semantics
rules
open protocols
proprietary protocols
17
Q

What transport service does an app need?

A

data integrity
timing
throughput
security

18
Q

What is data integrity?

A

Some apps require 100% reliable data transfer

Other apps can tolerate some loss (audio)

19
Q

What is timing in relation to transport service?

A

Some apps require low delay to be effective (games)

20
Q

What is throughput in relation to transport service?

A

Some apps require minimum amount of throughput to be effective.

Other apps make use of whatever throughput they get (elastic apps)

21
Q

What is an elastic app?

A

An app that makes use of whatever throughput it can get

22
Q

Transport protocol specs of TCP service:

A
Reliable transport
flow control
congestion control
does not provide:timing, minimum throughput guarantee, security
Connection - oriented
23
Q

UDP service transport protocol specs:

A

unreliable data transfer
does not provide: reliabiity, flow control, congestion control, timing, throughput guarantee, security, of connection setup.

24
Q

Why is there UDP?

A

Good to get a simple answer to another server quickly.

Delivering data that will quickly be replaced/updated. Like weather, gaming data.

25
Q

what is the security of TCP & UDP?

A

No encryption

cleartext passwords sent into socket traverse internet in cleartext

26
Q

What is the security of SSL?

A

provides encrypted TCP connection
data integrity
end-point authentication