Questions: Hinted Handoff Recovery

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A distributed database uses hinted handoff. Node B (the intended replica) is temporarily unreachable, so Node C accepts a write with a hint. A client immediately issues a read for that value, and the request is routed to Node B (which has just come back online). What does the client most likely observe?

AThe latest written value, because hinted handoff guarantees the write is applied before Node B accepts reads
BA stale or missing value, because the hint may still be queued on Node C and not yet replayed to Node B
CAn error, because Node B must fully complete hint replay before it can serve reads
DThe latest value, because hinted handoff replicates writes synchronously to the intended replica
Question 2 Multiple Choice

A node has been accumulating hints for a failed replica for two weeks with no sign of recovery. What should the system do with these hints?

ARetain all hints indefinitely — discarding them means permanent data loss
BDrop them after the configured retention window and rely on anti-entropy or read repair to reconcile any divergence
CAutomatically promote the hinting node to become the permanent new replica for that data
DCompress and archive the hints to cold storage for potential future manual recovery
Question 3 True / False

Hinted handoff is designed specifically to handle *transient* node failures; for nodes that are permanently lost, other consistency repair mechanisms must be used.

TTrue
FFalse
Question 4 True / False

A successful hinted-handoff write guarantees that any subsequent read from the intended replica will return the latest written value.

TTrue
FFalse
Question 5 Short Answer

Why does a successful hinted-handoff write not guarantee that a subsequent read from the intended replica returns the latest value, and what consistency model does hinted handoff provide?

Think about your answer, then reveal below.