Which of the following commands would work BEST to achieve the desired result?

Posted by: Pdfprep Category: CS0-002 Tags: , ,

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:

Which of the following commands would work BEST to achieve the desired result?
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

Answer: D

Leave a Reply

Your email address will not be published.