- 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 - The addFamily() command is used for
A - Displaying all columns of a specific column family
B - Add new column family to the table
Answer : A
Explanation
The addFamily() command displays all the columns of a specific column family.
Answer : D
Explanation
The rowkey values are stored as a byte data.
Q 4 - The size of a individual region is governed by the parameter
Answer : C
Explanation
The parameter Hbase.region.max.filesize is present in hbase-site.xml and it is configured to decide the size of the region.
Q 5 - In a Map-Side join, we take rows from one table and map it with rows from the other table. The size of one of the table should be
B - Half the size of the other table
Answer : A
Explanation
If you join two datasets where at least one of them can fit in memory of the map task,then load the smaller dataset into a hash-table so the map tasks can access it while iterating over the other dataset. In these cases, you can skip the Shuffle and Reduce Steps entirely and emit your final
output from the Map Step.
Q 6 - Which of the following is declared during the schema definition creation?
Answer : A
Explanation
The column families are declared upfront during the schema definition creation. But the column names can be declared anytime when the Table is up and running.
Q 7 - Hbase can automatically delete rows by using
Answer : C
Explanation
Using TTL Hbase will delte all the rows that has reached the expiration time.
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 - When a region does not have recovered.edits file, it indicates,
A - No compaction has happened in the region
B - Only major compaction has happened.
Answer : D
Explanation
Only the write-ahead replay cerates the recovered.edits file
Q 10 - Before the edits in a HBAse logfile can be replayed they are separated into one logfile per region.
It is called −
Answer : A
Explanation
The separation of log file into one log per region is called log splitting.