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 - The number of HF files, one column family in Habse can have is

A - Equal to number of columns in the column family

B - More than one

C - Only one

D - Only tow

Answer : B

Explanation

Onr column family can have multiple HF files associated with it.

Q 2 - While reading from Hbase the sequence in which the read happens is

A - MemCache,Blockcache,HFile

B - Blockcache,HFile,Memcache

C - MemCache,HFile,Blockcache

D - HFile,Memcache,Blockcache

Answer : A

Explanation

The order is first read the Memcache, then the Blockcache and finally the HFile.

Q 3 - The data in a cell in Hbase table is identified using the four coordinates. Three of which are − rowkey,column family and column qualifier. The fourth coordinate used to identify each value in a cell is

A - Sequence number

B - Version number

C - Serial number

D - table name

Answer : B

Explanation

In every cell Hbase stores the version number for each piece of data along with the value. So the version number is the fourth coordinate which identifies the exact piece of data.

Q 4 - In any mapreduce Job Hbase can be used as a

A - Metadata store

B - Data source

C - Datanode

D - Metadata node

Answer : B

Explanation

Hbase can act as source, sink, or shared resource in a mapreduce job.

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

Answer : D

Explanation

The two classes provided by co-processors to extend it custom its functionalities are −

OBSERVER AND Endpoint.

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.

Answer : C

Explanation

Without changing the schema awe can add columns to a column family in Hbase.

hbase_questions_answers.htm
Advertisements