Home / CSE MCQs / Hadoop MCQs :: Hadoop HDFS

CSE MCQs :: Hadoop MCQs

  1. InputFormat class calls the ________ function and computes splits for each file and then sends them to the jobtracker.
  2. A.
    puts
    B.
    gets
    C.
    getSplits
    D.
    All of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. On a tasktracker, the map task passes the split to the createRecordReader() method on InputFormat to obtain a _________ for that split.
  4. A.
    InputReader
    B.
    RecordReader
    C.
    OutputReader
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. _________ is a pluggable Map/Reduce scheduler for Hadoop which provides a way to share large clusters.
  6. A.
    Flow Scheduler
    B.
    Data Scheduler
    C.
    Capacity Scheduler
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. Which of the following parameter describes destination directory which would contain the archive ?
  8. A.
    -archiveName
    B.
    source
    C.
    destination
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. _________ identifies filesystem pathnames which work as usual with regular expressions.
  10. A.
    -archiveName
    B.
    source
    C.
    destination
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Which of the following scenario may not be a good fit for HDFS ?
  12. A.
    HDFS is not suitable for scenarios requiring multiple/simultaneous writes to the same file
    B.
    HDFS is suitable for storing data related to applications requiring low latency data access
    C.
    HDFS is suitable for storing data related to applications requiring low latency data access
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. The need for data replication can arise in various scenarios like :
  14. A.
    Replication Factor is changed
    B.
    DataNode goes down
    C.
    Data Blocks get corrupted
    D.
    All of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. ________ is the slave/worker node and holds the user data in the form of Data Blocks.
  16. A.
    DataNode
    B.
    NameNode
    C.
    Data block
    D.
    Replication

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. Interface ____________ reduces a set of intermediate values which share a key to a smaller set of values.
  18. A.
    Mapper
    B.
    Reducer
    C.
    Writable
    D.
    Readable

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Reducer is input the grouped output of a :
  20. A.
    Mapper
    B.
    Reducer
    C.
    Writable
    D.
    Readable

    View Answer

    Workspace

    Discuss Discuss in Forum