Question-: You are planning to setup new Cassandra cluster with the single token architecture and should span datacenters. It is ideal to have seed nodes from the single datacenter only? A. True B. False
Answer: B Exp: No, it is not ideal. You have to make sure that the seed nodes are from each datacenter. At least one seed node from each datacenter. General requirement is that you should have 2 to 3 nodes as seed nodes per datacenter.
Dev/Admin
Question-: ___________________ refers to how up-to-date and synchronized a row of data is on all of its replicas. A. Transaction B. Compaction C. Consistency D. Compression
Answer: C
Explanation: Consistency is any distributed database is a property which refers that how up-to-date and synchronized a row of data is on all of its replicas.
Dev/Admin
Question-: Which of the following command would flush the memtable without listening for connections to other nodes? A. nodetool drain B. nodetool flush C. nodetool commit D. nodetool tpstats
Answer: A Exp: You can manually flush the memtable using the “nodetool flush� or “nodetool drain� command. Where “nodetool drain� command flushes the memtables without listening for connections to other nodes). And if you want to reduce the overall replay time of the commit log, in case node restarts needed. Then it is recommended that flush the memtable before restarting the nodes. If a node stops working, then you should replay the commit logs which will restore the writes to the memtable that were there before the node stopped.