wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

DDIA, chapter 8, The Trouble With Distributed Systems

Total questions: 9

Worksheet time: 9mins

Name
Class
Date
1.

What fits better to word Deterministic?

a)

some parts of the system that are broken in some unpredictable way

b)

well defined (algorithm)

c)

the same operation always produces the same result

d)

monotonic(clock)

2.

A network problem can occur:

a)

while using a public cloud service

b)

in controlled environments like a datacenter operated by one company

c)

between two service connected through Internet

3.

How long should be the timeout to surely detect a faulting node?

a)

short timeout to detect problem faster

b)

long timeout to lower a risk of incorrectly declaring a node dead

c)

there is no simple answer

4.

What kind of network uses bounded delay?

a)

cellular

b)

VoIP

c)

traditional fixed-line telephone network

5.

Which type of clock is more reliable for LWW (last write wins) strategy?

a)

logical clock

b)

monotonic clock

c)

time-of-day clock

6.

Select features of RTOS (Real time operating system):

a)

High performance

b)

very expensive

c)

guaranteed allocation of CPU time in specified intervals

d)

dynamic memory allocation may be restricted or disallowed entirely

7.

What is fencing token?

a)

a lock granted by server

b)

a number that increases every time a lock is granted by server

c)

a check on a client side to ensure that lease is not expired

d)

timestamp range used to calculate the order of operations

8.

bounded network delay, bounded process pauses, and bounded clock error are attributes of:

a)

Synchronous model

b)

Partially synchronous model

c)

Asynchronous model

9.

if we are generating fencing tokens for a lock, we may require the algorithm to have the following properties:

a)

availability

b)

eventual consistency

c)

monotonic sequence

d)

uniqueness