Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - 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
1 months ago
Regex? More like re-gret-x. Who comes up with these tortuous questions anyway?
upvoted 0 times
Remedios
6 days ago
No, I believe it's actually C) .*\s(\\w+\\.\\w+\\.\\w+).*
upvoted 0 times
...
Dorian
9 days ago
I think the correct regex would be A) .*(\\w+\\.\\w+\\.\\w+).*
upvoted 0 times
...
Sena
12 days ago
I know right, regex can be so confusing sometimes.
upvoted 0 times
...
...
Dalene
1 months 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
1 months 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
Tommy
2 days ago
Option C is definitely the way to go. It captures the server name perfectly.
upvoted 0 times
...
...
Fatima
2 months ago
I think Option A might be a bit more robust, it uses a more general regex pattern.
upvoted 0 times
Jolene
18 days ago
I think Option D would work best, it directly captures the server name after 'the server'.
upvoted 0 times
...
Ona
29 days ago
I prefer Option C, it seems more specific and captures just the server name.
upvoted 0 times
...
Carmelina
1 months ago
I think Option A might be a bit more robust, it uses a more general regex pattern.
upvoted 0 times
...
...
Staci
2 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
3 months ago
I think the correct regex is A) .*(\\w+\\.\\w+\\.\\w+).*
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