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 - The deleted records in Hbase are stored in the file known as Tombstone. Then the space in freed only by truly removing these records from Hbase. This process is known as

A - Compaction

B - Retraction

C - Consolidation

D - Separation

Answer : A

Explanation

The process of merging tombstone files and creating a new HFile only containing the records not marked for delete is known as compaction.

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.

Q 4 - A small chunk of data residing in one machine which is part of a cluster of machines holding one Hbase table is known as

A - Split

B - Region

C - Rowarea

D - Tablearea

Answer : B

Explanation

A region in Hbase table represents a small chunk of data which is part of a large Hbase table distributed across many servers.

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 - A namespace in Hbase is analogous to which data base object in a relational system?

A - Table

B - Index

C - View

D - Database

Answer : D

Explanation

A namespace is analogous to a database in relational syetm as it holds the tables.

Q 7 - The length of the name of the column family should be

A - As small as possible

B - Preferably one character

C - As large as possible

D - Does not matter

Answer : B

Explanation

The colun family name should be ideally one character so that metadata associated with a cell is minimum.

Q 8 - The table descriptor can be used only for which type of coprocessors?

A - Region-related

B - Masterrelated

C - WAL-related

D - Column Family related

Answer : A

Explanation

The table descriptors are used only for the Region servers hence the region related coprocessors.

Q 9 - What is part of the directory name where Hbase data is stored?

A - Table name

B - Column qualifier

C - Column family

D - HFile

Answer : C

Explanation

The column family is part of the directory name where the Hbase data is stored. It must be made up of printable characters.

Answer : B

Explanation

The table must be disabled before it is dropped.

hbase_questions_answers.htm
Advertisements