MCQOPTIONS
Saved Bookmarks
This section includes 14 Mcqs, each offering curated multiple-choice questions to sharpen your Apache Hadoop knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
HDFS works in a __________ fashion. |
| A. | master-worker |
| B. | master-slave |
| C. | worker/slave |
| D. | all of the mentioned |
| Answer» B. master-slave | |
| 2. |
A ________ serves as the master and there is only one NameNode per cluster. |
| A. | Data Node |
| B. | NameNode |
| C. | Data block |
| D. | Replication |
| Answer» C. Data block | |
| 3. |
In order to read any file in HDFS, instance of __________ is required. |
| A. | filesystem |
| B. | datastream |
| C. | outstream |
| D. | inputstream |
| Answer» B. datastream | |
| 4. |
_____________ is used to read data from bytes buffers . |
| A. | write() |
| B. | read() |
| C. | readwrite() |
| D. | all of the mentioned |
| Answer» B. read() | |
| 5. |
HDFS is implemented in _____________ programming language. |
| A. | C++ |
| B. | Java |
| C. | Scala |
| D. | None of the mentioned |
| Answer» C. Scala | |
| 6. |
______________ is method to copy byte from input stream to any other stream in Hadoop. |
| A. | IOUtils |
| B. | Utils |
| C. | IUtils |
| D. | All of the mentioned |
| Answer» B. Utils | |
| 7. |
Interface ____________ reduces a set of intermediate values which share a key to a smaller set of values. |
| A. | Mapper |
| B. | Reducer |
| C. | Writable |
| D. | Readable |
| Answer» C. Writable | |
| 8. |
Reducer is input the grouped output of a : |
| A. | Mapper |
| B. | Reducer |
| C. | Writable |
| D. | Readable |
| Answer» B. Reducer | |
| 9. |
Applications can use the _________ provided to report progress or just indicate that they are alive. |
| A. | Collector |
| B. | Reporter |
| C. | Dashboard |
| D. | None of the mentioned |
| Answer» C. Dashboard | |
| 10. |
Which of the following parameter is to collect keys and combined values ? |
| A. | key |
| B. | values |
| C. | reporter |
| D. | output |
| Answer» E. | |
| 11. |
The output of the reduce task is typically written to the FileSystem via : |
| A. | OutputCollector |
| B. | InputCollector |
| C. | OutputCollect |
| D. | All of the mentioned |
| Answer» B. InputCollector | |
| 12. |
Output of the mapper is first written on the local disk for sorting and _________ process. |
| A. | shuffling |
| B. | secondary sorting |
| C. | forking |
| D. | reducing |
| Answer» B. secondary sorting | |
| 13. |
__________ controls the partitioning of the keys of the intermediate map-outputs. |
| A. | Collector |
| B. | Partitioner |
| C. | InputFormat |
| D. | None of the mentioned |
| Answer» C. InputFormat | |
| 14. |
__________ is the parent argument used to specify the relative path to which the files should be archived to |
| A. | -archiveName <name> |
| B. | -p <parent_path> |
| C. | <destination> |
| D. | <source> |
| Answer» C. <destination> | |