ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 331 - CS0-003 discussion

Report
Export

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?

A.

A regular expression in Bash

Answers
A.

A regular expression in Bash

B.

Filters in the vi editor

Answers
B.

Filters in the vi editor

C.

Variables in a PowerShell script

Answers
C.

Variables in a PowerShell script

D.

A playbook in a SOAR tool

Answers
D.

A playbook in a SOAR tool

Suggested answer: A

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. CompTIA CySA+ emphasizes the use of regular expressions in log analysis for pattern matching, a common requirement for identifying suspicious activities in log files. Options B, C, and D are less suited for this specific task due to their limited pattern-matching capabilities or platform constraints.

asked 17/10/2024
Marie Joyce Candice Dancel
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first