Vidyalelo
Hadoop · all questions

Data Processing with Pig
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

80

Questions

3/4

Page

Pick an option on a question to see the right answer and solution.

. . . . . . . . operator is used to review the schema of a relation.

Select an option to see the answer and solution.

Point out the correct statement.

Select an option to see the answer and solution.

Which of the following operator is used to view the map reduce execution plans?

Select an option to see the answer and solution.

. . . . . . . . operator is used to view the step-by-step execution of a series of statements.

Select an option to see the answer and solution.

Point out the wrong statement.

Select an option to see the answer and solution.

. . . . . . . . is a framework for collecting and storing script-level statistics for Pig Latin.

Select an option to see the answer and solution.

The . . . . . . . . class mimics the behavior of the Main class but gives users a statistics object back.

Select an option to see the answer and solution.

. . . . . . . . is a simple xUnit framework that enables you to easily test your Pig scripts.

Select an option to see the answer and solution.

Which of the following will compile the Pigunit?

Select an option to see the answer and solution.

PigUnit runs in Pig's . . . . . . . . mode by default.

Select an option to see the answer and solution.

. . . . . . . . abstract class has three main methods for loading data and for most use cases it would suffice to extend it.

Select an option to see the answer and solution.

Point out the correct statement.

Select an option to see the answer and solution.

Which of the following has methods to deal with metadata?

Select an option to see the answer and solution.

. . . . . . . . method will be called by Pig both in the front end and back end to pass a unique signature to the Loader.

Select an option to see the answer and solution.

Point out the wrong statement.

Select an option to see the answer and solution.

. . . . . . . . return a list of hdfs files to ship to distributed cache.

Select an option to see the answer and solution.

The loader should use . . . . . . . . method to communicate the load information to the underlying InputFormat.

Select an option to see the answer and solution.

. . . . . . . . method enables the RecordReader associated with the InputFormat provided by the LoadFunc is passed to the LoadFunc.

Select an option to see the answer and solution.

. . . . . . . . method tells LoadFunc which fields are required in the Pig script.

Select an option to see the answer and solution.

A loader implementation should implement . . . . . . . . if casts (implicit or explicit) from DataByteArray fields to other types need to be supported.

Select an option to see the answer and solution.