BlackFriday 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
24 days 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
28 days 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
Rosendo
9 days ago
C) ^.*?\\.(?:xls|ppt|doc)m$
upvoted 0 times
...
Albina
16 days ago
A) ^.*?\\.(?:xls|ppt|doc)m
upvoted 0 times
...
...
Stephaine
29 days 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
17 days ago
I would go with Option C, it looks for the file extension at the end of the file name.
upvoted 0 times
...
Elenora
19 days ago
I agree, Option B seems too general and could potentially return false positives.
upvoted 0 times
...
Rosamond
23 days ago
I think Option A might be the best choice, it specifically looks for the file extensions.
upvoted 0 times
...
...
Jennie
1 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
18 days 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
19 days ago
I agree with User1, Option A seems to be the most accurate choice for identifying macro-enabled files.
upvoted 0 times
...
Elin
21 days 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
1 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
5 days ago
User 4: Let's go with option A then, it seems like the best option.
upvoted 0 times
...
Kayleigh
8 days ago
User 3: I agree, option A looks like the most accurate choice.
upvoted 0 times
...
Yuette
28 days ago
Yeah, option A seems like it will capture all the macro-enabled files.
upvoted 0 times
...
Sabina
1 months ago
I think option A is the correct regex to use.
upvoted 0 times
...
...
Tess
2 months ago
I disagree, I believe the correct answer is C) ^.*?\\.(?:xls|ppt|doc)m$
upvoted 0 times
...
Matthew
2 months ago
I think the answer is A) ^.*?\\.(?:xls|ppt|doc)m
upvoted 0 times
...

Save Cancel