Hive Online Quiz


Advertisements


Following quiz provides Multiple Choice Questions (MCQs) related to Hive. 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 : B

Explanation

Hive is suited for effectively organizing and querying the store data and not inserting/updating data which is required for OLTP.

Answer : D

Explanation

As they are managed by Hive metadata, other applications cannot access it.

Answer : B

Explanation

It is a program to read and write files using Java Input and Output formats.

Q 4 - While querying a hive table for a column with MAP data type, the elements in the column are referenced by

A - Index

B - Key

C - Value

D - nested Index

Answer : B

Explanation

The MAP data type is a key-value pair and not index based.

Q 5 - To select all columns starting with the word 'Sell' form the table GROSS_SELL the query is

A - select '$Sell*'  from GROSS_SELL

B - select 'Sell*' from GROSS_SELL

C - select 'sell.*' from GROSS_SELL

D - select  'sell[*]' from GROSS_SELL

Answer : C

Explanation

Hive supports java based regular expression for querying its metadata.

Q 6 - A view in Hive can be seen by using

A - SHOW TABLES

B - SHOW VIEWS

C - DESCRIBE VIEWS

D - VIEW VIEWS

Answer : A

Explanation

There is no separate clause for viewing views. It is shown using show tables.

Answer : D

Explanation

It is about creating index on an empty table.

Answer : C

Explanation

Streaming a table of small size makes the query faster.

Answer : A

Explanation

This property controls the logging in command line Interface.

Answer : D

Explanation

All the listed filesystem can be accessed using UDF


hive_questions_answers.htm

Advertisements