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 - When a compaction operates over all HFiles in a column family in a given region, it is called

A - Major compaction

B - Family compaction

C - Final compaction

D - Full Compaction

Answer : A

Explanation

IN a Major compaction all the HFIles of a column family for a given region are acted upon.

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.

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.

Q 5 - The part of a Mapreduce Task which writes to a Hbase table is

A - Map

B - Reduce

C - Keys

D - none

Answer : B

Explanation

In case of reading Hbase through mapreduce the map tasks do the reading but in case of writing to Hbase the reduce tasks do the writing.

Answer : B

Explanation

The toe predefined namespace in Hbase are habse and default. Habse contains internal tables and default contains the tables which are not qualified with any namespace.

Answer : C

Explanation

Using TTL Hbase will delte all the rows that has reached the expiration time.

Q 8 - Which filer accepts the pagesize as a parameter?

A - Columnfilter

B - Valuefilter

C - Pagefilter

D - Keyfilter

Answer : C

Explanation

This filter gives the query result in different pages using Pagesize parameter.

Answer : D

Explanation

Only the write-ahead replay cerates the recovered.edits file

Answer : D

Explanation

The Regionservers slaves are managed by the Hbase Master node

hbase_questions_answers.htm
Advertisements