Question-3: Which of the following feature helps in Apache Cassandra to help in preventing data loss?

  1. Each node uses the peer-to-peer gossip communication protocol.
  2. Commit log
  3. Memtable
  4. A,B
  5. A,B,C

Ans: E

Exp: In Apache Cassandra Data loss can be prevented using various features which are below

  1. Gossip protocol: Having peer-to-peer distributed system across homogeneous nodes where data is distributed among all nodes in the cluster. And each node frequently exchanges state information about itself and other nodes across the cluster using peer-to-peer gossip communication protocol.
  2. Commit Log: A sequentially written commit log on each node captures write activity to ensure data durability.
  3. Memtable: Data is indexed and written to an in-memory structure, called a memtable, which resembles a write back cache.