Question : Which of the following are advantages of Cassandra Database?
A. Its not a Single Point of failure DB B. It can be scaled linearly C. Its a reliable DB D. Data can be stored close to client
1. A,B,C 2. B,C,D 3. A,C,D 4. A,B,C,D
Correct Answer : 4 Explanation: About Apache Cassandra
FAULT TOLERANT: Data is automatically replicated to multiple nodes for fault-tolerance. Replication across multiple data centers is supported. Failed nodes can be replaced with no downtime.
PERFORMANT: Cassandra consistently outperforms popular NoSQL alternatives in benchmarks and real applications, primarily because of fundamental architectural choices.
DECENTRALIZED: There are no single points of failure. There are no network bottlenecks. Every node in the cluster is identical.
SCALABLE: Some of the largest production deployments include Apple's, with over 75,000 nodes storing over 10 PB of data, Netflix (2,500 nodes, 420 TB, over 1 trillion requests per day), Chinese search engine Easou (270 nodes, 300 TB, over 800 million requests per day), and eBay (over 100 nodes, 250 TB).
DURABLE: Cassandra is suitable for applications that can't afford to lose data, even when an entire data center goes down.
YOU'RE IN CONTROL: Choose between synchronous or asynchronous replication for each update. Highly available asynchronous operations are optimized with features like Hinted Handoff and Read Repair.
ELASTIC: Read and write throughput both increase linearly as new machines are added, with no downtime or interruption to applications.
Question : Primary purpose of Cassandra keyspace, is to define replication factor?
1. True 2. False
Correct Answer : 1 Explanation: Yes, replication factor is defined on Keyspace level. Keyspace is similar to database schema.
Question : Cassandra uses sequence to generate unique id number across all the nodes in cluster 1. True 2. False
Correct Answer : 2 Explanation: It is almost impossible to generate unique number in a distributed system. Cassandra uses UUID and timeuuid to generate unique number across the cluster.