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 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 type of a rowkey is

A - String

B - Number

C - Data

D - Byte

Answer : D

Explanation

The rowkey values are stored as a byte data.

Answer : D

Explanation

The region gets split into small regions when it grows bigger in size.

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.

Q 6 - If we choose the rowkey to be a timestamp then inserting data to such a Hbase table will be

A - Faster than a numeric rowkey data

B - Slower than a numeric rowkey data

C - Same performance as rowkey data

D - Cannot be predicted.

Answer : B

Explanation

If the rowkey is made as timestamp then it will always be written to a specific region and at the end of the table, overloading just one machine holding that region. SO it will be slower than other type of rowkey.

Answer : B

Explanation

The command keeps a maximum of 5 versions of all columns in column family f1.

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.

Answer : A

Explanation

No .tmp directory indicates no compaction happened

Q 10 - In which scenario nothing is written in the WAL on HBase?

A - Record updates

B - Record Deletes

C - Bulk export

D - Bulk Load

Answer : D

Explanation

during the bulk load process nothing gets written to the WAL.

hbase_questions_answers.htm
Advertisements