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-EM Topic 4 Question 42 Discussion

Actual exam question for ServiceNow's CIS-EM exam
Question #: 42
Topic #: 4
[All CIS-EM Questions]

The correct regex to capture the name of the server in ''the server webserver3.domain.com is down'' would be:

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

India
23 days ago
Regex? More like re-gret-x. Who comes up with these tortuous questions anyway?
upvoted 0 times
Sena
2 days ago
I know right, regex can be so confusing sometimes.
upvoted 0 times
...
...
Dalene
24 days ago
Option B? Really? That's like trying to catch a moving train with a butterfly net. C is the way to go.
upvoted 0 times
...
Antonio
25 days ago
Ha! This is like a treasure hunt for regex nerds. I'm going with Option C, it's the most elegant solution.
upvoted 0 times
...
Fatima
1 months ago
I think Option A might be a bit more robust, it uses a more general regex pattern.
upvoted 0 times
Jolene
8 days ago
I think Option D would work best, it directly captures the server name after 'the server'.
upvoted 0 times
...
Ona
19 days ago
I prefer Option C, it seems more specific and captures just the server name.
upvoted 0 times
...
Carmelina
21 days ago
I think Option A might be a bit more robust, it uses a more general regex pattern.
upvoted 0 times
...
...
Staci
1 months ago
Option C looks good, it captures the server name in the middle of the string.
upvoted 0 times
...
Chauncey
2 months ago
But option D captures everything after 'the server', not just the server name
upvoted 0 times
...
Wenona
2 months ago
I disagree, I believe the correct regex is D) the server (.*)\\s.*
upvoted 0 times
...
Chauncey
2 months ago
I think the correct regex is A) .*(\\w+\\.\\w+\\.\\w+).*
upvoted 0 times
...

Save Cancel