hiexam
crowdstrike · CCFA · Q424 · multiple_choice · topic_1

What is the function of a single asterisk (*) in an ML exclusion pattern?

What is the function of a single asterisk (*) in an ML exclusion pattern?
  • A.The single asterisk will match any number of characters, including none. It does include separator characters, such as \ or /, which separate portions of a file path
  • B.The single asterisk will match any number of characters, including none. It does not include separator characters, such as \ or /, which separate portions of a file path
  • C.The single asterisk is the insertion point for the variable list that follows the path
  • D.The single asterisk is only used to start an expression, and it represents the drive letter
Explanation
Selected Answer: B In glob, single asterisk is used to match any number of characters including none while not matching beyond path separators (\ or /) and double asterisks are used to recursively match zero or more directories that fall under the current directory.

Reference: examtopics_top_comment

Practice with progress tracking

Sign in to track wrong answers, get spaced-repetition reminders, and run timed exam mode.