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

Q 1 - The Value that is unique across all the rows in Hbase table is

A - Rownum

B - RowIndex

C - RowID

D - RowKey

Answer : D

Explanation

Rowkey is the value which is the unique values across all the rows.

Q 2 - When a compaction operates over all HFiles in a column family in a given region, it is called

A - Major compaction

B - Family compaction

C - Final compaction

D - Full Compaction

Answer : A

Explanation

IN a Major compaction all the HFIles of a column family for a given region are acted upon.

Q 3 - The data in a cell in Hbase table is identified using the four coordinates. Three of which are − rowkey,column family and column qualifier. The fourth coordinate used to identify each value in a cell is

A - Sequence number

B - Version number

C - Serial number

D - table name

Answer : B

Explanation

In every cell Hbase stores the version number for each piece of data along with the value. So the version number is the fourth coordinate which identifies the exact piece of data.

Answer : D

Explanation

The region gets split into small regions when it grows bigger in size.

Q 5 - When a map tasks in a mapreduce job reads from the Hbase table, it reads from

A - One row

B - One column family

C - One column

D - One region

Answer : D

Explanation

Each map tasks reading a Hbase table reads from a region.

Q 6 - Which of the following is declared during the schema definition creation?

A - Column families

B - Column names

C - Both

D - None

Answer : A

Explanation

The column families are declared upfront during the schema definition creation. But the column names can be declared anytime when the Table is up and running.

Answer : D

Explanation

Hbase can store any data that can be converted to bytes.

Q 8 - A coprocessor is executed when an event occurs. This type of coprocessor is known as

A - Observer

B - Listener

C - Master

D - Event handler

Answer : A

Explanation

The observer type of coprocessor is executed when an event occurs.

Answer : A

Explanation

No .tmp directory indicates no compaction happened

Answer : D

Explanation

The Regionservers slaves are managed by the Hbase Master node

hbase_questions_answers.htm
Advertisements