Bigdata Bits PDF

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

1)Consider the following statements:

Statement 1: The Job Tracker is hosted inside the master and it receives the job execution
request from the client.

Statement 2: Task tracker is the MapReduce component on the slave machine as there are
multiple slave machines.
a) Only statement 1 is true
b) Only statement 2 is true
c) Both statements are true
d)Both statements are false
2)_____________is the slave/worker node and holds the user data in the form of Data Blocks.
a) NameNode
b)DataNode
c)Data block
d)Replication

3)The number of maps in MapReduce is usually driven by the total size of________________
a) Inputs
b) Outputs
c)Tasks
d) None of the mentioned

4)_______________function processes a key/value pair to generate a set of intermediate


key/value pairs.
a) Map
b) Reduce
c) Both Map and Reduce
d) None of the mentioned

5)True or False ?

The main duties of task tracker are to break down the receive job that is big computations in
small parts, allocate the partial computations that is tasks to the slave nodes monitoring the
progress and report of task execution from the slave.
a) True
b)False

6)Point out the correct statement in context of YARN:


a)YARN extends the power of Hadoop to incumbent and new technologies found within the
data center
b)YARN is highly scalable
c)YARN enhances a Hadoop compute cluster in many ways
d)All of the mentioned

7)Apache Hadoop YARN stands for:


a)Yet Another Reserve Negotiator
b)Yet Another Resource Network
c)Yet Another Resource Negotiator
d)Yet Another Resource Manager

8)Consider the pseudo-code for MapReduce's WordCount example (not shown here). Let's now
assume that you want to determine the frequency of phrases consisting of 3 words each instead
of determining the frequency of single words. Which part of the pseudo-code do you need to
adapt?
a)Only map()
b)Only reduce()
c)Both map() and reduce()
d)The code does not have to be changed

9)For which of the following operations is NO communication with the NameNode required?
a)A client writing a file to HDFS.
b)A client requesting the filename of a given block of data.
c)A client reading a block of data from the cluster.
d)A client reading a file from the cluster.

10)Which of the following components reside on a NameNode?


a)Filenames, blocks and checksums
b)Blocks and heartbeat messages
c)Filenames, block locations
d)Blocks and block locations

You might also like