MCQOPTIONS
Saved Bookmarks
This section includes 14 Mcqs, each offering curated multiple-choice questions to sharpen your Hadoop knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
_________ are scanned in the order they are specified on the command line. |
| A. | Command line parameters |
| B. | Parameter files |
| C. | Declare and default preprocessors |
| D. | Both parameter files and command line parameters |
| Answer» E. | |
| 2. |
Which of the following is correct syntax for parameter substitution using cmd? |
| A. | pig {-param param_name = param_value | -param_file file_name} [-debug | -dryrun] script |
| B. | {%declare | %default} param_name param_value |
| C. | {%declare | %default} param_name param_value cmd |
| D. | All of the mentioned |
| Answer» B. {%declare | %default} param_name param_value | |
| 3. |
Which of the following file contains user defined functions (UDFs)? |
| A. | script2-local.pig |
| B. | pig.jar |
| C. | tutorial.jar |
| D. | excite.log.bz2 |
| Answer» D. excite.log.bz2 | |
| 4. |
Which of the following command can be used for debugging? |
| A. | exec |
| B. | execute |
| C. | error |
| D. | throw |
| Answer» B. execute | |
| 5. |
Which of the following command is used to show values to keys used in Pig? |
| A. | set |
| B. | declare |
| C. | display |
| D. | all of the mentioned |
| Answer» B. declare | |
| 6. |
Which of the following is shortcut for DUMP operator? |
| A. | \de alias |
| B. | \d alias |
| C. | \q |
| D. | None of the mentioned |
| Answer» C. \q | |
| 7. |
__________ARE_SCANNED_IN_THE_ORDER_THEY_ARE_SPECIFIED_ON_THE_COMMAND_LINE.?$ |
| A. | Command line parameters |
| B. | Parameter files |
| C. | Declare and default preprocessors |
| D. | Both parameter files and command line parameters |
| Answer» E. | |
| 8. |
You can specify parameter names and parameter values in one of the ways? |
| A. | As part of a command line. |
| B. | In parameter file, as part of a command line |
| C. | With the declare statement, as part of Pig script |
| D. | All of the mentioned |
| Answer» E. | |
| 9. |
Which of the following is correct syntax for parameter substitution using cmd ? |
| A. | pig {-param param_name = param_value | -param_file file_name} [-debug | -dryrun] script |
| B. | {%declare | %default} param_name param_value |
| C. | {%declare | %default} param_name param_value cmd |
| D. | All of the mentioned |
| Answer» B. {%declare | %default} param_name param_value | |
| 10. |
Which of the following file contains user defined functions (UDFs) ? |
| A. | script2-local.pig |
| B. | pig.jar |
| C. | tutorial.jar |
| D. | excite.log.bz2 |
| Answer» D. excite.log.bz2 | |
| 11. |
Which of the following command can be used for debugging ? |
| A. | exec |
| B. | execute |
| C. | error |
| D. | throw |
| Answer» B. execute | |
| 12. |
Use the __________ command to run a Pig script that can interact with the Grunt shell (interactive mode). |
| A. | fetch |
| B. | declare |
| C. | run |
| D. | all of the mentioned |
| Answer» D. all of the mentioned | |
| 13. |
Which of the following command is used to show values to keys used in Pig ? |
| A. | set |
| B. | declare |
| C. | display |
| D. | All of the mentioned |
| Answer» B. declare | |
| 14. |
Which of the following is shortcut for DUMP operator ? |
| A. | \de alias |
| B. | \d alias |
| C. | \q |
| D. | None of the mentioned |
| Answer» C. \q | |