CSSE4004 - Lecture 6

Descrição

CSSE4004 - Lecture 6
tb22
Quiz por tb22, atualizado more than 1 year ago
tb22
Criado por tb22 mais de 9 anos atrás
19
0

Resumo de Recurso

Questão 1

Questão
Which of the following is false about replication
Responda
  • good idea to ensure that all conflicting operations done in same order everywhere
  • guaranteeing global ordering on conflicting operations may be costly, downgrading scalability
  • replication can greatly increase performance of non-conflicting operations
  • Weakening consistency requirements to increases global synchronization requirements

Questão 2

Questão
Does this conform to sequential consistency?
Responda
  • True
  • False

Questão 3

Questão
Which of the following definitions are correct:
Responda
  • Read Your Writes: Effect of write operation by process on data item x, always seen by successive read operation on x by same process
  • Writes Follow Reads: Write operation by process on data item x following previous read operation on x by same process is guaranteed to take place on same or more recent value of x that was read.
  • Read write read: Write operation by process on data item x following previous read operation on x by same process is guaranteed to take place on same or more recent value of x that was read.
  • Read Your Writes: Write operation by process on data item x following previous read operation on x by same process is guaranteed to take place on same or more recent value of x that was read.

Questão 4

Questão
Which of the following is not a Data-Centric Consistency Model
Responda
  • Read-your-writes Consistency
  • Sequential Consistency
  • Causal Consistency
  • Eventual consistency

Questão 5

Questão
Which of the following is false about Object aware of replication
Responda
  • More difficult for developers
  • Allows for application specific solutions
  • Middleware handles communication
  • Middleware is responsible for ensuring objects are consistent across nodes

Questão 6

Questão
Which of the following is true about Monotonic reads and writes?
Responda
  • If process reads value of data item x, any successive read operation on x by that process will always return that same or more recent value
  • Write operation by process on data item x completed before any successive write on x by same process
  • If process reads value of data item x, any successive read operation on x by that process will always return a value no older than the latency between the client and the server
  • Write operation by process on data item x completed before any successive write by other users in the system

Questão 7

Questão
Does this conform to sequential consistency?
Responda
  • True
  • False

Questão 8

Questão
Does this conform to casual consistency?
Responda
  • True
  • False

Questão 9

Questão
Which of the following is not an advantage of replication?
Responda
  • Increase availability
  • Enhance reliability
  • Improve performance
  • Improved data consistency

Questão 10

Questão
Which of the following is false about eventual consistency?
Responda
  • Database must tolerate a high degree of inconsistency
  • Updates guaranteed to propagate to all replicas
  • if no updates for long time, all replicas gradually become consistent
  • Eventual consistency increases the time an insert operation takes

Questão 11

Questão
In Gifford's scheme, which of the following is true
Responda
  • To prevent read-write conflicts: Nr + Nw > N
  • To prevent write-write conflicts: Nw > N/2
  • To prevent read-write conflicts: Nw > N/2
  • To prevent write-write conflicts: Nr + Nw > N + 1

Questão 12

Questão
Which of the following is false about pull vs. push update protocols
Responda
  • Push: Server must have list of replicas
  • Push: No polling required
  • Pull: Updates are immediate
  • Pull: Polling required

Questão 13

Questão
Does this conform to casual consistency?
Responda
  • True
  • False

Questão 14

Questão
Does this conform to strict consistency?
Responda
  • True
  • False

Semelhante

CSSE4004 - Lecture 5
tb22
CSSE4004 - Lecture 8
tb22
CSSE4004 -Lecture 7
tb22
CSSE4004 - Lecture 10
tb22
CSSE4004 Lecture 1
tb22
CSSE4004 - Lecture 4
tb22
CSSE4004 - Lecture 9
tb22
CSSE4004 - Lecture 3
tb22
CSSE4004 - Lecture 2
tb22
Docker
Dan Fletcher
Database systems and distributed systems: A2
Tia Catt