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

Answer : B

Explanation

A single HF file can be associated with only one column family.

Answer : D

Explanation

All the three events of creating,modifying and Deleting a record create a new version of the record inHbase.

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 - 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.

Q 6 - Which of the following pair is an option for effectively distributing the data across multiple regions?

A - Hashing, salting

B - Hashing, threading

C - Salting, windowing

D - Threading, salting

Answer : A

Explanation

Hashing the rowkeys gives randomly distributed values and salting involves adding a random number to the rowkey. Both these options create a good distribution of keys to be used across multiple regions.

Answer : D

Explanation

Hbase can store any data that can be converted to bytes.

Q 8 - The type of coprocessors which are similar to the stored procedures in relational database is

A - Store coprocessor

B - Parallel coprocessor

C - Observer

D - Endpoint

Answer : D

Explanation

The Endpoint type of coprocessor is similar to the data abse store dprocedure in relational systems.

Answer : D

Explanation

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

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