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

Answer : A

Explanation

There is only one Memstore per column family

Answer : A

Explanation

The addFamily() command displays all the columns of a specific column family.

Q 3 - The command which allows you to change an integer value stored in Hbase cell without reading it first is

A - Incrementcolumnvalue()

B - Incrementinteger()

C - Incrmentcellval()

D - Incrementnext()

Answer : A

Explanation

The incrementcolumnvlaue() command increments the value stored in a Hbase cell without reading it first.

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.

Answer : B

Explanation

Given that HBase doesn’t allow inter-table or inter-row transactions.

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

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 - Before the edits in a HBAse logfile can be replayed they are separated into one logfile per region.

It is called −

A - Log splitting

B - Region splitting

C - WAL splitting

D - Replay splitting

Answer : A

Explanation

The separation of log file into one log per region is called log splitting.

hbase_questions_answers.htm
Advertisements