Question 147Asked in CIL MT Systems, 24 Aug 2026 (3:00 PM, CBT-26)

A team develops a text-mining tool that highlights sequences in security logs where a server's alert code is immediately followed by an IP address in the format

A team develops a text-mining tool that highlights sequences in security logs where a server's alert code is immediately followed by an IP address in the format 10.0.X.Y (where X and Y are integers). Which regular expression most efficiently identifies these patterns without false positives?
  1. Aalert\s10\.0\.[0-9]*\.[0-9]*
  2. Balert10\.0\.[0-9]+\.[0-9]+
  3. Calert\s10\.0\.[0-9]{1,3}\.[A-Z]+
  4. Dalert\s10\.0\.[0-9]+\.[0-9]+
Show answerHide answer

Correct answer: (D) alert\s10\.0\.[0-9]+\.[0-9]+

From CIL MT Systems PYQ, 24 Aug 2026 (3:00 PM, CBT-26)

This is question 147 of CIL MT Systems PYQ, 24 Aug 2026 (3:00 PM, CBT-26). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.