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

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 - A record deleted in Hbase is not removed from Hbase immediately. Instead it is written to another file and marked as Delete. Such a file is Known as

A - DFile

B - Tombfile

C - Tombstone

D - Earmark

Answer : C

Explanation

The deleted records are stored in file is known as Tombstone.

Q 3 - The command which allows you to change an integer value stored in Hbase cell without reading it first is

A - Incrementcolumnvalue()

B - Incrementinteger()

C - Incrmentcellval()

D - Incrementnext()

Answer : A

Explanation

The incrementcolumnvlaue() command increments the value stored in a Hbase cell without reading it first.

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 - In a reduce-side join the Mapreduce step which is used to collocate the relevant records form the two joining data sets is

A - Map step

B - Reduce step

C - Shuffle and sort step

D - Final output step

Answer : C

Explanation

A reduce-side join takes advantage of the intermediate Shuffle Step to collocate relevant records from the two sets.

Answer : A

Explanation

The tuple row, column and version defines a cell. Here row indicates the rowkey.

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

Explanation

in Hbase under the Hbase rot directory, each table is stored under a directory and under each table directory is a region directory for every region comprising that table.

Answer : D

Explanation

The Regionservers slaves are managed by the Hbase Master node


hbase_questions_answers.htm

Advertisements