CertNexus Certified Cyber Secure Coder (CSC) — Question 6
When performing an investigation, a security analyst needs to extract information from text files in a Windows operating system. Which of the following commands should the security analyst use?
Answer options
- A. findstr
- B. grep
- C. awk
- D. sigverif
Correct answer: C
Explanation
The correct answer is C, as 'awk' is a powerful text processing tool that can be used for pattern scanning and processing, although it is more commonly associated with Unix/Linux systems. The option A, 'findstr', is the native Windows command for searching strings in files but is not as versatile as 'awk'. Options B ('grep') and D ('sigverif') are not applicable to Windows text file processing in this context.