Question-: You want to remove the node from the cluster and you are using the nodetool “remove� subcommand. However, you see this node is not getting removed from the Ring. What would you do to remove that node from the cluster? A. You will power down that node B. You will shutdown the entire cluster and then disconnect that node and start the cluster again. C. You would delete all the SSTable data from the disk directly. D. You would be using “nodetool assassinate� command
Answer: D
Explanation: “nodetool assassinate� command is a tool of last resort, only use this tool to remove a node from the cluster when removenode command does not work or not successful.
Admin Only
Question-: When you use the “nodetool info� command, what all things you can see about the node? A. Disk storage load B. Uptime C. Heap memory D. Off-heap memory E. Total nodes in the ring
Answer: A, B, C, D Exp: Using the nodetool info can provide the information about the particular node like their token range, disk storage, amount of load, uptime of the node and Heap memory usage etc.
Admin only
Question-: There is a tool called “cassandra-stress� tool. Which is/are of the following choices can be used with this tool. A. It can help in populating the Cassandra cluster. B. It would be helpful to find out that. With the given datamodel, how this database scales. C. It would be helpful in optimizing the data model settings D. Using this you can plan your production capacity
Answer: A,B,C,D
Explanation: The “cassanda-stress� tool is a Java-based stress testing utility for basic benchmarking and load testing the Cassandra cluster.
That is one of the best way for testing your data modelling and to find the overall performance of the cluster. This would help in populating the cluster and stress testing CQL tables and queries. Hence, it is good choice for performing following activities before finalizing your Cassandra cluster setup A. It can help in populating the Cassandra cluster. B. It would be helpful to find out that. With the given datamodel, how this database scales. C. It would be helpful in optimizing the data model settings D. Using this you can plan your production capacity