

MCQOPTIONS
Saved Bookmarks
This section includes 12 Mcqs, each offering curated multiple-choice questions to sharpen your Hadoop knowledge and support exam preparation. Choose a topic below to get started.
1. |
Hadoop has a library class, org.apache.hadoop.mapred.lib.FieldSelectionMapReduce, that effectively allows you to process text data like the unix ______ utility. |
A. | Copy |
B. | Cut |
C. | Paste |
D. | Move |
Answer» C. Paste | |
2. |
Which of the following class is provided by the Aggregate package? |
A. | Map |
B. | Reducer |
C. | Reduce |
D. | None of the mentioned |
Answer» C. Reduce | |
3. |
Which of the following class provides a subset of features provided by the Unix/GNU Sort? |
A. | KeyFieldBased |
B. | KeyFieldComparator |
C. | KeyFieldBasedComparator |
D. | All of the mentioned |
Answer» D. All of the mentioned | |
4. |
To set an environment variable in a streaming command use ____________ |
A. | -cmden EXAMPLE_DIR=/home/example/dictionaries/ |
B. | -cmdev EXAMPLE_DIR=/home/example/dictionaries/ |
C. | -cmdenv EXAMPLE_DIR=/home/example/dictionaries/ |
D. | -cmenv EXAMPLE_DIR=/home/example/dictionaries/ |
Answer» D. -cmenv EXAMPLE_DIR=/home/example/dictionaries/ | |
5. |
Which of the following Hadoop streaming command option parameter is required? |
A. | output directoryname |
B. | mapper executable |
C. | input directoryname |
D. | all of the mentioned |
Answer» E. | |
6. |
Which of the following class is provided by Aggregate package ? |
A. | Map |
B. | Reducer |
C. | Reduce |
D. | None of the mentioned |
Answer» C. Reduce | |
7. |
Which of the following class provides a subset of features provided by the Unix/GNU Sort ? |
A. | KeyFieldBased |
B. | KeyFieldComparator |
C. | KeyFieldBasedComparator |
D. | All of the mentioned |
Answer» D. All of the mentioned | |
8. |
______________ class allows the Map/Reduce framework to partition the map outputs based on certain key fields, not the whole keys. |
A. | KeyFieldPartitioner |
B. | KeyFieldBasedPartitioner |
C. | KeyFieldBased |
D. | None of the mentioned |
Answer» C. KeyFieldBased | |
9. |
The ________ option allows you to copy jars locally to the current working directory of tasks and automatically unjar the files. |
A. | archives |
B. | files |
C. | task |
D. | none of the mentioned |
Answer» B. files | |
10. |
To set an environment variable in a streaming command use: |
A. | -cmden EXAMPLE_DIR=/home/example/dictionaries/ |
B. | -cmdev EXAMPLE_DIR=/home/example/dictionaries/ |
C. | -cmdenv EXAMPLE_DIR=/home/example/dictionaries/ |
D. | -cmenv EXAMPLE_DIR=/home/example/dictionaries/ |
Answer» D. -cmenv EXAMPLE_DIR=/home/example/dictionaries/ | |
11. |
Which of the following Hadoop streaming command option parameter is required ? |
A. | output directoryname |
B. | mapper executable |
C. | input directoryname |
D. | all of the mentioned |
Answer» E. | |
12. |
Streaming supports streaming command options as well as _________ command options. |
A. | generic |
B. | tool |
C. | library |
D. | task |
Answer» B. tool | |