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 4 Question 75 Discussion

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

A SOC analyst has been tasked with checking all files in every employee home directory for any mention of a new product code named PitViper. Which of the following commands will return all requested data?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Pilar
1 months ago
D all the way! Gotta love a good ol' case-insensitive recursive grep. Now, where did I put my snakeskin boots?
upvoted 0 times
...
Lorean
1 months ago
I'm going to have to go with D. It's the only one that covers all the bases - recursive search and case-insensitive. Can't go wrong with that!
upvoted 0 times
...
Angelo
1 months ago
Hmm, I'm not sure. Option A might work, but the --i flag might be overkill if we're looking for the exact case-sensitive string. C seems a bit odd with the --v flag.
upvoted 0 times
Arlene
11 days ago
D) grep --r --i ''pitviper'' /home
upvoted 0 times
...
Isreal
15 days ago
B) grep --r ''PitViper'' /home
upvoted 0 times
...
Earlean
19 days ago
A) grep --i ''pitviper'' /home
upvoted 0 times
...
...
Marjory
1 months ago
I'd go with B. The --r flag is the way to go for a recursive search, and 'PitViper' seems to be the exact string we're looking for.
upvoted 0 times
Slyvia
6 days ago
User1: That's a good point, but we need to make sure we're searching for the exact string.
upvoted 0 times
...
Dominga
7 days ago
User3: I would choose D, the --i flag ignores case which could be helpful.
upvoted 0 times
...
Jennie
12 days ago
User2: Agreed, the --r flag is important for searching through directories.
upvoted 0 times
...
Kristel
16 days ago
I think B is the best option for a recursive search.
upvoted 0 times
...
...
Jacqueline
2 months ago
But wouldn't using -r recursively search all files in the directory?
upvoted 0 times
...
Devora
2 months ago
Option D looks good to me. The --r flag will search recursively through all subdirectories, and the --i flag will make the search case-insensitive. Seems like the best choice here.
upvoted 0 times
Lai
21 days ago
And the --i flag will make the search case-insensitive. Option D it is.
upvoted 0 times
...
Annamae
23 days ago
Yeah, the --r flag will search recursively through all subdirectories.
upvoted 0 times
...
Francoise
24 days ago
I think option D is the best choice.
upvoted 0 times
...
...
Salina
2 months ago
I disagree, I believe the correct answer is D) grep --r --i ''pitviper'' /home
upvoted 0 times
...
Jacqueline
2 months ago
I think the answer is A) grep --i ''pitviper'' /home
upvoted 0 times
...

Save Cancel