Java - Interview Questions and Answers for 'Cassandra' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com
Share

Search Java Interview Questions


 2098 questions in repository.
 There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Label / Company      Label / Company / Text

   



Cassandra


   




Interview Questions and Answers for 'Cassandra' - 8 question(s) found - Order By Newest

 Q1. What is Apache Cassandra ?Cassandra2017-05-22 17:15:23

Ans. Apache Cassandra is a free and open source distributed NoSQL database management system designed to handle large amounts of data providing high availability with no single point of failure.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     apache cassandra  cassandra


 Q2. Is Cassandra read optimized or Write optimized ?Cassandra2017-08-18 09:39:27

Ans. Read optimized

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     cassandra


 Q3. How Cassandra provides better Read performance than Oracle Indices ?Database2017-08-18 09:39:56

Ans. Cassandra uses Hash Search which provides a look time of O(1) whereas Oracle Indices uses Binary Search that provide a lookup time of O(Log n).

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     cassandra  hash search  hash search vs binary search


 Q4. How different is the Search algorithm when we query Cassandra Tables and When we query Oracle Tables ?Cassandra2017-08-18 09:40:40

Ans. Relational Database uses linear search if we don't query using indices. Performance for linear search is O(n). If indices have been used , relational database uses binary search. Performance for binary search is O(Log n).

Casandra uses hash search. Performance for Hash Search is O(1).

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     cassandra vs oracle  nosql vs relational  search algorithm


 Q5. Can we query Cassandra Tables without specifying the partition id in the where clause ?Cassandra2017-08-18 09:41:06

Ans. No.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     cassandra


 Q6. What are the restrictions on querying Cassandra Tables ?Cassandra2017-08-18 09:41:23

Ans. Cassandra Tables can only be queried using the partition key and then cluster keys, so all queries should have partition key for sure.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     cassandra


 Q7. Which of the following databases - Cassandra / Oracle - provides more flexibility about querying the database ?Database2017-08-18 09:44:08

Ans. Oracle as it is not modeled for a particular query or set of queries.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     Cassandra  Nosql database  nosql vs relational database


 Q8. Why was Cassandra written in Java and not C++ ?Cassandra2017-08-19 19:32:49

 This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     cassandra




Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner



comments powered by Disqus
 

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked:
         

X Close this

Cassandra: Frequently used these days. Apt for storing ... Anonymous

X Close this

Help Us Improve.
Please share your
interview experience.

Company Name:   


Questions Asked: