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

Explanation

Hbase is a versatile data base which can handle both unstructured and structured data.

Answer : A

Explanation

The addFamily() command displays all the columns of a specific column family.

Q 3 - The data type of a rowkey is

A - String

B - Number

C - Data

D - Byte

Answer : D

Explanation

The rowkey values are stored as a byte data.

Q 4 - A small chunk of data residing in one machine which is part of a cluster of machines holding one Hbase table is known as

A - Split

B - Region

C - Rowarea

D - Tablearea

Answer : B

Explanation

A region in Hbase table represents a small chunk of data which is part of a large Hbase table distributed across many servers.

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 - While rows and columns keys are expressed as bytes, version is specified as

A - Date

B - Long integer

C - Short integer

D - Decimal

Answer : B

Explanation

the version is specified using a long integer. Typically this long contains time instances such as those returned by java.util.Date.getTime()

Answer : A

Explanation

They result from Hbase is sorted by

ColumnFamily,,Column qualifier, rowkey,,timestamp

Q 8 - Which filer accepts the pagesize as a parameter?

A - Columnfilter

B - Valuefilter

C - Pagefilter

D - Keyfilter

Answer : C

Explanation

This filter gives the query result in different pages using Pagesize parameter.

Q 9 - If one single column family exceeds the maximum file size specified by Hbase configuration then

A - Data load error is encountered

B - The column family is dropped

C - The data in the column family is truncated

D - The region is split

Answer : D

Explanation

Once the max file size is reached, the region is split into two.

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