ExamQuestions.com

Register
Login
CompTIA CySA+ Certification Exam (CS0-002) Exam Questions

CompTIA

CompTIA CySA+ Certification Exam (CS0-002)

22 / 160

Question 22:

A security analyst is reviewing the logs from an internal chat server. The chat.log file is too large to review manually, so the analyst wants to create a shorter log file that only includes lines associated with a user demonstrating anomalous activity. Below is a snippet of the log: 
image
Which of the following commands would work BEST to achieve the desired result? 

Answer options:

A. grep -v chatter14 chat.log
B. grep -i pythonfun chat.log
C. grep -i javashark chat.log
D. grep -v javashark chat.log
E. grep -v pythonfun chat.log
F. grep -i chatter14 chat.log