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

Q 2 - While reading data from Hbase the command used to get only a specific column instead of all the columns in a column family is

A - Onecolumn

B - Addcolumn

C - FilterCOlumn

D - Dropcolumns

Answer : A

Explanation

The addcolumn() command displays result for specific column given as a input to this command rather than all the columns in a table, which is the default behavior.

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 - The size of a individual region is governed by the parameter

A - Hbase.region.size

B - Hbase.region.filesize

C - Hbase.region.max.filesize

D - Hbase.max.region.size

Answer : C

Explanation

The parameter Hbase.region.max.filesize is present in hbase-site.xml and it is configured to decide the size of the region.

Q 5 - While writing to Hbase using the Mapreduce tasks, each reduce tasks writes to

A - One region

B - Two regions

C - All the relevant regions

D - No regions

Answer : C

Explanation

The writes go to the region that is responsible for the rowkey that is being written by the reduce task.

Answer : A

Explanation

In standalone mode Hbase runs only on the local file system.

Q 7 - When a large amount of client requests are directed to a very few nodes in a cluster, it is known as

A - Latency

B - Bottleneck

C - Hotspotting

D - Redundancy

Answer : C

Explanation

many client requests landing in only a few nodes is called Hotspotting.

Q 8 - Which filter accepts chance as a parameter?

A - Skipfilter

B - Randomrow filter

C - ColumnPrefix filter

D - Whilematchfilter

Answer : B

Explanation

The Random filter which returns a random row uses the chance parameter. Example- RandomRowFilter(float chance)

Q 9 - The Hfile contains variable number of blocks. One fixed blocks in it is the block named file info block and the other one is

A - Trailer block

B - Index block

C - Data block

D - Meta blocks

Answer : A

Explanation

in an Hfile only the file infor block and trailer blocks are fixed. All others are optional.

Q 10 - In Hbase there are two situations when the WAL logfiles needs to be replayed. One is when the server fails. The other is when

A - The logs are full

B - Rows are deleted.

C - The cluster fails

D - Rows are updated

Answer : C

Explanation

The only two instances when the logs are replayed is when cluster starts or the server fails.

hbase_questions_answers.htm
Advertisements