Apache Cassandra Interview Questions part 1

Connect with

Apache CassandraFollowing are the list of frequently asked questions in Apache Cassandra. You know , Apache Cassandra gaining popularity in fast pace so I tried to list down few basic questions in Apache Cassandra for interview.

Q. How to stop Cassandra on windows?

Ans: On Windows installations, you can find the JVM process and kill it using the Task Manager.

Q. How to stop cassandra on Unix (linux or mac)?

when installed as service:

service cassandra stop

if not installed as services, do following

pgrep -u $user -f cassandra | xargs kill -9

Q. By default what is name of Cassandra Cluster?

Ans. by default name is “Test Cluster” , preferable to change this in production. You can view this default name, when run cqlsh on command prompt, something similar as follows:

$ bin/cqlsh
Connected to Test Cluster at
[cqlsh 5.0.1 | Cassandra 3.0.0 | CQL spec 3.3.1 | Native protocol v4]
Use HELP for help.


Cluster: Test Cluster
Partitioner: Murmur3Partitioner

Q. How to connect from one node to another via cqlsh?

$ bin/cqlsh 9042

Q. How to see complete list of the command-line options supported by cqlsh?

Ans: type the command

cqlsh -help.

Connect with

Leave a Reply

Your email address will not be published. Required fields are marked *