ServiceNow Certified Implementation Specialist – Discovery — Question 26
A config file for an application has the following three lines:
Line 1: app build 1.2.3.4 version 5.14
Line 2: installation_dir=c:\opt\bin
Line 3: build_type=Server.
Which methods below will extract the build and version numbers from these lines using a horizontal discovery pattern? (Choose two.)
Answer options
- A. Get Process operation with correct Port
- B. Find Matching URL operation with Target Variable
- C. Parse File operation with Delimited Text parsing strategy
- D. Parse File operation with Regular Expression parsing strategy
Correct answer: C, D
Explanation
The correct answers are C and D because both the Delimited Text and Regular Expression parsing strategies are effective for extracting specific data from structured lines of text. Options A and B are not suitable for this task, as they do not focus on parsing configuration files for specific values.