Question-: While monitoring the Cassandra cluster you found that it is showing slow performance for node repair, compaction etc. What would you think as first approach being Cassandra administrator? A. You should immediately bring down one of the nodes form the Cluster B. You should plan to add new node to the Cluster C. You would be enabling GC logging D. You would restart the entire Cassandra cluster
Answer: B
Explanation: In this question, it is clearly saying there are issues with the node repair and compaction operations. Which means Cluster is not getting enough resources which is required. There is no mention that, it was observed as a GC issue. Hence, the better solution is add new node to the cluster.
Question-: Which of the following is/are the reason for adding new node to the existing Cassandra cluster? A. If cluster reached the Capacity of data storage and no further space is available for storing data. B. You are seeing latency is increased a lot in your cluster. C. You have observed that there are issues with the node repair and compaction operations. D. When you see more GC pauses
Answer: A,B,C
Explanation: You must consider the adding new node in Cassandra cluster for the following situations. A. If cluster reached the Capacity of data storage and no further space is available for storing data. B. You are seeing latency is increased a lot in your cluster. C. You have observed that there are issues with the node repair and compaction operations. As you add more nodes, it gives you linear scaling for storing the data and even more CPU is available then read/write latency would be improved. If issues with the node repair and compaction operations. Which means Cluster is not getting enough resources which is required. There is no mention that, it was observed as a GC issue. Hence, the better solution is to add a new node to the cluster.
Question-: Which of the following functionalities can be accomplished by the snitch in the Cassandra cluster? A. It helps in distributing the token for each node B. It helps in routing the request in the cluster C. It helps in spreading the replicas around the cluster D. It helps in finding the failed nodes in the cluster
Answer: B,C
Explanation: In Cassandra cluster Snitch has following two functions - It teaches the Cassandra enough about the network topology to route request efficiently. - Similarly help in spreading the replica around the cluster and avoid correlated failures. This is achieved by grouping nodes or machines into datacenters and racks. Cassandra tries to have not more than one replica in the same rack.