๐Ÿงช Hive MCQ Quiz Hub

Hive Mcq

Choose a topic to test your knowledge and improve your Hive skills

The results of a hive query can be stored as Local File HDFS file Both the above





โœ… Correct Answer: 3

If the database contains some tables then it can be forced to drop without dropping the tables by using the keyword





โœ… Correct Answer: 4

Users can pass configuration information to the SerDe using





โœ… Correct Answer: 2

The property set to run hive in local mode as true so that it runs without creating a mapreduce job is





โœ… Correct Answer: 1

Which kind of keys(CONSTRAINTS) Hive can have?





โœ… Correct Answer: 4

What is the disadvantage of using too many partitions in Hive tables?





โœ… Correct Answer: 4

The default delimiter in hive to separate the element in STRUCT is





โœ… Correct Answer: 2

By default when a database is dropped in Hive





โœ… Correct Answer: 2

The main advantage of creating table partition is





โœ… Correct Answer: 2

If the schema of the table does not match with the data types present in the file containing the table then Hive





โœ… Correct Answer: 3

A view in Hive can be seen by using





โœ… Correct Answer: 1

If an Index is dropped then





โœ… Correct Answer: 4

Which file controls the logging of Mapreduce Tasks?





โœ… Correct Answer: 2

hive-exec-log4j.properties





โœ… Correct Answer: 2

To see the partitions keys present in a Hive table the command used is





โœ… Correct Answer: 2

For optimizing join of three tables, the largest sized tables should be placed as





โœ… Correct Answer: 3

Which of the following hint is used to optimize the join queries





โœ… Correct Answer: 3

Calling a unix bash script inside a Hive Query is an example of





โœ… Correct Answer: 4

Hive uses _________ for logging.





โœ… Correct Answer: 4

HiveServer2 introduced in Hive 0.11 has a new CLI called





โœ… Correct Answer: 1

In which mode HiveServer2 only accepts valid Thrift calls.





โœ… Correct Answer: 2

Which of the following data type is supported by Hive?





โœ… Correct Answer: 4

Which of the following is not a complex data type in Hive?





โœ… Correct Answer: 1

Each database created in hive is stored as





โœ… Correct Answer: 2

When a partition is archived in Hive it





โœ… Correct Answer: 3

When a Hive query joins 3 tables, How many mapreduce jobs will be started?





โœ… Correct Answer: 2

The reverse() function reverses a string passed to it in a Hive query. This is an example of





โœ… Correct Answer: 1

Hive can be accessed remotely by using programs written in C++, Ruby etc, over a single port. This is achieved by using





โœ… Correct Answer: 1

The thrift service component in hive is used for





โœ… Correct Answer: 3

The query โ€œSHOW DATABASE LIKE โ€˜h.*โ€™ ; gives the output with database name





โœ… Correct Answer: 2

The tables created in hive are stored as





โœ… Correct Answer: 2

Using the ALTER DATABASE command in an database you can change the





โœ… Correct Answer: 2

In Hive you can copy





โœ… Correct Answer: 1

The drawback of managed tables in hive is





โœ… Correct Answer: 4

On dropping a managed table





โœ… Correct Answer: 4

On dropping a external table





โœ… Correct Answer: 1

The 2 default TBLPROPERTIES added by hive when a hive table is created is





โœ… Correct Answer: 2

The partition of an Indexed table is dropped. then,





โœ… Correct Answer: 1

Which of the following query displays the name of the database, the root location on the file system and comments if any.





โœ… Correct Answer: 3

Which of the following is the join in Hive?





โœ… Correct Answer: 4

How to change the column data type in Hive





โœ… Correct Answer: 1

Which of the following is the data types in Hive





โœ… Correct Answer: 4

Which of the following is the Key components of Hive Architecture





โœ… Correct Answer: 4

Which of the following is the commonly used Hive services





โœ… Correct Answer: 4

Point out the correct statement





โœ… Correct Answer: 1

Which of the following is used to analyse data stored in Hadoop cluster using SQL like query





โœ… Correct Answer: 2