- 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 - Which of the following is not one of the primitive commands to interact with Hbase
Answer : A
Explanation
The five primitive commands for interacting with Hbase are Get, put, Delete, Scan and Increment.
Q 2 - The verison information of a record in a KeyValue instance is inspected using the method
Answer : B
Explanation
The getTimestamp() method is used to inspect the specific verison associated with a KeyValue Instance.
Q 3 - Filters in Hbase can be applied to
Answer : D
Explanation
Filetrs can be applied to rowkeys,column qualifiers and data values.
Q 4 - In any mapreduce Job Hbase can be used as a
Answer : B
Explanation
Hbase can act as source, sink, or shared resource in a mapreduce job.
Q 5 - Hbase stores data in
A - A single filesystem available to all RegionServers
B - As many filesystems as the number of regionServers
Answer : A
Explanation
HBase stores its data on a single file system. It assumes all the RegionServers have access to that file system across the entire cluster.
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 - What does the following command do?
hbase> alter t1, NAME => f1, MIN_VERSIONS => 2
A - All the columns in the column family f1 of table t1 can have minimum 2 versions.
B - All the columns in the column family f1 of table t1 can have maximum 2 versions.
C - Creates 2 versions of the column family named f1 in table t1.
Answer : B
Explanation
The command keeps a minimum of 2 versions of all columns in column family f1.
Q 8 - The table descriptor can be used only for which type of coprocessors?
Answer : A
Explanation
The table descriptors are used only for the Region servers hence the region related coprocessors.
Q 9 - A Habse column family
Answer : B
Explanation
A Hbase column family cannot be renamed. The only option is to create a new column family and copy the data.
Q 10 - The exported data using the inbuilt export utility from Hbase table is in which file format
Answer : C
Explanation
The data exported from Hbase table using the inbuilt export utility is in sequence file format.