Apache Cassandra Gossip Protocol Mechanics

Test your knowledge on peer-to-peer communication, state synchronization, and the Phi Accrual Failure Detector within distributed NoSQL clusters.

Sample Questions

  1. What is the primary purpose of the Gossip protocol in Apache Cassandra?

    • To replicate user data across nodes
    • To manage cluster metadata and state information
    • To handle SQL-like query execution
    • To manage secondary indexes
  2. How often does each node in a Cassandra cluster initiate a gossip session by default?

    • Every 100 milliseconds
    • Every 1 second
    • Every 5 seconds
    • Only when a node joins or leaves
  3. Which message is the first step in the three-way gossip handshake?

    • GossipDigestAckMessage
    • GossipDigestAck2Message
    • GossipDigestSynMessage
    • GossipStatusMessage