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

Answer : D

Explanation

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

Q 3 - Retrieving a batch of rows in every RPC call made by an API to a HBase database is called a

A - Batch

B - Scan

C - Bulkrow

D - Grouprow

Answer : B

Explanation

When a group of records is returned from HBASE database by an API making a RPC call the process is called a scan. The number of rows to be returned by configuring the caching property.

Answer : C

Explanation

As the tables are split into chunks and distributed across machines, there is no limit to how many columns they can hold.

Answer : A

Explanation

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

This incurs I/O costs.

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

Explanation

The row key gets removed when a row is deleted and a new one is created when a row is inserted.

Answer : D

Explanation

The two classes provided by co-processors to extend it custom its functionalities are −

OBSERVER AND Endpoint.

Answer : A

Explanation

The Hbase tables by default are writable. They become read only by setting the readonly() option to true.

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