JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
Hadoop interview questions part 42
Hadoop interview questions part 42
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. ___________ is a simple xUnit framework that enables you to easily test your Pig scripts.
A. PigUnit
B. PigXUnit
C. PigUnitX
D. All of the mentioned
Show Correct Answer
Correct Answer is :
PigXUnit
2. Which of the following will compile the Pigunit ?
A. $pig_trunk ant pigunit-jar
B. $pig_tr ant pigunit-jar
C. $pig_ ant pigunit-jar
D. None of the mentioned
Show Correct Answer
Correct Answer is :
$pig_trunk ant pigunit-jar
3. PigUnit runs in Pig’s _______ mode by default.
A. local
B. tez
C. mapreduce
D. none of the mentioned
Show Correct Answer
Correct Answer is :
local
4. Avro-backed tables can simply be created by using _________ in a DDL statement.
A. “STORED AS AVRO”
B. “STORED AS HIVE”
C. “STORED AS AVROHIVE”
D. “STORED AS SERDE”
Show Correct Answer
Correct Answer is :
“STORED AS AVRO”
5. Point out the correct statement :
A. Avro Fixed type should be defined in Hive as lists of tiny ints
B. Avro Bytes type should be defined in Hive as lists of tiny ints
C. Avro Enum type should be defined in Hive as strings
D. All of the mentioned
Show Correct Answer
Correct Answer is :
Avro Bytes type should be defined in Hive as lists of tiny ints
6. Types that may be null must be defined as a ______ of that type and Null within Avro.
A. Union
B. Intersection
C. Set
D. All of the mentioned
Show Correct Answer
Correct Answer is :
Union
7. The files that are written by the _______ job are valid Avro files.
A. Avro
B. Map Reduce
C. Hive
D. All of the mentioned
Show Correct Answer
Correct Answer is :
Hive
8. Point out the wrong statement :
A. To create an Avro-backed table, specify the serde as org.apache.hadoop.hive.serde2.avro.AvroSerDe
B. Avro-backed tables can be created in Hive using AvroSerDe
C. The AvroSerde cannot serialize any Hive table to Avro files
D. None of the mentioned
Show Correct Answer
Correct Answer is :
The AvroSerde cannot serialize any Hive table to Avro files
9. Use ________ and embed the schema in the create statement.
A. schema.literal
B. schema.lit
C. row.literal
D. all of the mentioned
Show Correct Answer
Correct Answer is :
schema.literal
10. _______ is interpolated into the quotes to correctly handle spaces within the schema.
A. $SCHEMA
B. $ROW
C. $SCHEMASPACES
D. $NAMESPACES
Show Correct Answer
Correct Answer is :
$SCHEMA
11. To force Hive to be more verbose, it can be started with :
A. *hive –hiveconf hive.root.logger=INFO,console*
B. *hive –hiveconf hive.subroot.logger=INFO,console*
C. *hive –hiveconf hive.root.logger=INFOVALUE,console*
D. All of the mentioned
Show Correct Answer
Correct Answer is :
*hive –hiveconf hive.root.logger=INFO,console*
12. ________ was designed to overcome limitations of the other Hive file formats.
A. ORC
B. OPC
C. ODC
D. None of the mentioned
Show Correct Answer
Correct Answer is :
ORC
13. An ORC file contains groups of row data called :
A. postscript
B. stripes
C. script
D. none of the mentioned
Show Correct Answer
Correct Answer is :
stripes
14. Serialization of string columns uses a ________ to form unique column values.
A. Footer
B. STRIPES
C. Dictionary
D. Index
Show Correct Answer
Correct Answer is :
Dictionary
15. Point out the correct statement :
A. The Avro file dump utility analyzes ORC files
B. Streams are compressed using a codec, which is specified as a table property for all streams in that table
C. The ODC file dump utility analyzes ORC files
D. All of the mentioned
Show Correct Answer
Correct Answer is :
Streams are compressed using a codec, which is specified as a table property for all streams in that table
16. _______ is a lossless data compression library that favors speed over compression ratio.
A. LOZ
B. LZO
C. OLZ
D. All of the mentioned
Show Correct Answer
Correct Answer is :
LOZ
17. Which of the following will prefix the query string with parameters:
A. SET hive.exec.compress.output=false
B. SET hive.compress.output=false
C. SET hive.exec.compress.output=true
D. All of the mentioned
Show Correct Answer
Correct Answer is :
SET hive.exec.compress.output=false
18. Point out the wrong statement :
A. TIMESTAMP is Only available starting with Hive 0.10.0
B. DECIMAL introduced in Hive 0.11.0 with a precision of 38 digits
C. Hive 0.13.0 introduced user definable precision and scale
D. All of the mentioned
Show Correct Answer
Correct Answer is :
DECIMAL introduced in Hive 0.11.0 with a precision of 38 digits
19. Integral literals are assumed to be _________ by default.
A. SMALL INT
B. INT
C. BIG INT
D. TINY INT
Show Correct Answer
Correct Answer is :
INT
20. Hive uses _____-style escaping within the strings.
A. C
B. Java
C. Python
D. Scala
Show Correct Answer
Correct Answer is :
C
Similar Interview Questions
Search for latest jobs
Find Jobs