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

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 - 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 - The size of a individual region is governed by the parameter

A - Hbase.region.size

B - Hbase.region.filesize

C - Hbase.region.max.filesize

D - Hbase.max.region.size

Answer : C

Explanation

The parameter Hbase.region.max.filesize is present in hbase-site.xml and it is configured to decide the size of the region.

Answer : B

Explanation

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

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

Explanation

They result from Hbase is sorted by

ColumnFamily,,Column qualifier, rowkey,,timestamp

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