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 - Which of the following is not one of the primitive commands to interact with Hbase

A - Drop

B - Get

C - Put

D - Scan

Answer : A

Explanation

The five primitive commands for interacting with Hbase are Get, put, Delete, Scan and Increment.

Q 2 - Each version of data within a cell adds a versioning information through a

A - VersionNo

B - KeyValue

C - KeyNo

D - VersionValue

Answer : B

Explanation

Each version of data within a cell contributes one KeyValue instance to the Result.

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 : C

Explanation

As the tables are split into chunks and distributed across machines, there is no limit to how many columns they can hold.

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.

Answer : B

Explanation

The toe predefined namespace in Hbase are – habse and default. Habse contains internal tables and default contains the tables which are not qualified with any namespace.

Answer : C

Explanation

Using TTL Hbase will delte all the rows that has reached the expiration time.

Q 8 - A new counter created in Hbase has the value

A - Zero

B - 1

C - Prec configured

D - Decided at counter creation time.

Answer : D

Explanation

When a counter is initialized, its value depends on what is specified during its creation. Only if no specific value is mentioned it will initialize to zero.

Answer : A

Explanation

The Hbase tables by default are writable. They become read only by setting the readonly() option to true.

Answer : A

Explanation

The HBAse and HDFS block sizes are not related. A HFile can spread over multiple HDFS blocks.

hbase_questions_answers.htm
Advertisements