Learn Hadoop Working of MapReduce Multiple Choice Questions and Answers with explanations. Practice Hadoop Working of MapReduce MCQs Online Quiz Mock Test For Objective Interview.
1. _________ method clears all keys from the configuration.
- A. clear
- B. addResource
- C. getClass
- D. None of the mentioned
Answer: Option A
Explanation:
getClass is used to get the value of the name property as a Class.
2. Which of the following storage policy is used for both storage and compute ?
Answer: Option A
Explanation:
When a block is hot, all replicas are stored in DISK.
3. Which of the following is only for storage with limited compute ?
Answer: Option B
Explanation:
When a block is cold, all replicas are stored in ARCHIVE.
4. Which of the following method is used to get user-specified job name ?
- A. getJobName()
- B. getJobState()
- C. getPriority()
- D. All of the mentioned
Answer: Option A
Explanation:
getPriority() is used to get scheduling info of the job.
5. __________ get events indicating completion (success/failure) of component tasks.
- A. getJobName()
- B. getJobState()
- C. getPriority()
- D. getTaskCompletionEvents(int startFrom)
Answer: Option D
Explanation:
getPriority() provides scheduling info of the job.