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

Logical Operations Exam CFR-210 Topic 8 Question 55 Discussion

Actual exam question for Logical Operations's CFR-210 exam
Question #: 55
Topic #: 8
[All CFR-210 Questions]

A security analyst would like to parse through several SQL logs for indicators of compromise. The analyst is aware that none of the fields should contain a string of text longer than 30 characters; however, the analyst is unaware if there are any implemented controls to prevent such an overflow. Which of the following BEST describes the regular expression the analyst should use to find any alphanumeric character string?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Melissa
7 days ago
Option A looks good to me. It matches alphanumeric strings between 5 and 30 characters, which is exactly what the analyst needs.
upvoted 0 times
...
Gilberto
19 days ago
That makes sense, we need to consider both letters and numbers in the string.
upvoted 0 times
...
Jamie
21 days ago
I disagree, I believe the correct answer is C) /^[a-zA-Z]{5,30}$/ because we are looking for alphanumeric characters only.
upvoted 0 times
...
Gilberto
22 days ago
I think the regular expression should be A) /^[a-zA-Z0-9]{5,30}$/
upvoted 0 times
...
Jamika
23 days ago
But wouldn't we want to include numbers as well in the alphanumeric string?
upvoted 0 times
...
Glen
24 days ago
I disagree, I believe it should be /^[a-zA-Z]{5,30}$/
upvoted 0 times
...
Jamika
28 days ago
I think the regular expression should be /^[a-zA-Z0-9]{5,30}$/
upvoted 0 times
...

Save Cancel