Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

ServiceNow Exam CIS-SM Topic 8 Question 58 Discussion

Actual exam question for ServiceNow's CIS-SM exam
Question #: 58
Topic #: 8
[All CIS-SM Questions]

Which one of the following Regular Expressions could be used to parse the value 5.2.0 from the string?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Vernice
8 days ago
Option A is too broad. Capturing everything between the dots won't give you the specific version numbers.
upvoted 0 times
...
Jordan
17 days ago
Option D seems a bit overkill. Splitting the version string into three separate capturing groups feels unnecessary for this use case.
upvoted 0 times
...
Man
18 days ago
But option B captures the specific format of the version number with digits and dots, making it more accurate
upvoted 0 times
...
Charlene
19 days ago
I disagree, I believe the answer is D) Version (\d+).(\d+).(\d+)
upvoted 0 times
...
Man
20 days ago
I think the answer is B) Version\s+(\d+\.\d+\.\d+)
upvoted 0 times
...
Esteban
20 days ago
I think Option B looks the most promising. It specifically targets the 'Version' keyword and a pattern of three numbers separated by dots.
upvoted 0 times
Norah
5 days ago
I think Option B is the correct Regular Expression to extract the value 5.2.0 from the string.
upvoted 0 times
...
Danica
6 days ago
I agree, Option B seems like the best choice for parsing the value 5.2.0.
upvoted 0 times
...
...
Margot
22 days ago
I'm not sure, but I think D) Version (\d+).(\d+).(\d+) could also work if we want to capture each number separately
upvoted 0 times
...
Hillary
1 months ago
I agree with Gwenn, because it specifies the exact format of the version number
upvoted 0 times
...
Gwenn
1 months ago
I think the answer is B) Version\s+(\d+\.\d+\.\d+)
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77