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.

Answer : A

Explanation

The addFamily() command displays all the columns of a specific column family.

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.

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 - In a Map-Side join, we take rows from one table and map it with rows from the other table. The size of one of the table should be

A - Enough to fit into memory

B - Half the size of the other table

C - Double the size of the other table

D - Small enough to be located in one physical machine

Answer : A

Explanation

If you join two datasets where at least one of them can fit in memory of the map task,then load the smaller dataset into a hash-table so the map tasks can access it while iterating over the other dataset. In these cases, you can skip the Shuffle and Reduce Steps entirely and emit your final

output from the Map Step.

Q 6 - Which of the following is declared during the schema definition creation?

A - Column families

B - Column names

C - Both

D - None

Answer : A

Explanation

The column families are declared upfront during the schema definition creation. But the column names can be declared anytime when the Table is up and running.

Answer : C

Explanation

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

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.

Answer : D

Explanation

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

Q 10 - Before the edits in a HBAse logfile can be replayed they are separated into one logfile per region.

It is called −

A - Log splitting

B - Region splitting

C - WAL splitting

D - Replay splitting

Answer : A

Explanation

The separation of log file into one log per region is called log splitting.

hbase_questions_answers.htm
Advertisements