Quiz 8 Flashcards

1
Q

Some reasons for replication can be:

Increase reliability

Improve availability

Improve usability

improve performance

A

Increase reliability

Improve availability

improve performance

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

The factors to be considered when we relax consistency are:

Read and write patterns of the replicated data

The number of replica servers available for replicated data item

The purpose for which the data is used

The type of communication protocols available for performing updates

A

Read and write patterns of the replicated data

The purpose for which the data is used

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

Continuous consistency model can provide:

eventual consistency of replicated data

what ordering of operations to be ensured at the replicas

a way to measure and specify the level of inconsistencies that an application can tolerate

A

a way to measure and specify the level of inconsistencies that an application can tolerate

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

Monotonic-read consistency model guarantees that:

Updates are propagated as a result of previous write operations

A write operation by a process on a data item x is completed before any successive write operation on x by the same process

Once a process has seen a value of x, it will never see an older version of x

A

Once a process has seen a value of x, it will never see an older version of x

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

A client-centric consistency model where a client process can modify a password on a server replica and the password change is seen immediately by the same client on a different replica server can be said to implement:

Monotonic-read model

Monotonic-write model

Read your writes model

Writes follow reads model

A

Read your writes model

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

In remote-write protocols:

All write operations need to be forwarded to a single server

Operations are ordered in a sequential order

Every data item has a primary server assigned to it

A

All write operations need to be forwarded to a single server

Operations are ordered in a sequential order

Every data item has a primary server assigned to it

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

The main challenge with active replication is that:

Events have to be ordered across all replicas

Communication may not be reliable

It is not fault tolerant

A

Events have to be ordered across all replicas

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

A replicated-write protocol which is based on majority voting is called:

Coherence-based protocol

Active replication

Local-write protocol

Quorum-based protocol

A

Quorum-based protocol

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

One way to enforce cache coherence when shared data is cached locally is to let the server send an invalidation to all caches when a data item is modified

True

False

A

True

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

In replicated-write protocols:

Write operations can be performed at multiple replicas

All of the above

Write operations can be performed in only one replica

A

Write operations can be performed at multiple replicas

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

Client-centric consistency protocol is about

Providing consistency for a single client that accesses different replicas

All of the above

Making sure that there is a systemwide consistent view on a data store

A

Providing consistency for a single client that accesses different replicas

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

In primary-based protocols:

Updates can be performed at multiple replicas

Updates can be performed in only one replica

All of the above

A

Updates can be performed in only one replica

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