Premium

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



Question-: In your Cassandra cluster you have a heavy write, then which of the compaction strategy most suitable?
A. Size tiered compaction strategy
B. Leveled compaction strategy
C. Tombstone compaction strategy
D. Expired data compaction strategy


Answer: A
Exp: When your database has a heavy write then you should avoid using the leveled compaction strategy. Because using the leveled compaction strategy can create heavy IO. The best available option for this is size tiered compaction strategy. When you use size tiered compaction strategy with heavy write application of workloads then it delays the compaction as much as possible and over all IO can be reduced Because of compaction.



Question-: When you issue “nodetool compact� it will
A. Initiate major compaction.
B. Initiate minor compaction.
C. Initiate Tombstone compaction
D. Creates one large SSTable
E. This would result in high IO

Answer: A, D,E

Explanation: Whenever user issues “nodetool compact� command, then Cassandra initiate major compaction. Which would try to create a single SSTable out of all the available SSTable, which is not a good idea, and this command should be avoided. While creating a single large SSTable, it would create lot of IO and affect overall system performance.



Question-: Size tiered compaction triggers compaction process based on the number of tables?
A. True
B. False

Answer: B
Exp: size tiered compaction process is based on the number of SSTables and not on the number of tables in the Cassandra cluster or key space.

Related Questions


Question-: While adding more than one node (v-nodes) to the cluster, you should always add them concurrently and use the allocation algorithm for the even distribution of token.
A. True
B. False


Question-: What all are the benefits of adding new node to the Cassandra cluster?
A. It helps in increasing the data capacity
B. It helps in improving the traffic capacity
C. It will give more headroom for doing automated operation of the Cassandra
D. It helps in faster synchronization of data and increase the overall data consistency
E. It helps with more data storage


Question-: It is a good practice that with the single token architecture you add one node at a time?
A. Ture
B. False


Question-: Please arrange the below in order when a node is bootstrapped in Cassandra cluster?
A. Bootstrap node contact seed node
B. Seed node transfer info to joining node e.g. token ranges and cluster info
C. Streaming SSTables from cluster nodes to new node
D. Joining nodes state changes as normal node
E. New node start handling read/write request


Question-: Seed node is the same as coordinator node?
A. True
B. False


Question-: When you add a new node to (v-node enabled) cluster. Token ranges are re-arranged. Which of the following would help in cleaning the data from existing node. Which is now taken care by new node?
A. You should run “nodetool compact� command on the source node and neighboring nodes that shared the same subrange after the new node is up and running.
B. You should run “nodetool clearnsnapshot� command on the source node and neighboring nodes that shared the same subrange after the new node is up and running.
C. You should run “nodetool cleanup� command on the source node and neighboring nodes that shared the same subrange after the new node is up and running.
D. You should run “nodetool repair� command on the source node and neighboring nodes that shared the same subrange after the new node is up and running.
E. You don’t have to do anything. Cassandra would automatically manages and reshuffle the data.