HBase Online Quiz


Advertisements

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

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 default number of versions of a cell value which Hbase can store is

A - 2

B - 3

C - 8

D - Unlimited

Answer : B

Explanation

Hbase stores 3 version of a value in a cell. But this can be configured to a higher value.

Q 4 - Typically a Hbase Regionserver is collocated with

A - HDFS Namenode

B - HDFS datanode

C - As a client to HDFS server

D - TAsktrackers

Answer : B

Explanation

The Regionservers are collocated with the datanode of a HDFS system.

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

Explanation

In pseudo-distributed mode Hbase can run on either local file system or HDFS but not both.

Answer : D

Explanation

The row key gets removed when a row is deleted and a new one is created when a row is inserted.

Q 8 - A new counter created in Hbase has the value

A - Zero

B - 1

C - Prec configured

D - Decided at counter creation time.

Answer : D

Explanation

When a counter is initialized, its value depends on what is specified during its creation. Only if no specific value is mentioned it will initialize to zero.

Answer : A

Explanation

The Hbase tables by default are writable. They become read only by setting the readonly() option to true.

Q 10 - To see all the tables presen tin a user space in Hbase the command used is

A - Show

B - List

C - Select

D - Describe

Answer : B

Explanation

The list command displays all the tables present in the user space in Hbase

hbase_questions_answers.htm
Advertisements