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

Explanation

Hbase is a schema less database as it stores data in column families which does not have a fixed or rigid structure to follow.

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.

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 - In any mapreduce Job Hbase can be used as a

A - Metadata store

B - Data source

C - Datanode

D - Metadata node

Answer : B

Explanation

Hbase can act as source, sink, or shared resource in a mapreduce job.

Answer : A

Explanation

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

This incurs I/O costs.

Q 6 - A namespace in Hbase is analogous to which data base object in a relational system?

A - Table

B - Index

C - View

D - Database

Answer : D

Explanation

A namespace is analogous to a database in relational syetm as it holds the tables.

Q 7 - When a large amount of client requests are directed to a very few nodes in a cluster, it is known as

A - Latency

B - Bottleneck

C - Hotspotting

D - Redundancy

Answer : C

Explanation

many client requests landing in only a few nodes is called Hotspotting.

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

No .tmp directory indicates no compaction happened

Answer : B

Explanation

The table must be disabled before it is dropped.


hbase_questions_answers.htm

Advertisements