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:

Gearldine
2 months ago
I'm going with A. It's the only one that matches the 5-30 character range for alphanumeric strings.
upvoted 0 times
...
Penney
2 months ago
Ha! D is just silly. Who would use 'a-Z' instead of 'a-zA-Z'? Gotta love these silly distractors.
upvoted 0 times
Christa
24 days ago
C) /^[a-zA-Z]{5,30}$/
upvoted 0 times
...
Latrice
2 months ago
B) /^[a-zA-Z-9]{30}$/
upvoted 0 times
...
Kerry
2 months ago
A) /^[a-zA-Z0-9]{5,30}$/
upvoted 0 times
...
...
Joaquin
2 months ago
Hmm, I'm not sure B is right. It only matches 30 characters, not the 5-30 range we're looking for.
upvoted 0 times
Deeanna
30 days ago
User 3: Yeah, B only matches exactly 30 characters, which is not what we need.
upvoted 0 times
...
Annita
1 months ago
User 2: I agree with you, A seems to be the best choice for this scenario.
upvoted 0 times
...
Heike
2 months ago
User 1: I think A is the correct option. It matches alphanumeric strings of 5 to 30 characters.
upvoted 0 times
...
...
Melissa
3 months 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
Derick
1 months ago
User3: Option A seems to be the most suitable for the analyst's needs.
upvoted 0 times
...
Patrick
1 months ago
User2: I agree, it matches alphanumeric strings between 5 and 30 characters.
upvoted 0 times
...
Rikki
2 months ago
User1: I think option A is the best choice.
upvoted 0 times
...
...
Gilberto
3 months ago
That makes sense, we need to consider both letters and numbers in the string.
upvoted 0 times
...
Jamie
3 months 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
3 months ago
I think the regular expression should be A) /^[a-zA-Z0-9]{5,30}$/
upvoted 0 times
...
Jamika
3 months ago
But wouldn't we want to include numbers as well in the alphanumeric string?
upvoted 0 times
...
Glen
3 months ago
I disagree, I believe it should be /^[a-zA-Z]{5,30}$/
upvoted 0 times
...
Jamika
3 months ago
I think the regular expression should be /^[a-zA-Z0-9]{5,30}$/
upvoted 0 times
...

Save Cancel