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.

Q 3 - A scan returns bulk of rows. But only a selected few rows can be fetched form a scan using a

A - Group by clause

B - Minimize clause

C - Subset clause

D - Filter clause

Answer : D

Explanation

The filer clause is used to retrun only a specific set of records and not the entire result of the scan.

Q 4 - Servers that host regions of a Hbase table are called

A - RegionServers

B - Regional servers

C - Hbase Servers

D - Splitservers

Answer : A

Explanation

The Regionservers are the servers which hold the regions of a Hbase table.

Q 5 - The number of namespaces, HDFS provides to the regionservers of a Hbase database is

A - Equal to number of regionserver

B - Half of the number of regionserver

C - Double the number of regionserver

D - One

Answer : D

Explanation

HDFS provides a single namespace to all the RegionServers,and any of them can access the persisted files from any other Regionserver.

Answer : A

Explanation

In standalone mode Hbase runs only on the local file system.

Answer : B

Explanation

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

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

Q 10 - In Hbase there are two situations when the WAL logfiles needs to be replayed. One is when the server fails. The other is when

A - The logs are full

B - Rows are deleted.

C - The cluster fails

D - Rows are updated

Answer : C

Explanation

The only two instances when the logs are replayed is when cluster starts or the server fails.


hbase_questions_answers.htm

Advertisements
E-Books Store