Cyber Monday 2024! 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 3 Question 76 Discussion

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

An attacker has sent malicious macro-enabled Office files. Which of the following regular expressions will return a list of macro-enabled files?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Elouise
2 months ago
I'm going to have to go with Option A. It's the only one that properly uses the '?' to make the extension optional. Gotta love those non-greedy quantifiers!
upvoted 0 times
...
Desiree
2 months ago
Option D? Really? That's missing the file extension entirely. Might as well just search for 'xls', 'ppt', and 'doc' and hope for the best.
upvoted 0 times
Vivan
7 days ago
Option D is incorrect. It's missing the file extension at the end.
upvoted 0 times
...
Donte
7 days ago
B) ^.*(?:xls|ppt|doc)m.*
upvoted 0 times
...
Rosendo
1 months ago
C) ^.*?\\.(?:xls|ppt|doc)m$
upvoted 0 times
...
Albina
1 months ago
A) ^.*?\\.(?:xls|ppt|doc)m
upvoted 0 times
...
...
Stephaine
2 months ago
Hmm, Option B is a bit too broad for my liking. I'd rather have something a bit more specific to just the file extension.
upvoted 0 times
Cornell
1 months ago
I would go with Option C, it looks for the file extension at the end of the file name.
upvoted 0 times
...
Elenora
1 months ago
I agree, Option B seems too general and could potentially return false positives.
upvoted 0 times
...
Rosamond
2 months ago
I think Option A might be the best choice, it specifically looks for the file extensions.
upvoted 0 times
...
...
Jennie
2 months ago
I'm going with Option C. The $ at the end ensures we're only matching the file extension, not just any part of the filename.
upvoted 0 times
Rosendo
1 months ago
I see your point, but I still believe Option C is the best option. The $ at the end ensures we're only matching the file extension.
upvoted 0 times
...
Dahlia
1 months ago
I agree with User1, Option A seems to be the most accurate choice for identifying macro-enabled files.
upvoted 0 times
...
Elin
1 months ago
I think Option A is the correct one. It includes the file extensions and the m for macro-enabled files.
upvoted 0 times
...
...
Matthew
2 months ago
Can you explain why you think C is the correct answer?
upvoted 0 times
...
Sage
2 months ago
Option A looks good to me. It's a pretty comprehensive regex that should catch all those macro-enabled files.
upvoted 0 times
Jerry
28 days ago
User 4: Let's go with option A then, it seems like the best option.
upvoted 0 times
...
Kayleigh
1 months ago
User 3: I agree, option A looks like the most accurate choice.
upvoted 0 times
...
Yuette
2 months ago
Yeah, option A seems like it will capture all the macro-enabled files.
upvoted 0 times
...
Sabina
2 months ago
I think option A is the correct regex to use.
upvoted 0 times
...
...
Tess
3 months ago
I disagree, I believe the correct answer is C) ^.*?\\.(?:xls|ppt|doc)m$
upvoted 0 times
...
Matthew
3 months ago
I think the answer is A) ^.*?\\.(?:xls|ppt|doc)m
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