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

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 - 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 - Servers that host regions of a Hbase table are called

A - RegionServers

B - Regional servers

C - Hbase Servers

D - Splitservers

Answer : A

Explanation

The Regionservers are the servers which hold the regions of a Hbase table.

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

Explanation

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

Answer : B

Explanation

The command keeps a minimum of 2 versions of all columns in column family f1.

Q 8 - Which filer accepts the pagesize as a parameter?

A - Columnfilter

B - Valuefilter

C - Pagefilter

D - Keyfilter

Answer : C

Explanation

This filter gives the query result in different pages using Pagesize parameter.

Answer : D

Explanation

Only the write-ahead replay cerates the recovered.edits file

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