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

Q 1 - Which of the following is not one of the primitive commands to interact with Hbase

A - Drop

B - Get

C - Put

D - Scan

Answer : A

Explanation

The five primitive commands for interacting with Hbase are Get, put, Delete, Scan and Increment.

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 - Filters in Hbase can be applied to

A - Rowkeys

B - Column qualifiers

C - Data values

D - All of the above

Answer : D

Explanation

Filetrs can be applied to rowkeys,column qualifiers and data values.

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

HBase stores its data on a single file system. It assumes all the RegionServers have access to that file system across the entire cluster.

Q 6 - Which of the following is declared during the schema definition creation?

A - Column families

B - Column names

C - Both

D - None

Answer : A

Explanation

The column families are declared upfront during the schema definition creation. But the column names can be declared anytime when the Table is up and running.

Answer : B

Explanation

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

Q 8 - The table descriptor can be used only for which type of coprocessors?

A - Region-related

B - Masterrelated

C - WAL-related

D - Column Family related

Answer : A

Explanation

The table descriptors are used only for the Region servers hence the region related coprocessors.

Answer : B

Explanation

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

Q 10 - The exported data using the inbuilt export utility from Hbase table is in which file format

A - Binaryfiles

B - Csv files

C - Sequence files

D - CRF files

Answer : C

Explanation

The data exported from Hbase table using the inbuilt export utility is in sequence file format.

hbase_questions_answers.htm
Advertisements