![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 - A single HF file can be associated with
A - All the column families in a table
Answer : B
Explanation
A single HF file can be associated with only one column family.
Q 2 - Hbase creates a new version of a record during
Answer : D
Explanation
All the three events of creating,modifying and Deleting a record create a new version of the record inHbase.
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 - All MapReduce jobs reading from an Hbase table accept their[K1,V1] pair in the form of
Answer : B
Explanation
The key and value in a mapreduce job reading from a Hbase table correspond to the [rowkey:scan result] values.
Q 5 - The dis-advantage of reduce-side join is
A - Larger I/O costs because of shuffle and sort
B - Can process only small files for join
Answer : A
Explanation
Reduce-side joins require shuffling and sorting data between map and reduce tasks.
This incurs I/O costs.
Q 6 - Which of the following pair is an option for effectively distributing the data across multiple regions?
Answer : A
Explanation
Hashing the rowkeys gives randomly distributed values and salting involves adding a random number to the rowkey. Both these options create a good distribution of keys to be used across multiple regions.
Q 7 - Hbase can store
Answer : D
Explanation
Hbase can store any data that can be converted to bytes.
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.
To Continue Learning Please Login