Hadoop Questions and Answers – MapReduce Job – 1

This set of Hadoop Interview Questions & Answers for freshers focuses on “MapReduce Job – 1”.

1. __________ storage is a solution to decouple growing storage capacity from compute capacity.
a) DataNode
b) Archival
c) Policy
d) None of the mentioned
View Answer

Answer: b
Explanation: Nodes with higher density and less expensive storage with low compute power are becoming available.

2. Point out the correct statement.
a) When there is enough space, block replicas are stored according to the storage type list
b) One_SSD is used for storing all replicas in SSD
c) Hot policy is useful only for single replica blocks
d) All of the mentioned
View Answer

Answer: a
Explanation: The first phase of Heterogeneous Storage changed datanode storage model from a single storage.

3. ___________ is added for supporting writing single replica files in memory.
a) ROM_DISK
b) ARCHIVE
c) RAM_DISK
d) All of the mentioned
View Answer

Answer: c
Explanation: DISK is the default storage type.

4. Which of the following has high storage density?
a) ROM_DISK
b) ARCHIVE
c) RAM_DISK
d) All of the mentioned
View Answer

Answer: b
Explanation: Little compute power is added for supporting archival storage.

advertisement
advertisement

5. Point out the wrong statement.
a) A Storage policy consists of the Policy ID
b) The storage policy can be specified using the “dfsadmin -setStoragePolicy” command
c) dfs.storage.policy.enabled is used for enabling/disabling the storage policy feature
d) None of the mentioned
View Answer

Answer: d
Explanation: The effective storage policy can be retrieved by the “dfsadmin -getStoragePolicy” command.

6. Which of the following storage policy is used for both storage and compute?
a) Hot
b) Cold
c) Warm
d) All_SSD
View Answer

Answer: a
Explanation: When a block is hot, all replicas are stored in DISK.

7. Which of the following is only for storage with limited compute?
a) Hot
b) Cold
c) Warm
d) All_SSD
View Answer

Answer: b
Explanation: When a block is cold, all replicas are stored in the ARCHIVE.

8. When a block is warm, some of its replicas are stored in DISK and the remaining replicas are stored in _________
a) ROM_DISK
b) ARCHIVE
c) RAM_DISK
d) All of the mentioned
View Answer

Answer: b
Explanation: Warm storage policy is partially hot and partially cold.

advertisement

9. ____________ is used for storing one of the replicas in SSD.
a) Hot
b) Lazy_Persist
c) One_SSD
d) All_SSD
View Answer

Answer: c
Explanation: The remaining replicas are stored in DISK.

10. ___________ is used for writing blocks with single replica in memory.
a) Hot
b) Lazy_Persist
c) One_SSD
d) All_SSD
View Answer

Answer: b
Explanation: The replica is first written in RAM_DISK and then it is lazily persisted in DISK.

advertisement

Sanfoundry Global Education & Learning Series – Hadoop.

Here’s the list of Best Books in Hadoop.

To practice all areas of Hadoop for interviews, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.