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 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
Colette
12 days ago
C is clear and precise for parsing.
upvoted 0 times
...
Francine
17 days ago
B is close, but it has extra parts.
upvoted 0 times
...
Leota
22 days ago
D doesn't make sense for this case.
upvoted 0 times
...
Barney
28 days ago
A is too simple, it won't work for 5.2.0.
upvoted 0 times
...
Carin
1 month ago
Yeah, C captures the full version format.
upvoted 0 times
...
Hoa
1 month ago
I’m surprised A is even an option; it doesn’t cover the full version!
upvoted 0 times
...
Dorethea
1 month ago
Wait, is D even a valid regex? Seems off to me.
upvoted 0 times
...
Major
2 months ago
Definitely going with C, it captures all parts correctly!
upvoted 0 times
...
Aron
2 months ago
I think A could work too, but it’s too simple.
upvoted 0 times
...
Lovetta
2 months 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
3 months ago
Haha, who even uses regular expressions these days? Just use a string split, it's way easier.
upvoted 0 times
...
Amira
3 months ago
D) Version (.\A) is clearly the wrong answer. That wouldn't match the version number at all.
upvoted 0 times
...
Ena
3 months 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
3 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
3 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
3 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
4 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
4 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
4 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
4 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
4 months ago
C is the right choice for parsing that version format.
upvoted 0 times
...
Onita
4 months ago
I think option C is the best choice.
upvoted 0 times
...
Nikita
5 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
5 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
5 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
Sheron
2 days ago
C is definitely the most precise option.
upvoted 0 times
...
Kristeen
7 days ago
I agree, C looks solid for capturing the full version.
upvoted 0 times
...
Lou
5 months ago
I think C captures everything we need.
upvoted 0 times
...
...

Save Cancel