🧪 Hive MCQ Quiz Hub

Hive Mcq

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

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




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




3. Users can pass configuration information to the SerDe using




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




5. Which kind of keys(CONSTRAINTS) Hive can have?




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




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




8. By default when a database is dropped in Hive




9. The main advantage of creating table partition is




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




11. A view in Hive can be seen by using




12. If an Index is dropped then




13. Which file controls the logging of Mapreduce Tasks?




14. hive-exec-log4j.properties




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




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




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




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




19. Hive uses _________ for logging.




20. HiveServer2 introduced in Hive 0.11 has a new CLI called




21. In which mode HiveServer2 only accepts valid Thrift calls.




22. Which of the following data type is supported by Hive?




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




24. Each database created in hive is stored as




25. When a partition is archived in Hive it




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




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




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




29. The thrift service component in hive is used for




30. The query “SHOW DATABASE LIKE ‘h.*’ ; gives the output with database name




31. The tables created in hive are stored as




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




33. In Hive you can copy




34. The drawback of managed tables in hive is




35. On dropping a managed table




36. On dropping a external table




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




38. The partition of an Indexed table is dropped. then,




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




40. Which of the following is the join in Hive?




41. How to change the column data type in Hive




42. Which of the following is the data types in Hive




43. Which of the following is the Key components of Hive Architecture




44. Which of the following is the commonly used Hive services




45. Point out the correct statement




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