DistributedSystems Flashcards

1
Q

What is a distributed system?

A

A collection of independent computers that appears to users as a single coherent system.

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

List benefits of distributed systems.

A

Resource sharing, computation speedup, reliability, communication between users.

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

What are the main challenges in distributed systems?

A

Coordination, fault tolerance, security, consistency.

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

What is a process in a distributed system?

A

A running program that may communicate with processes on other machines.

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

How do processes communicate in distributed systems?

A

Using message passing through sockets.

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

What is a socket?

A

An endpoint for communication between two machines.

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

What are the two types of socket programming?

A

UDP (connectionless) and TCP (connection-oriented).

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

Describe the basic steps in a UDP client-server communication.

A

Client sends datagram to server, server processes it and sends a response.

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

Describe the basic steps in a TCP client-server communication.

A

Client connects to server, establishes a TCP connection, exchanges messages.

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

What is Remote Procedure Call (RPC)?

A

A mechanism for invoking a procedure on a remote machine as if it were local.

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