Question-: While adding a new node to the cluster. New node must know the IP addresses of the seed nodes? A. True B. False
Answer: A Exp: Yes, if you are adding a new node to the cluster. It should know that to which node, it is going to contact in the cluster. To get all the required detail for the cluster before joining. These are the IP addresses of the seed nodes, which can be set in the Cassandra.yaml file of the bootstrapping node.
Question-: Which of the following is recommended way to removing a node from the Cassandra cluster? A. nodetool decommission B. nodetool removenode C. nodetool assassinate D. nodetool cleanup
Answer: A Exp: When you want to remove a node from the Cassandra cluster than you should always prefer the decommission command, its lengthy command. But does things appropriately. When you want to decrease the cluster size and node is in active state then you should go with the “nodetool decommission� command. With the decommission command data would be transferred from the decommissioned node to other active nodes in the cluster. If you have a cluster with the v-nodes enabled then cluster rebalancing happens automatically. If cluster architecture is based on the Single token architecture then you need to manually rebalance the cluster. And arrange the token ranges from the decommissioned nodes to the remaining nodes.
Question-: When you use the decommission command to remove a node from the Cassandra cluster. It would shut down the node immediately? A. True B. False
Answer: B
Explanation: No, when you use the decommission command it would not shutdown the node immediately. It would be shutdown only when decommissioning completes. You can use the “nodetool netstats� command to check the overall progress.