- HBase Tutorial
- 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 Resources
- HBase - Questions and Answers
- HBase - Quick Guide
- HBase - Useful Resources
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 - Hbase is what type of database?
Answer : C
Explanation
Hbase is a schema less database as it stores data in column families which does not have a fixed or rigid structure to follow.
Q 2 - The deleted records in Hbase are stored in the file known as Tombstone. Then the space in freed only by truly removing these records from Hbase. This process is known as
Answer : A
Explanation
The process of merging tombstone files and creating a new HFile only containing the records not marked for delete is known as compaction.
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 - 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 - While writing to Hbase using the Mapreduce tasks, each reduce tasks writes to
Answer : C
Explanation
The writes go to the region that is responsible for the rowkey that is being written by the reduce task.
Q 6 - If we choose the rowkey to be a timestamp then inserting data to such a Hbase table will be
A - Faster than a numeric rowkey data
B - Slower than a numeric rowkey data
Answer : B
Explanation
If the rowkey is made as timestamp then it will always be written to a specific region and at the end of the table, overloading just one machine holding that region. SO it will be slower than other type of rowkey.
Q 7 - Hbase can store
Answer : D
Explanation
Hbase can store any data that can be converted to bytes.
Q 8 - Which filer accepts the pagesize as a parameter?
Answer : C
Explanation
This filter gives the query result in different pages using Pagesize parameter.
Q 9 - What is part of the directory name where Hbase data is stored?
Answer : C
Explanation
The column family is part of the directory name where the Hbase data is stored. It must be made up of printable characters.
Q 10 - The method which can be used to access the HFiel directly without using Hbase is
Answer : C
Explanation
The HFile.main() method has various option to read the HFile diretly without suing the HBAse like - -m option prints the meta data of the file.