Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - 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
1 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
1 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
Latrice
16 days ago
B) /^[a-zA-Z-9]{30}$/
upvoted 0 times
...
Kerry
17 days ago
A) /^[a-zA-Z0-9]{5,30}$/
upvoted 0 times
...
...
Joaquin
1 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
Annita
2 days ago
User 2: I agree with you, A seems to be the best choice for this scenario.
upvoted 0 times
...
Heike
23 days ago
User 1: I think A is the correct option. It matches alphanumeric strings of 5 to 30 characters.
upvoted 0 times
...
...
Melissa
2 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
9 days ago
User3: Option A seems to be the most suitable for the analyst's needs.
upvoted 0 times
...
Patrick
15 days ago
User2: I agree, it matches alphanumeric strings between 5 and 30 characters.
upvoted 0 times
...
Rikki
18 days ago
User1: I think option A is the best choice.
upvoted 0 times
...
...
Gilberto
2 months ago
That makes sense, we need to consider both letters and numbers in the string.
upvoted 0 times
...
Jamie
2 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
2 months ago
I think the regular expression should be A) /^[a-zA-Z0-9]{5,30}$/
upvoted 0 times
...
Jamika
2 months ago
But wouldn't we want to include numbers as well in the alphanumeric string?
upvoted 0 times
...
Glen
2 months ago
I disagree, I believe it should be /^[a-zA-Z]{5,30}$/
upvoted 0 times
...
Jamika
2 months ago
I think the regular expression should be /^[a-zA-Z0-9]{5,30}$/
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