logo
  • Home
  • About
  • Training
  • Programming
  • CS
  • IT
  • IS
  • ECE
  • EEE
  • EE
  • Civil
  • Mechanical
  • Chemical
  • Metallurgy
  • Instrumentation
  • Aeronautical
  • Aerospace
  • Biotechnology
  • Agriculture
  • MCA
  • BCA
  • Internship
  • Contact

Hadoop Multiple Choice Questions | MCQs | Quiz

Hadoop Interview Questions and Answers
Pratice Hadoop questions and answers for interviews, campus placements, online tests, aptitude tests, quizzes and competitive exams.

Get Started

•   Hadoop - History
•   Hadoop - Big Data
•   Hadoop - Ecosystem
•   Hadoop - Mapreduce Basic
•   Hadoop - Analyzing Data
•   Hadoop - Scaling Out
•   Hadoop - Streaming
•   Hadoop - HDFS Basics
•   Hadoop - Java Interface
•   Hadoop - Data Flow
•   Hadoop - Archives
•   Hadoop - I/O
•   Hadoop - Compression
•   Hadoop - Data Integrity
•   Hadoop - Serialization
•   Hadoop - Avro 1
•   Hadoop - Avro 2
•   Mapreduce - Development 1
•   Mapreduce - Development 2
•   MapReduce - Features - 1
•   MapReduce - Features - 2
•   Hadoop - Configuration
•   Hadoop - Security
•   MapReduce - Job - 1
•   MapReduce - Job - 2
•   Hadoop - Task Execution
•   Hadoop - YARN - 1
•   Hadoop - YARN - 2
•   Mapreduce - Types
•   Mapreduce - Formats - 1
•   Mapreduce - Formats - 2
•   Hadoop - Cluster - 1
•   Hadoop - Cluster - 2
•   HDFS - Administration
•   HDFS - Monitoring
•   HDFS - Maintenance
•   Hadoop - Pig Basics
•   Pig - Latin
•   User Defined Functions
•   Data Processing Operators
•   Pig - In Practice
•   Hadoop - Hive Basics
•   Hive - Query Language - 1
•   Hive - Query Language - 2
•   HiveQL - Querying Data - 1
•   HiveQL - Querying Data - 1
•   Hadoop - HBase Basics
•   HBase - Schema Diagram
•   Hbase - Metrics
•   Hadoop - Zookeeper Basics
•   ZooKeeper - Service - 1
•   ZooKeeper - Service - 1
•   Hadoop - Sqoop Basics
•   Hadoop - Sqoop - 1
•   Hadoop - Sqoop 2
•   Hadoop - Cassandra Basics
•   Hadoop - Cassandra - 1
•   Hadoop - Cassandra - 2
•   Hadoop - Incubators - 1
•   Hadoop - Incubators - 2
•   Hadoop - Incubators - 3
•   Hadoop - Chuckwa - 1
•   Hadoop - Chuckwa - 2
•   Hadoop - Ambari
•   Hadoop - Knox
•   Hadoop - HDT
•   Hadoop - Spark - 1
•   Hadoop - Spark - 2
•   Hadoop - Flume
•   Hadoop - Lucene - 1
•   Hadoop - Lucene - 2
•   Hadoop - Hama - 1
•   Hadoop - Hama - 2
•   Hadoop - HCatalog Basics
•   Hadoop - HCatalog - 1
•   Hadoop - HCatalog - 2
•   Hadoop - Mahout
•   Hadoop - Drill
•   Hadoop - Crunch - 1
•   Hadoop - Crunch - 2
•   Hadoop - Thrift - 1
•   Hadoop - Thrift - 2
•   Hadoop - Oozie - 1
•   Hadoop - Oozie - 2
•   Hadoop - Oozie - 3
•   Hadoop - Orchestration
•   Hadoop - BigTop
•   Hadoop - Impala
•   Hadoop - Storm
•   Hadoop - Kafka - 1
•   Hadoop - Kafka - 2
•   Hadoop - Libraries - 1
•   Hadoop - Libraries - 2
•   Hadoop - Utilities - 1
•   Hadoop - Utilities - 2
•   Hadoop - Cloudera
•   Hadoop - Microsoft Azure
•   Amazon Elastic Mapreduce
•   Amazon EC2/S3 services
•   Hadoop - IBM InfoSphere

Best Reference Books

Hadoop Books
« Prev Page
Next Page »

Hadoop Questions and Answers – Mapreduce Types

Posted on January 11, 2015 by Manish

This set of Hadoop Questions & Answers for experienced focuses on “MapReduce Types”.

1. ___________ generates keys of type LongWritable and values of type Text.
a) TextOutputFormat
b) TextInputFormat
c) OutputInputFormat
d) None of the mentioned
View Answer

Answer: b
Explanation: If K2 and K3 are the same, you don’t need to call setMapOutputKeyClass().

2. Point out the correct statement :
a) The reduce input must have the same types as the map output, although the reduce output types may be different again
b) The map input key and value types (K1 and V1) are different from the map output types
c) The partition function operates on the intermediate key
d) All of the mentioned
View Answer

Answer: d
Explanation: In practice, the partition is determined solely by the key (the value is ignored).

3. In _____________, the default job is similar, but not identical, to the Java equivalent.
a) Mapreduce
b) Streaming
c) Orchestration
d) All of the mentioned
View Answer

Answer: b
Explanation: MapReduce Types and Formats MapReduce has a simple model of data processing.

4. An input _________ is a chunk of the input that is processed by a single map.
a) textformat
b) split
c) datanode
d) all of the mentioned
View Answer

Answer: b
Explanation: Each split is divided into records, and the map processes each record—a key-value pair—in turn.

5. Point out the wrong statement :
a) If V2 and V3 are the same, you only need to use setOutputValueClass()
b) The overall effect of Streaming job is to perform a sort of the input
c) A Streaming application can control the separator that is used when a key-value pair is turned into a series of bytes and sent to the map or reduce process over standard input
d) None of the mentioned
View Answer

Answer: d
Explanation: If a combine function is used then it is the same form as the reduce function, except its output types are the intermediate key and value types (K2 and V2), so they can feed the reduce function.

6. An ___________ is responsible for creating the input splits, and dividing them into records.
a) TextOutputFormat
b) TextInputFormat
c) OutputInputFormat
d) InputFormat
View Answer

Answer: d
Explanation: As a MapReduce application writer, you don’t need to deal with InputSplits directly, as they are created by an InputFormat.

7. ______________ is another implementation of the MapRunnable interface that runs mappers concurrently in a configurable number of threads.
a) MultithreadedRunner
b) MultithreadedMap
c) MultithreadedMapRunner
d) SinglethreadedMapRunner
View Answer

Answer: c
Explanation: A RecordReader is little more than an iterator over records, and the map task uses one to generate record key-value pairs, which it passes to the map function.

8. Which of the following is the only way of running mappers ?
a) MapReducer
b) MapRunner
c) MapRed
d) All of the mentioned
View Answer

Answer: b
Explanation: Having calculated the splits, the client sends them to the jobtracker.

9. _________ is the base class for all implementations of InputFormat that use files as their data source .
a) FileTextFormat
b) FileInputFormat
c) FileOutputFormat
d) None of the mentioned
View Answer

Answer: b
Explanation: FileInputFormat provides implementation for generating splits for the input files.

10. Which of the following method add a path or paths to the list of inputs ?
a) setInputPaths()
b) addInputPath()
c) setInput()
d) none of the mentioned
View Answer

Answer: b
Explanation: FileInputFormat offers four static convenience methods for setting a JobConf’s input paths.

Sanfoundry Global Education & Learning Series – Hadoop.

Here’s the list of Best Reference Books in Hadoop.

To practice all areas of Hadoop for experienced, here is complete set of 1000+ Multiple Choice Questions and Answers.
« Prev Page - Hadoop Questions and Answers – YARN-2
» Next Page - Hadoop Questions and Answers – Mapreduce Formats-1
« Hadoop Questions and Answers – YARN-2
Hadoop Questions and Answers – Mapreduce Formats-1 »

Deep Dive @ Sanfoundry:

  1. C++ Questions and Answers
  2. MongoDB Questions and Answers
  3. C Programming Examples on Searching and Sorting
  4. Cloud Computing Questions and Answers
  5. Hadoop Questions and Answers
  6. Hadoop Questions and Answers – Amazon Elastic MapReduce
  7. Hadoop Questions and Answers – MapReduce Features-2
  8. Hadoop Questions and Answers – MapReduce Features-1
  9. Hadoop Questions and Answers – Data Flow
  10. Hadoop Questions and Answers – Task Execution
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He is Linux Kernel Developer and SAN Architect and is passionate about competency developments in these areas. He lives in Bangalore and delivers focused training sessions to IT professionals in Linux Kernel, Linux Debugging, Linux Device Drivers, Linux Networking, Linux Storage & Cluster Administration, Advanced C Programming, SAN Storage Technologies, SCSI Internals and Storage Protocols such as iSCSI & Fiber Channel. Stay connected with him below:
LinkedIn | Facebook | Twitter | Google+

Best Careers

Developer Tracks
SAN Developer
Linux Kernel Developer
Linux Driver Developer
Linux Network Developer

Live Training Photos
Mentoring
Software Productivity
GDB Assignment
Sanfoundry is No. 1 choice for Deep Hands-ON Trainings in SAN, Linux & C, Kernel Programming. Our Founder has trained employees of almost all Top Companies in India such as VMware, Citrix, Oracle, Motorola, Ericsson, Aricent, HP, Intuit, Microsoft, Cisco, SAP Labs, Siemens, Symantec, Redhat, Chelsio, Cavium, ST-Micro, Samsung, LG-Soft, Wipro, TCS, HCL, IBM, Accenture, HSBC, Mphasis, Tata-Elxsi, Tata VSNL, Mindtree, Cognizant and Startups.

Best Trainings

SAN I - Technology
SAN II - Admin
Linux Fundamentals
Advanced C Training
Linux-C Debugging
System Programming
Network Programming
Linux Threads
Kernel Programming
Kernel Debugging
Linux Device Drivers

Best Reference Books

Computer Science Books
Algorithm & Programming Books
Electronics Engineering Books
Electrical Engineering Books
Chemical Engineering Books
Civil Engineering Books
Mechanical Engineering Books
Industrial Engineering Books
Instrumentation Engg Books
Metallurgical Engineering Books
All Stream Best Books

Questions and Answers

1000 C Questions & Answers
1000 C++ Questions & Answers
1000 C# Questions & Answers
1000 Java Questions & Answers
1000 Linux Questions & Answers
1000 Python Questions
1000 PHP Questions & Answers
1000 Hadoop Questions
Cloud Computing Questions
Computer Science Questions
All Stream Questions & Answers

India Internships

Computer Science Internships
Instrumentation Internships
Electronics Internships
Electrical Internships
Mechanical Internships
Industrial Internships
Systems Internships
Chemical Internships
Civil Internships
IT Internships
All Stream Internships

About Sanfoundry

About Us
Copyright
TOS & Privacy
Jobs
Bangalore Training
Online Training
SAN Training
Developers Track
Mentoring Sessions
Contact Us
Sitemap
© 2011 Sanfoundry