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 - There are 2 programs which confirm a write into Hbase. One is write-ahead log(WAL) and the other one is

A - Mem confirm log

B - Write complete log

C - log store

D - Memstore

Answer : D

Explanation

The write access log and Memstore confirm the writing of a Hbase value.

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 values stored inside a cell which is identified using a rowkey, column family and column qualifier is stored as

A - Byte

B - Number

C - Varchar

D - Nchar

Answer : A

Explanation

The data stored inside a cell is always in Byte format.

Answer : C

Explanation

As the tables are split into chunks and distributed across machines, there is no limit to how many columns they can hold.

Answer : B

Explanation

Hbase creates indexes only on the columns that cat as key( the rowkey)

Q 6 - Which of the following pair is an option for effectively distributing the data across multiple regions?

A - Hashing, salting

B - Hashing, threading

C - Salting, windowing

D - Threading, salting

Answer : A

Explanation

Hashing the rowkeys gives randomly distributed values and salting involves adding a random number to the rowkey. Both these options create a good distribution of keys to be used across multiple regions.

Answer : B

Explanation

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

Q 8 - The class which ised to pool client API instances to the Hbase cluster is

A - HTable()

B - HPool()

C - HBasepool()

D - HTablePool()

Answer : D

Explanation

The Htable pool is used to pool the client API instances to the Hbase cluster.

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.

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