Sail E0 Webinar

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




Latest Videos

Latest Test Papers