Question-: Tombstone is a marker for which rows to be deleted? A. True B. False
Answer: B
Explanation: Tombstone is a marker within a row that indicates that a column will be deleted. Deletion of column will happen while compaction.
Question-: You have to restart a node in a Cassandra cluster to apply some patch on it. However, after restart it should take at least minutes to be part of the cluster as well as serving data. A. True B. False
Answer: B Exp: Cassandra cluster nodes uses the Gossip protocol to discover and share location and state information about the other nodes in Cassandra cluster. However, Gossip information is locally persisted by each node in cluster. So that after restart it can be immediately used. There is no such 30 mins waiting time before start using the cluster.
(Dev/Admin)
Question-: Select the correct statement with regards to Partitioner? A. It is the partitioner responsibility to distribute the data across the nodes in the cluster for load balancing. B. It is the user who decide on which node first replica of the data should be placed and then partitioner decide how to distribute other replicas across other nodes in the cluster. C. Partition key and primary key may be the same. D. Murmur3Partitioner is decommissioned and should not be used in new version of Cassandra Cluster.
Answer: A, C Exp: It is the partitioner responsibility to distribute the data evenly across all the nodes in the cluster for load balancing. Partitioner decides which node receives the first replica if a piece of data and how to distribute other replicas across other nodes in the cluster. Each row of data is uniquely identified by a primary key which may be same as its partition key. Even partition key can include other clustering columns. A partitioner is a hash function that derives a token from the primary key of that row. The partitioner uses the token value to determine which nodes in the cluster receive the replicas of that row. The Murmur3Partitioner is a valid partitioner strategy for Cassandra Cluster and even suitable for almost all cases.