Question-8: Which of the following statement is correct with regards to Data storage in Cassandra?

  1. All Data is first written to the SSTables.
  2. All Data is first written to the Commit logs.
  3. Once data is written to commit log it can be archived, deleted.
  4. Once data is written to SSTables it can be archived, deleted.

Ans : B, D

Exp : We need to understand the purpose of SSTables, and Commit Log first

Whenever write happens on the Database data first get written to commit log for the durability. And then data will be flushed to SSTables where it can be archived, deleted or recycled.