- 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 - What is the number of MemStore per column family
Answer : A
Explanation
There is only one Memstore per column family
Q 2 - Each version of data within a cell adds a versioning information through a
Answer : B
Explanation
Each version of data within a cell contributes one KeyValue instance to the Result.
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 - The number of namespaces, HDFS provides to the regionservers of a Hbase database is
A - Equal to number of regionserver
B - Half of the number of regionserver
Answer : D
Explanation
HDFS provides a single namespace to all the RegionServers,and any of them can access the persisted files from any other Regionserver.
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 - 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 type of coprocessors which are similar to the stored procedures in relational database is
Answer : D
Explanation
The Endpoint type of coprocessor is similar to the data abse store dprocedure in relational systems.
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 - 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.