![HBase Tutorial](/hbase/images/hbase-mini-logo.jpg)
- 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.
![Questions and Answers](/images/questions_and_answers.png)
Q 1 - Hbase can store
Answer : D
Explanation
Hbase is a versatile data base which can handle both unstructured and structured data.
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 - A small chunk of data residing in one machine which is part of a cluster of machines holding one Hbase table is known as
Answer : B
Explanation
A region in Hbase table represents a small chunk of data which is part of a large Hbase table distributed across many servers.
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 - While rows and columns keys are expressed as bytes, version is specified as
Answer : B
Explanation
the version is specified using a long integer. Typically this long contains time instances such as those returned by java.util.Date.getTime()
Q 7 - All data returned from a Hbase query is sorted. They are sorted by
A - rowkey, ColumnFamily,, Column qualifier, timestamp
B - ColumnFamily,, Column qualifier, rowkey,,timestamp
Answer : A
Explanation
They result from Hbase is sorted by
ColumnFamily,,Column qualifier, rowkey,,timestamp
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 - If one single column family exceeds the maximum file size specified by Hbase configuration then
A - Data load error is encountered
B - The column family is dropped
Answer : D
Explanation
Once the max file size is reached, the region is split into two.
Q 10 - The Hbase block size and the HDFS block size
B - Hbase is twice the size of HDFS
Answer : A
Explanation
The HBAse and HDFS block sizes are not related. A HFile can spread over multiple HDFS blocks.