Solution Cs09 Week 06 Assignment 06
Solution Cs09 Week 06 Assignment 06
Explanation:
Cassandra uses a Gossip protocol called to discover location and state information.
List 1:
1. Consistency
2. Availability
3. Partition-tolerance
List 2:
A. All nodes see same data at any time, or reads return latest written value by any client.
B. The system continues to work in spite of network partitions
C. The system allows operations all the time, and operations return quickly.
1-A, 2-C, 3-B
1-A, 2-B, 3-C
1-C, 2-A, 3-B
1-C, 2-B, 3-A
Explanation:
CAP Theorem:
1. Consistency: All nodes see same data at any time, or reads return latest written value by
any client.
2. Availability: The system allows operations all the time, and operations return quickly.
Explanation:
Apache Cassandra is a free and open-source, distributed, wide
column store, NoSQL database management system designed to handle large
amounts of data across many commodity servers, providing high availability with no
single point of failure.
4. A small chunk of data residing in one machine which is part of a cluster of machines holding one Hbase
table is known as _____.
Rowarea
Tablearea
Split
Region
Explanation:
Answer: Region
Explanation:
Cell in HBase Table is a combination of row, column family, column
qualifier and contains a value and a timestamp
6. In Cassandra, ____ maps IPs to racks and data centers configured in cassandra.yaml config file.
Client requests
Partitioner
Snitch
Distributed Hash tables
Explanation:
Answer: snitch
Explanation:
Answer: Row, column family, column qualifier and contains a value and a timestamp
8. ______ is a memory cache to store the in memory copy of the data. It accumulates writes and provides
read for data which are not yet stored to disk.
Distributed Hash tables
Collection
SSTable
Memtable
Explanation:
Cassandra uses memtables as an in-memory cache to store incoming writes.
These are later stored to disk when they are flushed.
Explanation:
The correct statements are:
Scale up: grow your cluster capacity by replacing with more powerful machines
Scale out: incrementally grow your cluster capacity by adding more COTS machines
(Components Off the Shelf)
10. HBase is a distributed ________ database built on top of the Hadoop file system.
Row-oriented
Tuple-oriented
Column-oriented
None of the mentioned
Explanation:
Answer: Column-oriented