Question-: You are trying to insert the data into a table, which is part of the keyspace that uses the NetworkTopologyStrategy and not able to do so, what could be the possible resgin? A. Cassandra version on each node is not correct B. Table has reached the defined size C. You have not created partition key on the table D. You have not defined the datacenter names in the snitch properties file
Answer: D
Explanation: Remember that you can not insert the data into a table in a keyspace that uses NetworkTopologyStrategy unless you define the datacenter names in the snitch properties file or you use a single datacenter named datacenter1.
Question-: You are using the “NetworkTopologyStrategy� for the replication for your keyspace. However, you want to change the replication for this keyspace as below ALTER KEYSPACE HE_KEYSPACE WITH REPLICATION = {'class' : 'NetworkTopologyStrategy', 'dc_he_1' : 3, 'dc_he_2' : 2}; Which of the following nodetool command you should run after this change? A. “nodetool decommission� B. “nodetool rebalance� C. “nodetool repair –full HE_KEYSPACE� D. “nodetool tpstas HE_KEYSPACE� E. “nodetool netstats HE_KEYSPACE�
Answer: C
Explanation: Once you are done the modifying the replication strategy, you should run the following command. “nodetool repair –full keyspace_name�
Question-: You have created a Cassandra cluster which has name “HadoopExamCluster�, you want to rename this cluster with the “QuickTechieCluster�. How can you do that? A. You will be updating the Cassandra.yaml file B. You will be updating the jvm.option file C. You would be updating Snitch Property file. D. You can not do that
Answer: D
Explanation: You can not change the name of the Cassandra cluster. You must create a new cluster and migrate your data to new cluster.