Certified Ethical Hacker (CEH v10) — Question 179
You have several plain-text firewall logs that you must review to evaluate network traffic. You know that in order to do fast, efficient searches of the logs you must use regular expressions. Which command-line utility are you most likely to use?
Answer options
- A. Relational Database
- B. MS Excel
- C. Notepad
- D. Grep
Correct answer: D
Explanation
The correct answer is D, Grep, as it is specifically designed for searching plain-text data using regular expressions. The other options, such as Relational Database, MS Excel, and Notepad, do not provide the same level of efficiency and capability for regex-based searches in text files.