Question 4 — AZ-104 Practice Exam 12
Which statement about the verb-noun naming convention in PowerShell is correct? (Select one answer)
Cmdlets must always be named with a noun followed by a verb.
Cmdlet verbs must come from the approved verb list.
Nouns are always chosen from a fixed approved list.
The verb-noun convention is optional for cmdlet developers.
Correct answers
Cmdlet verbs must come from the approved verb list.
Explanations
Correct:
Cmdlet verbs must come from the approved verb list – Developers are expected to use approved verbs with appropriate descriptions.
Wrong:
Cmdlets must always be named with a noun followed by a verb – The order is verb-noun, not noun-verb.
Nouns are always chosen from a fixed approved list – Only verbs have an approved list.
The verb-noun convention is optional – It’s a standard for consistency.