Question 7: Cassandra addresses the problem of failures by employing

  1. Master-slave Architecture
  2. peer-to-peer gossip communication protocol
  3. peer-to-peer TCP communication protocol
  4. peer-to-peer UDP communication protocol

Correct Answer: 2

Explanation: Cassandra is designed to handle big data workloads across multiple nodes with no single point of failure. Its architecture is based on the understanding that system and hardware failures can and do occur. Cassandra addresses the problem of failures by employing a peer-to-peer distributed system across homogeneous nodes where data is distributed among all nodes in the cluster. Each node frequently exchanges state information about itself and other nodes across the cluster using peer-to-peer gossip communication protocol.