Skip to main content

Querying With Hive — Part 2 MCQs with Explanations

Practice high-yield Computer Science & IT MCQs on Querying With Hive — Part 2 with worked academic solutions for PPSC, FPSC, CSS, PMS, NTS.

Questions
40
Difficulty Level
Exam-Level
Target Exams
PPSC, FPSC, CSS...
Estimated Time
48 mins
Exam-Level PPSC FPSC CSS PMS NTS
Verified for Commission Syllabus • Oct 14, 2026
40

Verified Practice Questions

Interactive test mode with detailed academic worked solutions

Live Progress | 0/40 answered
✓ 0 correct ✗ 0 wrong 0% score
Question 1 of 40
★ PPSC ★ FPSC

hiveconf variables are set as normal by using the following statement?

Question 2 of 40
★ PPSC ★ FPSC

To force Hive to be more verbose, it can be started with . . . . . . . .

Question 3 of 40
★ PPSC ★ FPSC

Which of the following command does not operate on tables?

Question 4 of 40
★ PPSC ★ FPSC

Which of the following will remove the resource(s) from the distributed cache?

Question 5 of 40
★ PPSC ★ FPSC

Which of the following statement will create a column with varchar datatype?

Question 6 of 40
★ PPSC ★ FPSC

The . . . . . . . . allows users to read or write Avro data as Hive tables.

Question 7 of 40
★ PPSC ★ FPSC

HCatalog is installed with Hive, starting with Hive release is . . . . . . . .

Question 8 of 40
★ PPSC ★ FPSC

Correct and valid syntax for count command is . . . . . . . .

Question 9 of 40
★ PPSC ★ FPSC

The files that are written by the . . . . . . . . job are valid Avro files.

Question 10 of 40
★ PPSC ★ FPSC

. . . . . . . . is a lossless data compression library that favors speed over compression ratio.

Question 11 of 40
★ PPSC ★ FPSC

Hive specific commands can be run from Beeline, when the Hive . . . . . . . . driver is used.

Question 12 of 40
★ PPSC ★ FPSC

The . . . . . . . . suffers from the monotonically increasing rowkey problem.

Question 13 of 40
★ PPSC ★ FPSC

HBaseAdmin and . . . . . . . . are the two important classes in this package that provide DDL functionalities.

Question 14 of 40
★ PPSC ★ FPSC

Hive uses . . . . . . . . for logging.

Question 15 of 40
★ PPSC ★ FPSC

Serialization of string columns uses a . . . . . . . . to form unique column values.

Question 16 of 40
★ PPSC ★ FPSC

HBase is a distributed . . . . . . . . database built on top of the Hadoop file system.

Question 17 of 40
★ PPSC ★ FPSC

Hive does not support literals for . . . . . . . . types.

Question 18 of 40
★ PPSC ★ FPSC

The AvroSerde has been built and tested against Hive 0.9.1 and later, and uses Avro . . . . . . . . as of Hive 0.13 and 0.14.

Question 19 of 40
★ PPSC ★ FPSC

Variable Substitution is disabled by using . . . . . . . .

Question 20 of 40
★ PPSC ★ FPSC

When $HIVE_HOME/bin/hive is run without either the -e or -f option, it enters . . . . . . . . mode.

Question 21 of 40
★ PPSC ★ FPSC

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

Question 22 of 40
★ PPSC ★ FPSC

. . . . . . . . is interpolated into the quotes to correctly handle spaces within the schema.

Question 23 of 40
★ PPSC ★ FPSC

An ORC file contains groups of row data called . . . . . . . .

Question 24 of 40
★ PPSC ★ FPSC

. . . . . . . . reduce the amount of informational messages displayed (true) or not (false).

Question 25 of 40
★ PPSC ★ FPSC

The CLI when invoked without the -i option will attempt to load $HIVE_HOME/bin/.hiverc and $HOME/.hiverc as . . . . . . . . files.

Question 26 of 40
★ PPSC ★ FPSC

Which of the following command sets the value of a particular configuration variable (key)?

Question 27 of 40
★ PPSC ★ FPSC

One supported data type that deserves special mention are . . . . . . . .

Question 28 of 40
★ PPSC ★ FPSC

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

Question 29 of 40
★ PPSC ★ FPSC

Which command is used to disable all the tables matching the given regex?

Question 30 of 40
★ PPSC ★ FPSC

. . . . . . . . command fetches the contents of a row or a cell.

Question 31 of 40
★ PPSC ★ FPSC

. . . . . . . . was designed to overcome limitations of the other Hive file formats.

Question 32 of 40
★ PPSC ★ FPSC

Starting in Hive . . . . . . . . the Avro schema can be inferred from the Hive table schema.

Question 33 of 40
★ PPSC ★ FPSC

. . . . . . . . does re-write data and pack rows into columns for certain time-periods.

Question 34 of 40
★ PPSC ★ FPSC

Avro-backed tables can simply be created by using . . . . . . . . in a DDL statement.

Question 35 of 40
★ PPSC ★ FPSC

. . . . . . . . supports a new command shell Beeline that works with HiveServer2.

Question 36 of 40
★ PPSC ★ FPSC

Which of the following will prefix the query string with parameters?

Question 37 of 40
★ PPSC ★ FPSC

HBase is . . . . . . . . defines only column families.

Question 38 of 40
★ PPSC ★ FPSC

Which of the following is used to set transaction isolation level?

Question 39 of 40
★ PPSC ★ FPSC

Which of the following data type is supported by Hive?

Question 40 of 40
★ PPSC ★ FPSC

What does the hive.rrot.logger specified in the following statement? $HIVE_HOME/bin/hive --hiveconf hive.root.logger=INFO,console

✓ Link copied to clipboard
Continue Your Practice

Advanced Mapreduce Concepts — Part 1

Master the next curriculum module with 40 exam-standard MCQs.

Next Practice Set →

💡 Examiner's Advisory for Computer Science & IT

In competitive commission exams (FPSC, PPSC, KPPSC, SPSC, CSS, PMS), questions are frequently phrased with distractor options designed to catch rote learners. Whenever you answer an MCQ, read the Detailed Academic Explanation and Conceptual Anchor to understand why the remaining options are incorrect.

More Modules in Computer Science & IT

View All →
📚

Study Guides

Topic summaries and syllabus breakdown

Explore Guides →
🎯

Complete Library

Search through 78,000+ verified MCQs

Browse Library →
📱

Mobile App

Offline mock tests and instant bookmarks

Get Mobile App →