Sqoop Online Quiz



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

A Mapreduce job executes multiple mappers and each mapper retrieves a slice of Table's data.

Answer : C

Explanation

You can do both full and partial data import from tables but not a subset of columns from a table.

Q 3 - What is the disadvantage of storing password in the metastore as compared to storing in a password file?

A - it is easily accessible

B - it may get deleted accidentally

C - It cannot be updated

D - it is unencrypted

Answer : D

Explanation

The password file can be encrypted and prevented from reading by proper permissions. But metastore is unencrypted and cannot be prevented from reading.

Answer : B

Explanation

Sqoop needs to find the minimum and maximum value of the column

specified in the --split-by parameter so that sqoop can partition data into multiple independent slices that will be transferred in a parallel manner.

Answer : D

Explanation

many databases use statements in option (D) to process multiple rows in the insert statement.

Q 6 - Can sqoop use the TRUNCATE option in database while clearing data from a table?

A - Yes

B - No

C - Depends on the database

D - Depends on the Hadoop configuration

Answer : C

Explanation

If available through the database driver, sqoop can clear the data quickly using TRUNCATE option.

Answer : D

Explanation

we can use the –column parameter and specify the required column in the required order.

Answer : D

Explanation

Sqoop supports loading into hive partitions using additional parameters in the sqoop command.

Answer : C

Explanation

As the characters \n, \t, and \01 may interfere with the data giving incorrect result, these can be replaced with a suitable string using this parameter.

Answer : A

Explanation

The ValidationThreshold - Determines if the error margin between the source and target are acceptable: Absolute, Percentage Tolerant, etc. Default implementation is AbsoluteValidationThreshold which ensures the row counts from source and targets are the same.

sqoop_questions_answers.htm
Advertisements