Questions: Causal Consistency

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

Alice posts 'What time is dinner?' on a shared forum. Bob reads her post and replies '6pm.' Under causal consistency, which of the following is guaranteed for any user Carol reading the forum?

ACarol sees both posts but may see Bob's reply before Alice's question
BCarol sees all posts in the exact wall-clock order they were written
CCarol always sees Alice's question before Bob's reply, because Bob's reply is causally dependent on Alice's question
DCarol may not see either post until both have propagated to all replicas
Question 2 Multiple Choice

Dan and Eve independently post unrelated status updates on a geo-replicated social network at roughly the same time. Under causal consistency, what is guaranteed?

AAll users see Dan's post before Eve's, because geo-replicated systems serialize all updates
BAll users eventually see both posts, but different users may see them in different orders
CDan's post is always delivered before Eve's because the system respects chronological order
DNeither post is visible to anyone until both have been replicated to all data centers
Question 3 True / False

Under causal consistency, if operation A causally precedes operation B, every process in the system must observe A before B.

TTrue
FFalse
Question 4 True / False

Causal consistency guarantees that most nodes observe most operations in the same total order.

TTrue
FFalse
Question 5 Short Answer

Why can causal consistency be implemented in a geo-replicated system without global synchronization, while strong consistency cannot?

Think about your answer, then reveal below.