Skip to main content

Hadoop Part 37 Interview Questions

Hadoop interview questions part 37

Take as many assessments as you can to improve and validate your skill rating

Total Questions: 18

1. ___________ is added for supporting writing single replica files in memory.

A. ROM_DISK
B. ARCHIVE
C. RAM_DISK
D. All of the mentioned
Correct Answer is : RAM_DISK

2. Which of the following has high storage density ?

A. ROM_DISK
B. ARCHIVE
C. RAM_DISK
D. All of the mentioned
Correct Answer is : ARCHIVE

3. 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
Correct Answer is : None of the mentioned

4. Which of the following storage policy is used for both storage and compute ?

A. Hot
B. Cold
C. Warm
D. All_SSD
Correct Answer is : Hot

5. Which of the following is only for storage with limited compute ?

A. Hot
B. Cold
C. Warm
D. All_SSD
Correct Answer is : Cold

6. 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
Correct Answer is : ARCHIVE

7. ____________ is used for storing one of the replicas in SSD.

A. Hot
B. Lazy_Persist
C. One_SSD
D. All_SSD
Correct Answer is : One_SSD

8. ___________ is used for writing blocks with single replica in memory.

A. Hot
B. Lazy_Persist
C. One_SSD
D. All_SSD
Correct Answer is : Lazy_Persist

9. _________ is a data migration tool added for archiving data.

A. Mover
B. Hiver
C. Serde
D. None of the mentioned
Correct Answer is : Mover

10. Point out the correct statement :

A. Mover is not similar to Balancer
B. hdfs dfsadmin -setStoragePolicy
C. addCacheArchive add archives to be localized
D. none of the mentioned
Correct Answer is : addCacheArchive add archives to be localized

11. Which of the following is used to list out the storage policies ?

A. hdfs storagepolicies
B. hdfs storage
C. hd storagepolicies
D. all of the mentioned
Correct Answer is : hdfs storagepolicies

12. Which of the following statement can be used get the storage policy of a file or a directory ?

A. hdfs dfsadmin -getStoragePolicy path
B. hdfs dfsadmin -setStoragePolicy path policyName
C. hdfs dfsadmin -listStoragePolicy path policyName
D. all of the mentioned
Correct Answer is : hdfs dfsadmin -getStoragePolicy path

13. Which of the following method is used to get user-specified job name ?

A. getJobName()
B. getJobState()
C. getPriority()
D. all of the mentioned
Correct Answer is : getJobName()

14. __________ get events indicating completion (success/failure) of component tasks.

A. getJobName()
B. getJobState()
C. getPriority()
D. getTaskCompletionEvents(int startFrom)
Correct Answer is : getTaskCompletionEvents(int startFrom)

15. _________ gets the diagnostic messages for a given task attempt.

A. getTaskOutputFilter(Configuration conf)
B. getTaskReports(TaskType type)
C. getTrackingURL()
D. all of the mentioned
Correct Answer is : getTaskOutputFilter(Configuration conf)

16. reduceProgress() gets the progress of the job’s reduce-tasks, as a float between :

A. 0.0-1.0
B. 1.0-2.0
C. 2.0-3.0
D. None of the mentioned
Correct Answer is : 0.0-1.0

17. The Job makes a copy of the _____________ so that any necessary internal modifications do not reflect on the incoming parameter.

A. Component
B. Configuration
C. Collector
D. None of the mentioned
Correct Answer is : Configuration

18. ___________ generates keys of type LongWritable and values of type Text.

A. TextOutputFormat
B. TextInputFormat
C. OutputInputFormat
D. None of the mentioned
Correct Answer is : TextInputFormat

Similar Interview Questions

    Search for latest jobs