Cassandra Questions and Answers
11. Cassendra is a?
A. Centralised database
B. End-user database
C. NoSQL database
D. Relational database
View Answer
Ans : C
Explanation: NoSQL database management system designed to handle large amounts of data across many commodity servers, providing high availability with no single point of failure.
12. Programming language used in cassendra?
A. C
B. Java
C. C++
D. .Net
View Answer
Ans : B
Explanation: Programming language: Java
13. Which of the following are Features of Cassandra?
A. Elastic scalability
B. Flexible data storage
C. Easy data distribution
D. All of the above
View Answer
Ans : D
Explanation: All of the above are the Features of Cassandra.
14. Cassandra uses the ________ in the background to allow the nodes to communicate with each other and detect any faulty nodes in the cluster.
A. Gossip Protocol
B. Commit Protocol
C. Mem Protocol
D. Talk Protocol
View Answer
Ans : A
Explanation: Cassandra uses the Gossip Protocol in the background to allow the nodes to communicate with each other and detect any faulty nodes in the cluster.
15. Which of them is a memory-resident data structure?
A. Data center
B. SSTable
C. Mem-table
D. Bloom filter
View Answer
Ans : C
Explanation: Mem-table : A mem-table is a memory-resident data structure. After commit log, the data will be written to the mem-table. Sometimes, for a single-column family, there will be multiple mem-tables.
16. ____________ is the outermost container for data in Cassandra.
A. replication
B. Keyspace
C. network
D. topology
View Answer
Ans : B
Explanation: Keyspace is the outermost container for data in Cassandra.
17. Which of the following is a unit of replication in Cassandra?
A. Row
B. Column
C. Both A and B
D. None of the above
View Answer
Ans : A
Explanation: Row is a unit of replication in Cassandra and Column is a unit of storage in Cassandra.
18. Cassandra deals with structured data.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : B
Explanation: False, Cassandra deals with unstructured data.
19. Which of the following is the command to run the queries in CQLSH.
A. execute query()
B. run()
C. execute()
D. run query()
View Answer
Ans : C
Explanation: execute() is the command to run the queries in CQLSH
20. CRUD stands for ____.
A. Create Read Update Delete
B. Change Return Upload Download
C. Both A and B
D. Create Read Update Drop
View Answer
Ans : D
Explanation: CRUD stands for Create Read Update Drop.
Discussion