MCQOPTIONS
Saved Bookmarks
This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Technical MCQs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Cmdlets can be easily constructed from as few as a dozen lines of code |
| A. | Yes |
| B. | No |
| C. | Can be yes or no |
| D. | Can not say |
| E. | |
| Answer» B. No | |
| 2. |
Although PowerShell relies on processing cmdlets, there is a second type of command called? |
| A. | function |
| B. | declare |
| C. | classes |
| D. | define |
| Answer» B. declare | |
| 3. |
____________ are specialized arguments that offer preset options or selections. |
| A. | Arguments |
| B. | Switches |
| C. | Parameters |
| D. | None of the above |
| Answer» C. Parameters | |
| 4. |
cmdlets can receive _________ as input and deliver ________ as output |
| A. | classes, objects |
| B. | objects, classes |
| C. | classes, classes |
| D. | objects, objects |
| Answer» E. | |
| 5. |
PowerShell uses a _______ name pair to name cmdlets. |
| A. | verb |
| B. | noun |
| C. | Both A and B |
| D. | None of the above |
| Answer» D. None of the above | |
| 6. |
Most cmdlets are based on ___________ classes. |
| A. | PHP |
| B. | SQL |
| C. | .NET |
| D. | Java |
| Answer» D. Java | |
| 7. |
Cmdlets can have? |
| A. | required parameters |
| B. | switch parameters |
| C. | positional parameters |
| D. | All of the above |
| Answer» E. | |
| 8. |
Which of the following is true about Cmdlet? |
| A. | Cmdlets are record-based as they process a single object at a time |
| B. | Cmdlets process works on objects not on text stream and objects can be passed as output for pipelining. |
| C. | Parsing, error presentation, and output formatting are not handled by cmdlets. It is done by the Windows PowerShell runtime. |
| D. | All of the above |
| Answer» E. | |
| 9. |
Cmdlets are .NET Framework class objects |
| A. | TRUE |
| B. | FALSE |
| C. | Can be true or false |
| D. | Can not say |
| Answer» B. FALSE | |
| 10. |
cmdlet stands for? |
| A. | Command let |
| B. | Command lightweight |
| C. | Comman let |
| D. | Command let |
| Answer» E. | |