MCQOPTIONS
Saved Bookmarks
This section includes 47 Mcqs, each offering curated multiple-choice questions to sharpen your Hadoop knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
YARN’s dynamic allocation of cluster resources improves utilization over more static _______ rules used in early versions of Hadoop. |
| A. | Hive |
| B. | MapReduce |
| C. | Imphala |
| D. | All of the mentioned |
| Answer» C. Imphala | |
| 2. |
Data transfer between Web-console and clients are protected by using _________ |
| A. | SSL |
| B. | Kerberos |
| C. | SSH |
| D. | None of the mentioned |
| Answer» B. Kerberos | |
| 3. |
The queue definitions and properties such as ________ ACLs can be changed, at runtime. |
| A. | tolerant |
| B. | capacity |
| C. | speed |
| D. | all of the mentioned |
| Answer» C. speed | |
| 4. |
Which of the following command is used to dump the log container? |
| A. | logs |
| B. | log |
| C. | dump |
| D. | all of the mentioned |
| Answer» B. log | |
| 5. |
Which of the following is the default Partitioner for Mapreduce? |
| A. | MergePartitioner |
| B. | HashedPartitioner |
| C. | HashPartitioner |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 6. |
The configuration file must be owned by the user running _________ |
| A. | DataManager |
| B. | NodeManager |
| C. | ValidationManager |
| D. | None of the mentioned |
| Answer» C. ValidationManager | |
| 7. |
The ____________ requires that paths including and leading up to the directories specified in yarn.nodemanager.local-dirs. |
| A. | TaskController |
| B. | LinuxTaskController |
| C. | LinuxController |
| D. | None of the mentioned |
| Answer» C. LinuxController | |
| 8. |
Maximum virtual memory of the launched child-task is specified using _________ |
| A. | mapv |
| B. | mapred |
| C. | mapvim |
| D. | All of the mentioned |
| Answer» C. mapvim | |
| 9. |
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» B. getJobState() | |
| 10. |
Apache Hadoop YARN stands for _________ |
| A. | Yet Another Reserve Negotiator |
| B. | Yet Another Resource Network |
| C. | Yet Another Resource Negotiator |
| D. | All of the mentioned |
| Answer» D. All of the mentioned | |
| 11. |
Which of the following is the component of YARN? |
| A. | Resource Manager |
| B. | Nodes Manager |
| C. | Application Manager |
| D. | All of the above |
| Answer» E. | |
| 12. |
During the execution of a streaming job, the names of the _______ parameters are transformed. |
| A. | vmap |
| B. | mapvim |
| C. | mapreduce |
| D. | mapred |
| Answer» E. | |
| 13. |
The right level of parallelism for maps seems to be around _________ maps per-node. |
| A. | 1-10 |
| B. | 10-100 |
| C. | 100-150 |
| D. | 150-200 |
| Answer» C. 100-150 | |
| 14. |
How many major component Yarn has? |
| A. | 2 |
| B. | 3 |
| C. | 4 |
| D. | 5 |
| Answer» C. 4 | |
| 15. |
____________ is a generalization of the facility provided by the MapReduce framework to collect data output by the Mapper or the Reducer. |
| A. | OutputCompactor |
| B. | OutputCollector |
| C. | InputCollector |
| D. | All of the mentioned |
| Answer» C. InputCollector | |
| 16. |
Which of the following parameter is the threshold for the accounting and serialization buffers? |
| A. | io.sort.spill.percent |
| B. | io.sort.record.percent |
| C. | io.sort.mb |
| D. | None of the mentioned |
| Answer» B. io.sort.record.percent | |
| 17. |
Which of the following command runs ResourceManager admin client? |
| A. | proxyserver |
| B. | run |
| C. | admin |
| D. | rmadmin |
| Answer» E. | |
| 18. |
___________ used by YARN framework which defines how any container launched and controlled. |
| A. | Container |
| B. | ContainerExecutor |
| C. | Executor |
| D. | All of the mentioned |
| Answer» C. Executor | |
| 19. |
For running hadoop service daemons in Hadoop in secure mode ___________ principals are required. |
| A. | SSL |
| B. | Kerberos |
| C. | SSH |
| D. | None of the mentioned |
| Answer» C. SSH | |
| 20. |
YARN is the one who helps to manage the resources across the ________. |
| A. | clusters |
| B. | Negotiator |
| C. | Jobs |
| D. | Hadoop System |
| Answer» B. Negotiator | |
| 21. |
What is the full form of YARN? |
| A. | Yet Another Resource Network |
| B. | Yet Another Relational Negotiator |
| C. | Yet Another Resource Negotiator |
| D. | Yet Another Relational Network |
| Answer» D. Yet Another Relational Network | |
| 22. |
Which of the following class provides access to configuration parameters? |
| A. | Config |
| B. | Configuration |
| C. | OutputConfig |
| D. | None of the mentioned |
| Answer» C. OutputConfig | |
| 23. |
Users can control which keys (and hence records) go to which Reducer by implementing a custom? |
| A. | Partitioner |
| B. | OutputSplit |
| C. | Reporter |
| D. | All of the mentioned |
| Answer» B. OutputSplit | |
| 24. |
____________ is the primary interface by which user-job interacts with the JobTracker. |
| A. | JobConf |
| B. | JobClient |
| C. | JobServer |
| D. | All of the mentioned |
| Answer» C. JobServer | |
| 25. |
Which of the following adds a configuration resource? |
| A. | addResource |
| B. | setDeprecatedProperties |
| C. | addDefaultResource |
| D. | addResource |
| Answer» B. setDeprecatedProperties | |
| 26. |
The __________ is a framework-specific entity that negotiates resources from the ResourceManager. |
| A. | NodeManager |
| B. | ResourceManager |
| C. | ApplicationMaster |
| D. | All of the mentioned |
| Answer» D. All of the mentioned | |
| 27. |
Jobs can enable task JVMs to be reused by specifying the job configuration _________ |
| A. | mapred.job.recycle.jvm.num.tasks |
| B. | mapissue.job.reuse.jvm.num.tasks |
| C. | mapred.job.reuse.jvm.num.tasks |
| D. | all of the mentioned |
| Answer» C. mapred.job.reuse.jvm.num.tasks | |
| 28. |
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 |
| Answer» B. 1.0-2.0 | |
| 29. |
Map output larger than ___________ percent of the memory allocated to copying map outputs. |
| A. | 10 |
| B. | 15 |
| C. | 25 |
| D. | 35 |
| Answer» D. 35 | |
| 30. |
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 |
| Answer» B. hdfs storage | |
| 31. |
_________ is a data migration tool added for archiving data. |
| A. | Mover |
| B. | Hiver |
| C. | Serde |
| D. | None of the mentioned |
| Answer» B. Hiver | |
| 32. |
The standard output (stdout) and error (stderr) streams of the task are read by the TaskTracker and logged to _________ |
| A. | ${HADOOP_LOG_DIR}/user |
| B. | ${HADOOP_LOG_DIR}/userlogs |
| C. | ${HADOOP_LOG_DIR}/logs |
| D. | None of the mentioned |
| Answer» C. ${HADOOP_LOG_DIR}/logs | |
| 33. |
Which managers work on the allocation of resources? |
| A. | Nodes Manager |
| B. | Resource Manager |
| C. | Application Manager |
| D. | All of the above |
| Answer» B. Resource Manager | |
| 34. |
Which of the following is only for storage with limited compute? |
| A. | Hot |
| B. | Cold |
| C. | Warm |
| D. | All_SSD |
| Answer» C. Warm | |
| 35. |
In order to turn on RPC authentication in hadoop, set the value of hadoop.security.authentication property to _________ |
| A. | zero |
| B. | kerberos |
| C. | false |
| D. | none of the mentioned |
| Answer» C. false | |
| 36. |
Which of the following statement can be used to 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 |
| Answer» B. hdfs dfsadmin -setStoragePolicy path policyName | |
| 37. |
Which of the following partitions the key space? |
| A. | Partitioner |
| B. | Compactor |
| C. | Collector |
| D. | All of the mentioned |
| Answer» B. Compactor | |
| 38. |
Which of the following storage policy is used for both storage and compute? |
| A. | Hot |
| B. | Cold |
| C. | Warm |
| D. | All_SSD |
| Answer» B. Cold | |
| 39. |
Which of the following has high storage density? |
| A. | ROM_DISK |
| B. | ARCHIVE |
| C. | RAM_DISK |
| D. | All of the mentioned |
| Answer» C. RAM_DISK | |
| 40. |
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 |
| Answer» C. RAM_DISK | |
| 41. |
The updated queue configuration should be a valid one i.e. queue-capacity at each level should be equal to _________ |
| A. | 50% |
| B. | 75% |
| C. | 100% |
| D. | 0% |
| Answer» D. 0% | |
| 42. |
Applications can use the ____________ to report progress and set application-level status messages. |
| A. | Partitioner |
| B. | OutputSplit |
| C. | Reporter |
| D. | All of the mentioned |
| Answer» D. All of the mentioned | |
| 43. |
The CapacityScheduler has a predefined queue called _________ |
| A. | domain |
| B. | root |
| C. | rear |
| D. | all of the mentioned |
| Answer» C. rear | |
| 44. |
MapReduce has undergone a complete overhaul in hadoop is _________ |
| A. | 0.21 |
| B. | 0.23 |
| C. | 0.24 |
| D. | 0.26 |
| Answer» C. 0.24 | |
| 45. |
The number of reduces for the job is set by the user via _________ |
| A. | JobConf.setNumTasks(int) |
| B. | JobConf.setNumReduceTasks(int) |
| C. | JobConf.setNumMapTasks(int) |
| D. | All of the mentioned |
| Answer» C. JobConf.setNumMapTasks(int) | |
| 46. |
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 |
| Answer» C. Collector | |
| 47. |
Which of the following is not a table scope operator? |
| A. | MEMSTORE_FLUSH |
| B. | MEMSTORE_FLUSHSIZE |
| C. | MAX_FILESIZE |
| D. | All of the mentioned |
| Answer» B. MEMSTORE_FLUSHSIZE | |