Summer Certification Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

CompTIA Cybersecurity Analyst CySA+ V4 (New Version) CS0-004 Question # 2 Topic 1 Discussion

CompTIA Cybersecurity Analyst CySA+ V4 (New Version) CS0-004 Question # 2 Topic 1 Discussion

CS0-004 Exam Topic 1 Question 2 Discussion:
Question #: 2
Topic #: 1

A security analyst isolates a Windows 11 workstation from the network after known malware is detected. The list of security information and event management (SIEM) events during the malware installation and timeline does not identify a specific user who was logged in. The security analyst uses the local administrative account to log in and would like a list of logins to the machine.

Which of the following PowerShell commands should the analyst use?


A.

Eventvwr.exe -LogType "Security" EventID "*" | Export-Csv c:\temp\Seclog.csv -NoTypeInformation


B.

Get-WinEvent -FilterHashTable @{ Logname="Security"

ED=4624;

} | Sort-Object TimeCreated -Descending | Export-Csv c:\temp\Seclog.csv -NoTypeInformation


C.

Get-WinEvent -FilterHashTable @{ Logname="System"

ED=9754;

} | Sort-Object TimeCreated -Descending | Export-Csv c:\temp\Seclog.csv -NoTypeInformation


D.

Get-WinEvent -FilterHashTable @{ Logname="Application"

ED=7124;

} | Sort-Object TimeCreated -Descending | Export-Csv c:\temp\Seclog.csv -NoTypeInformation


Get Premium CS0-004 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.