- HBase - Home
- HBase - Overview
- HBase - Architecture
- HBase - Installation
- HBase - Shell
- HBase - General Commands
- HBase - Admin API
- HBase - Create Table
- HBase - Listing Table
- HBase - Disabling a Table
- HBase - Enabling a Table
- HBase - Describe & Alter
- HBase - Exists
- HBase - Drop a Table
- HBase - Shutting Down
- HBase - Client API
- HBase - Create Data
- HBase - Update Data
- HBase - Read Data
- HBase - Delete Data
- HBase - Scan
- HBase - Count & Truncate
- HBase - Security
HBase Online Quiz
Following quiz provides Multiple Choice Questions (MCQs) related to HBase. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.
Q 1 - There are 2 programs which confirm a write into Hbase. One is write-ahead log(WAL) and the other one is
Answer : D
Explanation
The write access log and Memstore confirm the writing of a Hbase value.
Q 2 - While reading from Hbase the sequence in which the read happens is
Answer : A
Explanation
The order is first read the Memcache, then the Blockcache and finally the HFile.
Q 3 - The values stored inside a cell which is identified using a rowkey, column family and column qualifier is stored as
Answer : A
Explanation
The data stored inside a cell is always in Byte format.
Q 4 - The number of columns Hbase table can hold is
Answer : C
Explanation
As the tables are split into chunks and distributed across machines, there is no limit to how many columns they can hold.
Q 5 - In Hbase we can create index on
Answer : B
Explanation
Hbase creates indexes only on the columns that cat as key( the rowkey)
Q 6 - Which of the following pair is an option for effectively distributing the data across multiple regions?
Answer : A
Explanation
Hashing the rowkeys gives randomly distributed values and salting involves adding a random number to the rowkey. Both these options create a good distribution of keys to be used across multiple regions.
Q 7 - What does the following command do?
hbase> alter t1, NAME => f1, VERSIONS => 5
A - All the columns in the column family f1 of table t1 can have minimum 5 versions.
B - All the columns in the column family f1 of table t1 can have maximum 5 versions.
C - Creates 5 versions of the column family named f1 in table t1.
Answer : B
Explanation
The command keeps a maximum of 5 versions of all columns in column family f1.
Q 8 - The class which ised to pool client API instances to the Hbase cluster is
Answer : D
Explanation
The Htable pool is used to pool the client API instances to the Hbase cluster.
Q 9 - The Hfile contains variable number of blocks. One fixed blocks in it is the block named file info block and the other one is
Answer : A
Explanation
in an Hfile only the file infor block and trailer blocks are fixed. All others are optional.
Q 10 - In which scenario nothing is written in the WAL on HBase?
Answer : D
Explanation
during the bulk load process nothing gets written to the WAL.