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

Answer : A

Explanation

There is only one Memstore per column family

Answer : A

Explanation

At the end of major compaction one column family gets one HFile.

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 reduce-side join the Mapreduce step which is used to collocate the relevant records form the two joining data sets is

A - Map step

B - Reduce step

C - Shuffle and sort step

D - Final output step

Answer : C

Explanation

A reduce-side join takes advantage of the intermediate Shuffle Step to collocate relevant records from the two sets.

Q 6 - While rows and columns keys are expressed as bytes, version is specified as

A - Date

B - Long integer

C - Short integer

D - Decimal

Answer : B

Explanation

the version is specified using a long integer. Typically this long contains time instances such as those returned by java.util.Date.getTime()

Q 7 - How many types of delete markers are used by Hbase for deleting columns?

A - 2

B - 3

C - 4

D - 1

Answer : B

Explanation

The three different types of column deletes in Hbase are

Delete − for a specific version of a column.

Delete column: for all versions of a column.

Delete family − for all columns of a particular ColumnFamily

Q 8 - Which filter acts on column family?

A - Rowfilter

B - Column filter

C - Family filter

D - Valuefilter

Answer : C

Explanation

The Family filter in Hbase works on a a column family rather than on a column.

Answer : A

Explanation

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

Answer : C

Explanation

Without changing the schema awe can add columns to a column family in Hbase.

hbase_questions_answers.htm
Advertisements