Apache Pig/Apache Pig Mcq Sample Test,Sample questions

Question:
 If data has less elements than the specified schema elements in pig, then?

1.Pig will not do any thing

2.It will pad the end of the record columns with nulls

3.Pig will through error

4.Pig will warn you before it throws error

Posted Date:-2022-09-29 10:14:00


Question:
 Point out the wrong statement

1.To run Pig in local mode, you need access to a single machine

2.The DISPLAY operator will display the results to your terminal screen

3.. To run Pig in MapReduce mode, you need access to a Hadoop cluster and HDFS installation

4.All of the above

Posted Date:-2022-09-29 08:28:57


Question:
 rel = sample xrel 0.1

1. samples 10% random records

2.samples first 10% records

3. samples last 10% records

4.None of the above

Posted Date:-2022-09-29 10:18:26


Question:
 Use the __________ command to run a Pig script that can interact with the Grunt shell (interactive mode)

1.fetch

2.declare

3.run

4.All of the above

Posted Date:-2022-09-29 09:24:20


Question:
 What are the various diagnostic operators available in Apache Pig?

1.Dump Operator

2.Describe Operator

3.Explain Operator

4.All of these

Posted Date:-2022-09-29 09:17:34


Question:
 Which of the following is a platform for analyzing large data sets that consists of a high-level language for expressing data analysis programs

1.Pig Latin

2.Oozie

3.Pigcorrect

4.Hive

Posted Date:-2022-09-29 09:08:23


Question:
How many ways can we run Pig programs?

1.one

2.twq

3.Three

4.none of the above

Posted Date:-2022-09-29 09:01:38


Question:
Pig Latin scripting language is not only a higher-level data flow language but also has operators similar to
A. 
B. 
C. 

1.JSON

2.SQL

3.XML

4.None

Posted Date:-2022-09-29 09:09:34


Question:
Pig operates in mainly how many nodes?

1.2

2.3

3.4

4.5

Posted Date:-2022-09-29 09:59:35


Question:
PigUnit runs in Pig’s _______ mode by default. 

1.Local

2.Tez

3.MapReduce

4.None of the mentioned

Posted Date:-2022-09-29 08:23:39


Question:
Point out the correct statement

1. LoadMeta has methods to convert byte arrays to specific types

2.The Pig load/store API is aligned with Hadoop's InputFormat class only

3.LoadPush has methods to push operations from Pig runtime into loader implementation

4.All of the mentioned

Posted Date:-2022-09-29 10:20:17


Question:
Point out the wrong statement

1.To run Pig in local mode, you need access to a single machine

2.The DISPLAY operator will display the results to your terminal screen

3. To run Pig in MapReduce mode, you need access to a Hadoop cluster and HDFS installation

4.All of the above

Posted Date:-2022-09-29 08:31:14


Question:
The default load function in pig is?

1.TupleStorage

2. PigStorage

3.HBaseStorage

4.All of the above

Posted Date:-2022-09-29 10:17:03


Question:
Use the __________ command to run a Pig script that can interact with the Grunt shell (interactive mode).

1.Fetch

2.Declare

3.Run

4.None

Posted Date:-2022-09-29 09:47:29


Question:
What are the different complex data types in PIG

1.Maps

2.Tuples

3.Bags

4.All of these

Posted Date:-2022-09-29 09:21:20


Question:
What are the scalar data types in pig?

1.Int

2.Float

3.Double

4.All of these

Posted Date:-2022-09-29 09:02:56


Question:
What are the various diagnostic operators available in Apache Pig?

1. Dump Operator

2.Describe Operator

3.Explain Operator

4.All of these

Posted Date:-2022-09-29 10:10:14


Question:
What are the various diagnostic operators available in Apache Pig?

1. Dump Operator

2.Describe Operator

3.Both A & B

4.None

Posted Date:-2022-09-29 09:06:41


Question:
Which of the following command can be used for debugging?

1. Exec

2.Execute

3.Error

4.Throw

Posted Date:-2022-09-29 09:03:55


Question:
Which of the following command is used to show values to keys used in Pig ?

1.Set

2.Declare

3.Display

4.None

Posted Date:-2022-09-29 09:12:17


Question:
Which of the following command is used to show values to keys used in Pig?

1.Setcorrect

2.Declare

3.Display

4. All of the mentioned

Posted Date:-2022-09-29 08:21:22


Question:
Which of the following function is used to read data in PIG?

1.Write

2.Read

3.Load

4.Run

Posted Date:-2022-09-29 09:29:06


Question:
Which of the following function is used to read data in PIG?

1.Write

2.Read

3.Load

4.Run

Posted Date:-2022-09-29 10:21:51


Question:
Which of the following is a framework for collecting and storing script-level statistics for Pig Latin.

1. Pig Stats

2. Pig Statistics

3.PStatistics

4.None

Posted Date:-2022-09-29 09:56:02


Question:
Which of the following is data flow scripting language for analyzing unstructured data?

1.Mahoot

2.Hive

3.pig

4.none

Posted Date:-2022-09-29 09:11:17


Question:
Which of the following is the default mode?

1.Mapreduce

2.Tez

3.Local

4.All of the mentioned

Posted Date:-2022-09-29 10:07:02


Question:
Which of the following will compile the Pigunit?

1. $pig_trunk ant pigunit-jar

2.$pig_ ant pigunit-jar

3. $pig_tr ant pigunit-jar

4.None

Posted Date:-2022-09-29 09:58:09


Question:
Which of the follwing is a platform for analyzing large data sets that consists of a high-level language for expressing data analysis programs

1. Pig Latin

2.Oozie

3.Pig

4.Hive

Posted Date:-2022-09-29 09:33:21


Question:
You can run Pig in batch mode using

 

1.Pig shell command

2.Pig scripts

3.Pig options

4.None

Posted Date:-2022-09-29 10:01:19


Question:
You can run Pig in interactive mode using the which of the following shell

1.Grunt

2.FS

3.HDFS

4.None

Posted Date:-2022-09-29 09:13:14


Question:
You can run Pig in interactive mode using the which of the following shell.

1.Grunt

2.FS

3.HDFS

4.None

Posted Date:-2022-09-29 10:02:58


Question:
You can run Pig in interactive mode using the ______ shell

1.Grunt

2.FS

3.HDFS

4.none of the above

Posted Date:-2022-09-29 09:26:53


Question:
You can run Pig in interactive mode using the ______ shell.

1.Grunt

2.FS

3.HDFS

4.None

Posted Date:-2022-09-29 09:00:22


Question:
You can specify parameter names and parameter values in one of the ways

1.As part of a command line

2.In parameter file, as part of a command line

3. With the declare statement, as part of Pig script

4.All of the mentioned

Posted Date:-2022-09-29 08:25:35


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

1. relativeToAbsolutePath()

2.setUdfContextSignature()

3.getCacheFiles()

4.getShipFiles

Posted Date:-2022-09-29 09:49:37


More MCQS

  1. Apache Pig Mcq
  2. Apache PIG Mcqs
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!