Questions: Distributed Hash Tables and DHT

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

In a DHT, why can't nodes simply route lookup requests directly to the responsible node, bypassing intermediate hops?

ADirect routing is impossible because the hash function is not invertible — you cannot compute the node address from the key
BDirect routing would require every node to maintain a complete membership list (O(n) state), which becomes impractical as the system grows to millions of nodes
CDirect routing would violate the consistency guarantees required for uniform distribution on the hash ring
DThe network topology prevents nodes from communicating with non-adjacent nodes on the ring
Question 2 Multiple Choice

A new node joins a Chord DHT by picking a random ID on the ring. After the join is complete, which node transfers keys to the new node?

AThe successor of the new node transfers all its keys so the new node can replicate them for fault tolerance
BThe predecessor of the new node transfers the keys in the range that now falls under the new node's responsibility
CKeys are recomputed using a new hash function and redistributed across all nodes to maintain uniform load
DKeys remain with their current nodes until the next periodic rebalancing cycle
Question 3 True / False

In Kademlia, every lookup query both retrieves the target key and refreshes the querying node's routing table with new information about nearby nodes.

TTrue
FFalse
Question 4 True / False

DHTs eliminate the need for data replication because consistent hashing guarantees that nearly every key is generally accessible on its responsible node.

TTrue
FFalse
Question 5 Short Answer

Explain why the Chord finger table produces O(log n) lookup time, and why this is a better solution than either maintaining a full membership list or routing only to adjacent nodes.

Think about your answer, then reveal below.