CSSE4004 - Lecture 6

Descripción

CSSE4004 - Lecture 6
tb22
Test por tb22, actualizado hace más de 1 año
tb22
Creado por tb22 hace más de 9 años
18
0

Resumen del Recurso

Pregunta 1

Pregunta
Which of the following is false about replication
Respuesta
  • 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

Pregunta 2

Pregunta
Does this conform to sequential consistency?
Respuesta
  • True
  • False

Pregunta 3

Pregunta
Which of the following definitions are correct:
Respuesta
  • 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.

Pregunta 4

Pregunta
Which of the following is not a Data-Centric Consistency Model
Respuesta
  • Read-your-writes Consistency
  • Sequential Consistency
  • Causal Consistency
  • Eventual consistency

Pregunta 5

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

Pregunta 6

Pregunta
Which of the following is true about Monotonic reads and writes?
Respuesta
  • 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

Pregunta 7

Pregunta
Does this conform to sequential consistency?
Respuesta
  • True
  • False

Pregunta 8

Pregunta
Does this conform to casual consistency?
Respuesta
  • True
  • False

Pregunta 9

Pregunta
Which of the following is not an advantage of replication?
Respuesta
  • Increase availability
  • Enhance reliability
  • Improve performance
  • Improved data consistency

Pregunta 10

Pregunta
Which of the following is false about eventual consistency?
Respuesta
  • 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

Pregunta 11

Pregunta
In Gifford's scheme, which of the following is true
Respuesta
  • 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

Pregunta 12

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

Pregunta 13

Pregunta
Does this conform to casual consistency?
Respuesta
  • True
  • False

Pregunta 14

Pregunta
Does this conform to strict consistency?
Respuesta
  • True
  • False
Mostrar resumen completo Ocultar resumen completo

Similar

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