HBase Online Quiz


Advertisements

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

Answer : C

Explanation

Hbase is a schema less database as it stores data in column families which does not have a fixed or rigid structure to follow.

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 method which deletes a specific version within a cell is

A - Deletecolumns()

B - Deletecolumn()

C - Deleteversionno()

D - Deletespecific()

Answer : B

Explanation

The deletecolumn() deletes a specific version but deletecolumns() deletes all the versions in a cell prior to the specified version.

Answer : D

Explanation

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

Q 5 - In a Map-Side join, we take rows from one table and map it with rows from the other table. The size of one of the table should be

A - Enough to fit into memory

B - Half the size of the other table

C - Double the size of the other table

D - Small enough to be located in one physical machine

Answer : A

Explanation

If you join two datasets where at least one of them can fit in memory of the map task,then load the smaller dataset into a hash-table so the map tasks can access it while iterating over the other dataset. In these cases, you can skip the Shuffle and Reduce Steps entirely and emit your final

output from the Map Step.

Answer : C

Explanation

In pseudo-distributed mode Hbase can run on either local file system or HDFS but not both.

Answer : D

Explanation

The row key gets removed when a row is deleted and a new one is created when a row is inserted.

Q 8 - The type of coprocessors which are similar to the stored procedures in relational database is

A - Store coprocessor

B - Parallel coprocessor

C - Observer

D - Endpoint

Answer : D

Explanation

The Endpoint type of coprocessor is similar to the data abse store dprocedure in relational systems.

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