Menu
Popular Courses
Search

MCQs


Total Questions : 10
Question 1. You can run Pig in interactive mode using the ______ shell
  1.    Grunt
  2.    FS
  3.    HDFS
  4.    None of the mentioned
 Discuss Question
Answer: Option A. -> Grunt




Question 2. Which of the following is the default mode?
  1.    Mapreduce
  2.    Tez
  3.    Local
  4.    All of the mentioned
 Discuss Question
Answer: Option D. -> All of the mentioned




Question 3. 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 mentioned
 Discuss Question
Answer: Option C. -> run




Question 4. What are the various diagnostic operators available in Apache Pig?
  1.    Dump Operator
  2.    Describe Operator
  3.    Explain Operator
  4.    All of these
 Discuss Question
Answer: Option D. -> All of these




Question 5. What are the different complex data types in PIG
  1.    Maps
  2.    Tuples
  3.    Bags
  4.    All of these
 Discuss Question
Answer: Option D. -> All of these




Question 6. 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
 Discuss Question
Answer: Option B. -> It will pad the end of the record columns with nulls




Question 7. 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 implementations
  4.    All of the mentioned
 Discuss Question
Answer: Option C. -> LoadPush has methods to push operations from Pig runtime into loader implementations




Question 8. The default load function in pig is?
  1.    TupleStorage
  2.    PigStorage
  3.    HBaseStorage
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above




Question 9. Which of the following function is used to read data in PIG?
  1.    Write
  2.    Read
  3.    Load
  4.    Run
 Discuss Question
Answer: Option C. -> Load




Question 10. 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
 Discuss Question
Answer: Option A. -> samples 10% random records




Share this page with your friends!

Share this page with your friends!

Latest Videos

Chapter 1 - GLOBAL STEEL SCENARIO & INDI Part 1 : (13-04-2024) INDUSTRY AND COMPANY AWARENESS (ICA)
Direction Sense Test Part 1 Reasoning (Hindi)
Chapter 1 - RMHP / OHP / OB & BP Part 1 : (14-02-2024) GPOE 2024
Cube & Cuboid Part 1 Reasoning (Hindi)
Data Interpretation (DI) Basic Concept Reasoning (Hindi)
Counting Figures Part 1 Counting Of Straight Lines Reasoning (Hindi)
Real Numbers Part 7 Class 10 Maths
Real Numbers Part 1 Class 10 Maths
Polynomials Part 1 Class 10 Maths

Latest Test Papers

Chapter 1.1 : INTRODUCTION Chapter 1 : Raw Material Handling Plant GPOE/GPA 2024
Chapter 1.1 : Personnel Functions- An ov Chapter 1 : Personnel Management GFM 2024
Chapter 3.1 : INTRODUCTION Chapter 3 : Sinter Plant GPOE/GPA 2024
Chapter 2.3 : COAL HANDLING PLANT - Set Chapter 2 : Coke Ovens and Coal Chemicals GPOE/GPA 2024
Chapter 2.1 : Overview Chapter 2 : Materials Management GFM 2024