wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

DistributedSystems-Distributed Part

Total questions: 97

Worksheet time: 1hrs 10mins

Name
Class
Date
1.

HPC

a)

high performance computing

b)

raw speed/ move 4 people

c)

high throughput computinng

d)

serve many requests simultaneosly

2.

HTC

a)

high performance computing

b)

raw speed/ move 4 people

c)

high throughput computinng

d)

serve many requests simultaneosly

3.

___ high performance computing – Raw speed – Move 4 people

a)

HTC

b)

HPC

4.

___ high throughput computing – Serve many requests simultaneously – Move 160 people

a)

HTC

b)

HPC

5.

Amdahl's Law

= _/(_-_)+(_/_)

(Left to right)

a)

1,1,p,p,n

b)

1,1,1,p,n

c)

1,p,p,p,n

d)

1,n,p,p,n

6.

n

a)

is the speedup of the part of the task that benefits from improved system resources

b)

is the proportion of execution time that the part benefiting from improved resources originally occupied

c)

is the theoretical speedup of the execution of the whole task

7.

S_latency

a)

is the speedup of the part of the task that benefits from improved system resources

b)

is the proportion of execution time that the part benefiting from improved resources originally occupied

c)

is the theoretical speedup of the execution of the whole task

8.

p

a)

is the speedup of the part of the task that benefits from improved system resources

b)

is the proportion of execution time that the part benefiting from improved resources originally occupied

c)

is the theoretical speedup of the execution of the whole task

9.

What means XaaS

a)

Cloud Services Models

b)

Execution as a Service

c)

Functions as a Service

d)

Infrstructure as a Service

10.

What means SaaS

a)

Cloud Services Models

b)

Software as a Service

c)

Functions as a Service

d)

Infrstructure as a Service

11.

What means IaaS

a)

Cloud Services Models

b)

Software as a Service

c)

Functions as a Service

d)

Infrstructure as a Service

12.

What means PaaS

a)

Cloud Services Models

b)

Software as a Service

c)

Functions as a Service

d)

Platform as a Service

13.

Please fill in each the first 5 layer of the stack​

  1. 1. ​

  2. 2.​

  3. 3.​

  4. 4.​ ​

  5. 5.​



(a)  

14.

Please fill in each the last 4 layer of the stack​

  1. 4. ​

  2. 5.​ ​

  3. 6.​

  4. 7.​ ​



(a)  

15.

What are the two different ways for Client-Server Processes?

Application- (a)   protocol

16.

9 Communication and Naming 9.1 Client-Server Processes

Middleware-level solutions: client machine is used only as a (a)   with no need for local storage, leading to an application-neutral solution

17.

What are the different type of servers in a client-server process, besides Server clusters

(a)  

18.

What is a key characteristic of an Iterative server?

a)

a. Handles multiple requests simultaneously

b)

b. Handles requests before attending the next request s

c)

c. Utilizes a dispatcher for request handling

d)

d. Keeps track of client statu

19.

Which type of server uses a dispatcher to manage incoming requests?

a)

a. Iterative server

b)

b. Stateless server

c)

c. Concurrent server

d)

d. Stateful server

20.

What is a notable advantage of a Stateless server?

a)

a. Faster performance

b)

b. Reduced state inconsistencies

c)

c. Keeps accurate client status

d)

d. Tracks client status with local copies

21.

What is a characteristic of a Stateful server?

a)

a. Independent clients and servers

b)

b. Loss of performance

c)

c. Faster but less reliable

d)

d. Reduced state inconsistencies

22.

Which type of server in a client-server process is here described

a)

Server clusters

b)

Iterative Server

c)

Stateful Server

d)

Stateless Server

23.

Client-Server Process

In transport-layer switching, what does the front end do with the TCP request?

a)

a. Reads the content of the request

b)

b. Selects the best server based on content

c)

c. Passes the TCP request to one of the servers

d)

d. Tracks client status

24.

Client-Server Process

In content-aware distribution, what action does the front end take before selecting the best server?

a)

a. Reads the content of the request

b)

b. Passes the TCP request to one of the servers

c)

c. Tracks client status

d)

d. Considers performance metrics

25.

What are the two widle-used models for communication?

(a)  

26.

What means RPC?

(a)  

27.

What means MOM?

(a)  

28.

Which point of the distributed transparency is violated in the OSI-Model

a)

access

b)

location

c)

relocation

d)

migration

e)

concurrency

29.

Communictaion

What is the the task of the Middleware layer

provide common _____ and _____

(a)  

30.

Which is true for transient communictaion

a)

server discards message when it cannot be delivered at the next server, or at the receiver

b)

: A message is stored at a communication server as long as it takes to deliver it

c)

Sender continues immediately after it has submitted its message for transmission.

d)

Sender is blocked until its request is known to be accepted.

31.

Which is true for persistent communictaion

a)

server discards message when it cannot be delivered at the next server, or at the receiver

b)

: A message is stored at a communication server as long as it takes to deliver it

c)

Sender continues immediately after it has submitted its message for transmission.

d)

Sender is blocked until its request is known to be accepted.

32.

Which is true for asynchronous communictaion

a)

server discards message when it cannot be delivered at the next server, or at the receiver

b)

: A message is stored at a communication server as long as it takes to deliver it

c)

Sender continues immediately after it has submitted its message for transmission.

d)

Sender is blocked until its request is known to be accepted.

33.

Which is false for synchronous communictaion

a)

server discards message when it cannot be delivered at the next server, or at the receiver

b)

: A message is stored at a communication server as long as it takes to deliver it

c)

Sender continues immediately after it has submitted its message for transmission.

d)

Sender is blocked until its request is known to be accepted.

34.

Client/Server computing is generally based on a model of (a)   communictaions

35.
a)

Left picture is synchronous RPC

b)

Right picture is asynchronous RPC

c)

Left picture is asynchronous RPC

d)

Right picture is synchronous RPC

36.

Message-oriented middleware Aims at

a)

high-level persistent asynchronous communication:

b)

high-level persistent synchronous communication:

c)

high-level transient asynchronous communication:

d)

high-level transient synchronous communication:

37.

Example for meaasge-oriented transient communictaion:



(a)  

38.

Example for Message-oriented persistent communication

(a)  

39.

Communictaion

What is the problem with Application-level multicasting

a)

Setting up Communictaion Path

b)

to expensive

c)

to slow

40.

Consider a ALM overlay network

Wich nodes does a message from A to D needs to cross twice

(a)  

41.

How is the stretch defined when we consider an ALM path

(a)  

42.

Which is true for Flooding

a)

Pros - Fastest to all destinations

b)

Cons - Communication overhead

c)

Cons - Communication effeciency

d)

Pros- Slowest to all destinations

43.



(a)  

44.

Which statements fits to Gosspi-based flooding

a)

Randomly send/exchange data with some neighbors

b)

Pros - Fast convergence

c)

Cons - Reaching all nodes is not guaranteed

d)

Pros - Reaching all nodes is guaranteed

45.

What are two simple solutions for flat naming

(a)  

46.

What is the main idea behind Broadcasting, a simple solution for flat naming. Tick also the statements which are true for Broadcasting

a)

Broadcast the ID, requesting the entity to return its current address

b)

When an entity moves, it leaves behind a pointer to its next location

c)

Can never scale beyond local-area networks (since only local networks offer efficient broadcasting facilities)

d)

• Requires all processes to listen to incoming location requests

e)

Dereferencing can be made entirely transparent to clients by simply following the chain of pointers

47.

What is the main idea behind Forwarding Pointers, a simple solution for flat naming. Tick also the statements which are true for Forwarding Pointers

a)

Geographical scalability problems

b)

When an entity moves, it leaves behind a pointer to its next location

c)

Update a client’s reference when present location is found

d)

• Requires all processes to listen to incoming location requests

e)

Dereferencing can be made entirely transparent to clients by simply following the chain of pointers

48.

What other solutions, besides the simple solution, does exists for flat naming

a)

3 Home-based approaches

b)

4 Distributed hash tables (DHT)

c)

5 Hierarchical approaches

d)

Broadcasting

e)

2 Forwarding pointers

49.

Which statements fits to Home-based approaches:

a)

Let a home keep track of where the entity is

b)

Entity’s home address registered at a naming service

c)

• The home registers the foreign address of the entity

d)

• Client contacts the home first, and then continues with foreign location

e)

• Good geographical scalability (entity may be next to client)

50.

Which of the statements is true for Distributed hash tables: Chord

a)

Each node is assigned a random m-bit identifier.

b)

Every entity is assigned a unique m-bit key.

c)

• Entity with key k falls under jurisdiction of node with smallest id ≥ k, called successor succ(k).

d)

Each entity is assigned a random m-bit identifier.

e)

• Entity with key k falls under jurisdiction of node with smallest id > k, called successor succ(k).

51.

What is the formula for the finger table and how many entries has the table when the entity as a unique 2-bit key

(a)  

52.

Determine a case in which all entries in the finger table of a node are the same? Explain!

(a)  

53.

Determine a case in which all entries in the finger table of a node are different? Explain!

(a)  

54.

Which solution for flat naming is here described

(a)  

55.

How is the solution called for structured Naming and which subtypes exists?

a)

Name resolution,Iterative name resolution,Recursive name resolution

b)

Broadcasting,Multicasting

c)

Flooding,Gosspi-based flooding

d)

distributed hash tables,CHORD

56.

The left name resolution is ____

The right name resultion is ____

(a)  

57.

• Scalability issues

a)

– Assume (at least at global and administrational level) that content of nodes hardly ever changes

b)

– Apply extensive replication by mapping nodes to multiple servers, and start name resolution at the nearest server

c)

– Apply less replication by mapping nodes to multiple servers, and start name resolution at the nearest server

d)

– Assume (at least at local and administrational level) that content of nodes hardly ever changes

58.

Which scheduling are possible

a)

A,B,C,D

b)

A,C,B,D

c)

D,A,C,B

59.

What characterizes preemptive scheduling?

a)

a. Task runs until completion

b)

b. Task is interrupted and resumed later

c)

c. Task is assigned to multiple CPUs

d)

d. Task is distributed across the network

60.

In which context is preemptive scheduling often utilized?

a)

a. Distributed systems

b)

b. Operating systems

c)

c. Real-time systems

d)

d. Cloud computing environments

61.

What happens in non-preemptive scheduling?

a)

a. Task is interrupted and resumed later

b)

b. Task runs until it is finished

c)

c. Task is distributed across multiple nodes

d)

d. Task is assigned to different CPUs

62.

In which context is non-preemptive scheduling often utilized?

a)

a. Distributed systems

b)

b. Operating systems

c)

. Real-time systems

d)

d. Cloud computing environments

63.

What is the difference between static and dynamic scheduling?

a)

(static)The schedule is calculated before the start

b)

(dynamic)During runtime

c)

(dynamic)The schedule is calculated before the start

d)

(static)During runtime

64.

What are the common objectives of scheduling?

a)

Makespan

b)

Cost

c)

Usability

d)

Portability

65.

What is EST

(a)  

66.

Which rank is this?

a)

Upward Rank

b)

Downward Rank

c)

(b-rank

d)

(t-rank

67.

Formula for t-rank

(a)  

68.

Which rank is used in the Heft algorithm

a)

Downward rank

b)

t-rank

c)

b-rank

d)

none of them

69.

Do you know two requirements related to dependability?

(a)  

70.

Which metric fits to:

The average time until a component fails

a)

MTTF

b)

MTTR

c)

MTBF

71.

Which metric fits to:

The average time needed to repair a component.

a)

MTTF

b)

MTTR

c)

MTBF

72.

Which metric fits to:

MTTF + MTTR.

a)

MTTF

b)

MTTR

c)

MTBF

73.

formula of MTTF:

_/_

(a)  

74.

formula of MTTR:

_/_

(a)  

75.

formula of MTBF:

_/_

(a)  

76.

Three identical servers s1, s2, and s3 :

• s1 failed after eight hours

• s2 failed after ten hours

• s3 failed after twelve hours

MTTF = _h

(a)  

77.

A server s fails three times per day:

• Repair 1: 40 min

• Repair 2: 5 min

• Repair 3: 15 min

MTTR = _ min

(a)  

78.

A server s fails three times per day:

• Repair 1: 40 min

• Repair 2: 5 min

• Repair 3: 15 min

MTBF = _ h

(a)  

79.

formmula of Reliabilty:

R(t) = e^( (a)   )

80.

How is the Availabilty calculated?

A =

(a)  

81.

How to improve Availabilty?

a)

• Increase MTTF

b)

• Reduce MTTR

c)

• Reduce MTTF

82.

How would you compute Availabilty

(a)  

83.

Which type of failure is characterized by Halts, but is working correctly until it halts

a)

Crash failure

b)

Omission failure

c)

Timing failure

d)

Arbitrary failure

84.

Which type of failure is characterized by Fails to respond to incoming requests

a)

Crash failure

b)

Omission failure

c)

Timing failure

d)

Arbitrary failure

85.

Which type of failure is characterized by Response lies outside a specified time interval

a)

Crash failure

b)

Omission failure

c)

Timing failure

d)

Arbitrary failure

86.

Which type of failure is characterized by Response is incorrect

a)

Crash failure

b)

Omission failure

c)

Timing failure

d)

Arbitrary failure

e)

Response failure

87.

How large does a k-fault tolerant group need to be?

a)

• With halting failures k+1

b)

• With halting failures k

c)

With arbitrary failures: we need k + 1

d)

With arbitrary failures: we need 2k + 1

88.

Which statement is true for this Byzantine agreement:

BA1:

a)

Every nonfaulty backup process stores the same value.

b)

If the primary is nonfaulty then every nonfaulty backup process stores exactly what the primary had sent.

89.

Which statement is true for this Byzantine agreement:

BA2:

a)

Every nonfaulty backup process stores the same value.

b)

If the primary is nonfaulty then every nonfaulty backup process stores exactly what the primary had sent.

90.

Which type of recovery is here described

Find a new state from which the system can continue operation

a)

Forward error recovery

b)

Backward error recovery

91.

Which type of recovery is here described

Bring the system back into a previous error-free state

a)

Forward error recovery

b)

Backward error recovery

92.

Which types of checkpointing is here described?

checkpoint, which stores the full state of the application or the virtual machine.

a)

• Full checkpoint

b)

Incremental checkpoint

93.

Which types of checkpointing is here described?

checkpoint, which stores only the updated memory pages from the last checkpoint

a)

• Full checkpoint

b)

Incremental checkpoint

94.

Is this true?

Reactive checkpointing is, when the system creates a checkpoint regularly and proactive checkpointing is, when e the system performs a checkpoint based on some specific events

a)

No

b)

Yes

95.

Welche Recovery line ist nicht korrekt(von links aus gesehen)

a)

2te

b)

1te

96.

Which points ar importan for the Design Goal Openness

a)

Define services trough well defined interfaces

b)

Interoperability

c)

Extensible

d)

Portability

e)

Access

97.

What are the Design Goals of a distributed System

a)

Resource sharing,Distribution Transparency,Openness,Scalability

b)

Resource sharing,Distribution Intransparency,Openness,Scalability

c)

Resource sharing,Distribution Transparency,Open-Closed,Scalability