Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

WEEK 2 ASSIGNMENT ANSWERS 2022:

1. _______________works as a master server that manages the file system namespace


and basically regulates access to these files from clients, and it also keeps track of
where the data is on the Data Nodes and where the blocks are distributed
essentially.

a. Data Node
b. Name Node
c. Data block
d. Replication

Answer:- b
2. When a client contacts the name node for accessing a file, the name node
responds with

a. Size of the file requested


b. Block ID of the file requested
c. Block ID and hostname of any one of the data nodes containing that block
d. Block ID and hostname of all the data nodes containing that block.

Answer:- d

Answers will be Uploaded Shortly and it will be Notified on Telegram, So JOIN NOW

NPTEL Big Data Computing Assignment 2 Answers 2022


3. The namenode knows that the datanode is active using a mechanism known as

a. datapulse
b. h-signal
c. heartbeats
d. Active-pulse

Answer:- c
4. For reading/writing data to/from HDFS, clients first connect to ______________
a. NameNode
b. Checkpoint Node
c. DataNode
d. None of the mentioned

Answer:- a
5. True or False ?

HDFS performs replication, although it results in data redundancy?

a. True
b. False

Answer:- a
6. Consider the following statements:

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

Statement 2: Job 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

Answer:- d

Answers will be Uploaded Shortly and it will be Notified on Telegram, So JOIN NOW

NPTEL Big Data Computing Assignment 2 Answers 2022

7. Consider the following statements:


Statement 1: MapReduce is a programming model and an associated
implementation for processing and generating large data sets.

Statement 2: Users specify a map function that processes a key/value pair to


generate a set of intermediate key/value pairs, and a reduce function that merges
all intermediate values associated with the same intermediate key.

a. Only statement 1 is true


b. Only statement 2 is true
c. Both statements are true
d. Both statements are false

Answer:- c
8. 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

Answer:- d
9. Apache Hadoop YARN stands for:

a. Yet Another Reserve Negotiator


b. Yet Another Resource Negotiator
c. Yet Another Resource Network
d. Yet Another Resource Manager

Answer:-

Answers will be Uploaded Shortly and it will be Notified on Telegram, So JOIN NOW

10. Consider the pseudo-code for MapReduce’s WordCount example (not shown
here). Let’s now assume that you want to determine the average length of all the
words in a text file. Which part of the pseudo-code do you need to adapt?
a. Only map()
b. Only reduce()
c. map() and reduce()
d. The code does not have to be changed

Answer:- c

You might also like