CSSE4004 - Lecture 6

Beschreibung

CSSE4004 - Lecture 6
tb22
Quiz von tb22, aktualisiert more than 1 year ago
tb22
Erstellt von tb22 vor mehr als 9 Jahre
19
0

Zusammenfassung der Ressource

Frage 1

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

Frage 2

Frage
Does this conform to sequential consistency?
Antworten
  • True
  • False

Frage 3

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

Frage 4

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

Frage 5

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

Frage 6

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

Frage 7

Frage
Does this conform to sequential consistency?
Antworten
  • True
  • False

Frage 8

Frage
Does this conform to casual consistency?
Antworten
  • True
  • False

Frage 9

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

Frage 10

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

Frage 11

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

Frage 12

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

Frage 13

Frage
Does this conform to casual consistency?
Antworten
  • True
  • False

Frage 14

Frage
Does this conform to strict consistency?
Antworten
  • True
  • False
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

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