Pre-Winter Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmasmnth

A security operations center (SOC) analyst investigates the results of a password spray test conducted...

A security operations center (SOC) analyst investigates the results of a password spray test conducted by the vulnerability management team.

The analyst must:

Identify Linux systems that have successful and unsuccessful logins with username "User1".

Create an output report named "linux-events" of all the events to a flat file.

The analyst issues the following console command:

ls /var/log/

The shortened output of the command is below:

Which of the following commands should the analyst use to meet the report output requirements?

A.

cat /var/log/sssd | grep "User1" > linux-events.txt

B.

cat /var/log/faillog.log | grep "User1" > linux-events.txt

C.

cat /var/log/syslog | grep "User1" > linux-events.txt

D.

cat /var/log/auth.log | grep "User1" > linux-events.txt

CompTIA CS0-004 Summary

  • Vendor: CompTIA
  • Product: CS0-004
  • Update on: Sep 21, 2026
  • Questions: 82
Price: $52.5  $149.99
Buy Now CS0-004 PDF + Testing Engine Pack

Payments We Accept

Your purchase with ExamsVCE is safe and fast. Your products will be available for immediate download after your payment has been received.
The ExamsVCE website is protected by 256-bit SSL from McAfee, the leader in online security.

examsvce payment method