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 - Columns in Hbase are organized to

A - Column Group

B - Column families

C - Column list

D - Column base

Answer : B

Explanation

In Hbase columns are organized to column families.

Q 2 - The verison information of a record in a KeyValue instance is inspected using the method

A - getVersion()

B - getTimestamp()

C - getTime()

D - getVersioninfo()

Answer : B

Explanation

The getTimestamp() method is used to inspect the specific verison associated with a KeyValue Instance.

Answer : D

Explanation

Every row in a table has the same column families, although a row need not store data in all its families.

Q 4 - All MapReduce jobs reading from an Hbase table accept their[K1,V1] pair in the form of

A - [rowid:cell value]

B - [rowkey:scan result]

C - [column Family:cell value]

D - [column attribute:scan result]

Answer : B

Explanation

The key and value in a mapreduce job reading from a Hbase table correspond to the [rowkey:scan result] values.

Answer : A

Explanation

Reduce-side joins require shuffling and sorting data between map and reduce tasks.

This incurs I/O costs.

Answer : C

Explanation

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

Answer : B

Explanation

The command keeps a minimum of 2 versions of all columns in column family f1.

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

Explanation

A Hbase column family cannot be renamed. The only option is to create a new column family and copy the data.

Answer : A

Explanation

The HBAse and HDFS block sizes are not related. A HFile can spread over multiple HDFS blocks.


hbase_questions_answers.htm

Advertisements
E-Books Store