Apache Pig

 20 Minutes
 10 Questions


This test is designed to assess a student's knowledge of the basics of Apache Pig, a technology used for data analysis. The test will cover topics such as the architecture of Apache Pig, its data types, and its basic commands. It will also include questions about how to use Apache Pig to perform various tasks related to data analysis.


Example Question:

Multiple-Choice
Considering the below script & files,
dataSet1 file content:
900,1
901,1
902,2
903,3
904,3
dataSet2 file content:
1,2
2,3
3,4
4,5
Pig Script file:
A = LOAD 'dataSet1' USING PigStorage(',') AS (aid:int,aen:int);
B = LOAD 'dataSet2' USING PigStorage(',') AS (bid:int,ben:int);
//MISSING LINE
DUMP X;
Which of the following answers will result the following output?
(901,1,1,2)
(900,1,1,2)
(902,2,2,3)
(904,3,3,4)
(903,3,3,4)