Question 4 — AZ-104 Practice Exam 2
For each statement below, indicate whether the answer is True or False
| Item | True | False |
|---|---|---|
| Cmdlets in PowerShell can be developed in .NET or .NET Core. | □ | □ |
| The help alias displays help with pagination, unlike Get-Help. | □ | □ |
| Get-Member is used to list all installed cmdlets. | □ | □ |
| Developers should always match cmdlet verbs with their function descriptions. | □ | □ |
Correct answers
- Cmdlets in PowerShell can be developed in .NET or .NET Core. → True
- The help alias displays help with pagination, unlike Get-Help. → True
- Get-Member is used to list all installed cmdlets. → False
- Developers should always match cmdlet verbs with their function descriptions. → True
Explanations
True: Cmdlets are built in .NET or .NET Core.
True: help is an alias for Get-Help with paginated output.
False: Get-Member is for object properties, not listing cmdlets.
True: Developers must ensure verbs align with cmdlet functionality.
Cmdlets in PowerShell can be developed in .NET or .NET Core.
The help alias displays help with pagination, unlike Get-Help.
Get-Member is used to list all installed cmdlets.
Developers should always match cmdlet verbs with their function descriptions.