Security Operations
An analyst needs to search a large text log for every line containing a failed-login pattern with varying usernames. Which technique fits BEST?
Show the answer
Correct answerD. Regular expressions
AWhy not this: Disk imaging copies storage for forensics and does not search log text.
BWhy not this: Hashing yields a fingerprint of a whole file and cannot find lines inside it.
CWhy not this: Packet capture records network traffic and is not a way to search existing log files.
DWhy this is right: Regular expressions match variable text patterns, such as differing usernames, within log lines.
Regular expressions match text patterns, so one expression can find failed-login lines whatever the username. Hashing verifies file integrity and does not search log content.