Premium

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



Question-: When garbage collection removes the objects or reclaim memory. From where the memory would be reclaimed?
A. Stack
B. Heap
C. Hard Disk
D. CPU Cache

Answer: B
Exp: Whenever you work with the Java then memory management becomes very critical. In the Java there are various areas in which memory is divided like stack memory, memory where the code would be saved, heap memory etc. Heap memory is the area where the Java mostly works to allocate memory for new objects. Garbage collection is a process in Java which clean out the memory on the heap area so that new objects can be created in it.



Question-: If you wanted to have less number of GC pauses then you should set� MAX_HEAP_SIZE� with large value?
A. True
B. False

Answer: A
Exp: In Cassandra if you wanted to change the heap size for the Java processes then you have to change the jvm.option file. In this file you can update the property MAX_HEAP_SIZE as well as HEAP_NEWSIZE. New objects are always created under the heap area. And if enough space is available then garbage collection algorithm would not run and new object keep getting created in the heap area. One disadvantage of having large heap space is whenever garbage collection runs it needs to reclaim the huge number of Java objects which may take longer time and would cause a GC Pause.



Question-: Which of the following option would help in communicating with the application at runtime?
A. Garbage collection
B. JMX
C. Gossip protocol


Answer: B
Exp: JMX is a technology in Java which can help you to communicate with the running Java application. And even you can set the various properties while application running without stopping it. Cassandra database itself is built using Java Technology so it can use the JMX to communicate with a running Cassandra cluster and change/update the properties if required.

Related Questions


Question-: Which of the following are correct statement for the sstableloader command?
A. This Tool help in loading the external data to an existing cluster.
B. This tool help in loading the existing SSTable to the cluster.
C. When you load the data from SSTable then previous cluster and new cluster should have the same number of nodes.
D. Loading the data using this tool required that previous cluster and new cluster have same application strategy or partitioner.


Question-: You have many csv files with almost million records across all the files , there is a one column in the csv file which has a date data in it. But before loading the csv file you want to change the format of date column. Which of the following is most suitable solution for this requirement?
A. You would be using CQL copy command
B. You would be using sstableloader
C. You would be using DSBulk tool
D. You would be using spark



Question-: Which of the following statement are correct for the DSBulk tool?
A. This can be used to export data from Casandra database.
B. This can be used how to load JSON file in database.
C. This can be used to load csv file in database
D. This can be used to rebalance Cassandra cluster.
E. This can be used to repartition Cassandra cluster.



Question-: In which of the following situation you would be using DSBulk tool?
A. If we have a lot of files which needs to be loaded in different tables then we should use DSBulk tool.
B. If you wanted to take the backup of data from the Cassandra cluster then we should use this tool.
C. If data model changes for our existing data and we wanted to move it to the new data model then you should use this tool.
D. While migrating data from one Cassandra database to another Cassandra database.
E. While converting JSON data to csv data.



Question-: To get the backup of the data you run the snapshot command; it would create a snapshot for the data which are in the as SSTable as well as in the memtable?
A. True
B. False


Question-: When you take up Snapshot for one of the SSTable on a particular node then it would not take a backup of the entire cluster?
A. True
B. False