nerdexam
CompTIA

CS0-003 · Question #462

A systems administrator needs to gather security events with repeatable patterns from Linux log files. Which of the following would the administrator most likely use for this task?

The correct answer is A. A regular expression in Bash. Regular expressions are powerful tools for searching text based on specific patterns, making them ideal for parsing Linux log files to detect security events with repeatable patterns. In Bash, regular expressions can be used in commands like grep or awk to efficiently filter…

Submitted by amina.ke· Mar 6, 2026Security operations

Question

A systems administrator needs to gather security events with repeatable patterns from Linux log files. Which of the following would the administrator most likely use for this task?

Options

  • AA regular expression in Bash
  • BFilters in the vi editor
  • CVariables in a PowerShell script
  • DA playbook in a SOAR tool

How the community answered

(27 responses)
  • A
    78% (21)
  • B
    4% (1)
  • C
    15% (4)
  • D
    4% (1)

Explanation

Regular expressions are powerful tools for searching text based on specific patterns, making them ideal for parsing Linux log files to detect security events with repeatable patterns. In Bash, regular expressions can be used in commands like grep or awk to efficiently filter log data.

Topics

#log analysis#regular expressions#Bash scripting#Linux security

Community Discussion

No community discussion yet for this question.

Full CS0-003 Practice