New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

ServiceNow CIS-SM Exam - Topic 8 Question 96 Discussion

Actual exam question for ServiceNow's CIS-SM exam
Question #: 96
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: C

Contribute your Thoughts:

0/2000 characters
Major
17 days ago
Definitely going with C, it captures all parts correctly!
upvoted 0 times
...
Aron
22 days ago
I think A could work too, but it’s too simple.
upvoted 0 times
...
Lovetta
27 days ago
C) is the way to go. Regular expressions may look intimidating, but they're super powerful once you get the hang of them.
upvoted 0 times
...
Aleta
1 month ago
Haha, who even uses regular expressions these days? Just use a string split, it's way easier.
upvoted 0 times
...
Amira
1 month ago
D) Version (.\A) is clearly the wrong answer. That wouldn't match the version number at all.
upvoted 0 times
...
Ena
1 month ago
I'm pretty sure the answer is C. It looks like the most straightforward way to parse the version number.
upvoted 0 times
...
Arlette
2 months ago
C) Version\s+(\d+\.\d+\.\d+) is the correct answer. It uses a regular expression to match the version number in the format "Version 5.2.0".
upvoted 0 times
...
Johna
2 months ago
I practiced regex questions before, and I feel like option A is too simple to capture the full version number.
upvoted 0 times
...
Kathrine
2 months ago
I'm not entirely sure, but I remember something about using \s+ for spaces in regex. Maybe that makes option C the right choice?
upvoted 0 times
...
Ines
2 months ago
I'm going to go with C. The other choices seem overly complicated or don't quite fit the given format. C looks like the cleanest and most straightforward solution.
upvoted 0 times
...
Angelo
2 months ago
I'm pretty confident that C is the right answer. The other options either don't match the full version string or have unnecessary complexity.
upvoted 0 times
...
Princess
2 months ago
Hmm, I'm leaning towards C as well. The other options don't seem to fully capture the version string format. C looks like the most robust solution.
upvoted 0 times
...
Simona
3 months ago
I think option C looks familiar because it captures the version format with the three numbers separated by dots.
upvoted 0 times
...
Sanjuana
3 months ago
C is the right choice for parsing that version format.
upvoted 0 times
...
Onita
3 months ago
I think option C is the best choice.
upvoted 0 times
...
Nikita
3 months ago
I’m confused about option B; it seems to have extra parentheses that might not be necessary. Did we cover that in class?
upvoted 0 times
...
Craig
4 months ago
I'm a bit confused on this one. I'm not sure if B or C is the better approach. I'll need to think it through carefully.
upvoted 0 times
...
Yolande
4 months ago
I think C is the best option here. The regex "Version\s+(\d+\.\d+\.\d+)" should be able to capture the full version string, including the 5.2.0 value.
upvoted 0 times
Lou
3 months ago
I think C captures everything we need.
upvoted 0 times
...
...

Save Cancel