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 - 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 - Retrieving a batch of rows in every RPC call made by an API to a HBase database is called a

A - Batch

B - Scan

C - Bulkrow

D - Grouprow

Answer : B

Explanation

When a group of records is returned from HBASE database by an API making a RPC call the process is called a scan. The number of rows to be returned by configuring the caching property.

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

Explanation

By default HBase runs in standalone mode. For a fully distributed configuration set the hbase-cluster.distributed property to true.

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 - 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 - 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.

Q 10 - To see all the tables presen tin a user space in Hbase the command used is

A - Show

B - List

C - Select

D - Describe

Answer : B

Explanation

The list command displays all the tables present in the user space in Hbase

hbase_questions_answers.htm
Advertisements