All Questions
Zookeeper easy

How does ZooKeeper reliably determine if a connected client session is still active?

  1. A The client must perform at least one write operation every 60 seconds.
  2. B Via periodic 'Heartbeats'; if the server misses them within the timeout window, the session is expired.
  3. C The server uses a TCP port scan to verify the client's listening socket is open.
  4. D It relies on the underlying OS filesystem locks to track client residency.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions