Premium

Datastax Cassandra Administrator Certification Questions and Answer (Pratice Questions and Dumps)



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.

Related Questions


Question-: Which of the following should be enabled for the Cassandra nodes to be performed better?
A. CPU Frequency Scaling
B. zone_reclaim_mode
C. swap
D. Clock Synchronization



Question-: When a new node joins the cluster, it first contacts the node which is
A. Nearest IP address
B. Nearest distance
C. Based on the Specified in the Cassandra.yaml file
D. Coordinator node


Question-: You have just joined a company called Acmeshell Inc. which has the free comment solution which anyone can embed in their website. And you are the administrator and decided to use Cassandra. As you have to decide the size of the cluster for next one year, which of the following data dimension you would be considering?

A. Throughput
B. Data model
C. Latency
D. Data Growth Rate
E. Java version to be used


Question-: For which of the below Cassandra stress test tool can be used?
A. Determining the schema performance.
B. Understanding the database scaling
C. For optimizing the data model settings
D. Determining the production capacity.



Question-: Please map the following nodetool subcommands and their usage

A. Nodetool compact
B. Nodetool compactionstats
C. Nodetool cleanup
D. Nodetool flush

1. It forces a major compaction on one or more nodes
2. You can get the statistics for the compaction
3. Access Mostly Uused Products by 50000+ Subscribers
4. It flushes the one or more tables from the memtable.


Question-: Which of the following are all node subcommands?
A. gcstats
B. gossipinfo
C. ring
D. tpstats
E. node