- 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 - Columns in Hbase are organized to
Answer : B
Explanation
In Hbase columns are organized to column families.
Q 2 - While reading data from Hbase the command used to get only a specific column instead of all the columns in a column family is
Answer : A
Explanation
The addcolumn() command displays result for specific column given as a input to this command rather than all the columns in a table, which is the default behavior.
Q 3 - Retrieving a batch of rows in every RPC call made by an API to a HBase database is called a
Answer : B
Explanation
When a group of records is returned from HBASE database by an API making a RPC call the process is called a scan. The number of rows to be returned by configuring the caching property.
Q 4 - The two tables which are used to find where regions of various tables are hosted are
Answer : C
Explanation
The –ROOT_ and >META> table hold the data to find the location of regions.
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 - A namespace in Hbase is analogous to which data base object in a relational system?
Answer : D
Explanation
A namespace is analogous to a database in relational syetm as it holds the tables.
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 - Which filter acts on column family?
Answer : C
Explanation
The Family filter in Hbase works on a a column family rather than on a column.
Q 9 - The Hfile contains variable number of blocks. One fixed blocks in it is the block named file info block and the other one is
Answer : A
Explanation
in an Hfile only the file infor block and trailer blocks are fixed. All others are optional.
Q 10 - In which scenario nothing is written in the WAL on HBase?
Answer : D
Explanation
during the bulk load process nothing gets written to the WAL.
To Continue Learning Please Login
Login with Google