Big Data Analytics (2180710) MCQs

MCQs of Introduction to hadoop and hadoop architecture

Showing 21 to 30 out of 37 Questions
21.
In which InputFormat tab character (‘/t’) is used
(a) KeyValueTextInputFormat
(b) TextInputFormat
(c) FileInputFormat
(d) SequenceFileInputFormat
Answer:

Option (a)

22.
Which among the following is true about SequenceFileInputFormat
(a) Key- byte offset. Value- It is the contents of the line
(b) Key- Everything up to tab character. Value- Remaining part of the line after tab character
(c) Key and value- Both are user-defined
(d) None of the above
Answer:

Option (c)

23.
Which is key and value in TextInputFormat
(a) Key- byte offset Value- It is the contents of the line
(b) Key- Everything up to tab character Value- Remaining part of the line after tab character
(c) Key and value- Both are user-defined
(d) None of the above
Answer:

Option (a)

24.
Which of the following are Built-In Counters in Hadoop?
(a) FileSystem Counters
(b) FileInputFormat Counters
(c) FileOutputFormat counters
(d) All of the above
Answer:

Option (d)

25.
Which of the following is not an output format in Hadoop?
(a) TextoutputFormat
(b) ByteoutputFormat
(c) SequenceFileOutputFormat
(d) DBOutputFormat
Answer:

Option (b)

26.
Is it mandatory to set input and output type/format in Hadoop MapReduce?
(a) Yes
(b) No
Answer:

Option (b)

27.
The parameters for Mappers are:
(a) text (input)
(b) LongWritable(input)
(c) text (intermediate output)
(d) All of the above
Answer:

Option (d)

28.
For 514 MB file how many InputSplit will be created
(a) 4
(b) 5
(c) 6
(d) 10
Answer:

Option (b)

29.
Which among the following is used to provide multiple inputs to Hadoop?
(a) MultipleInputs class
(b) MultipleInputFormat
(c) FileInputFormat
(d) DBInputFormat
Answer:

Option (a)

30.
The Mapper implementation processes one line at a time via _________ method.
(a) map
(b) reduce
(c) mapper
(d) reducer
Answer:

Option (a)

Showing 21 to 30 out of 37 Questions