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 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
2 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
2 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
2 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
1 months ago
D) grep --r --i ''pitviper'' /home
upvoted 0 times
...
Isreal
1 months ago
B) grep --r ''PitViper'' /home
upvoted 0 times
...
Earlean
1 months ago
A) grep --i ''pitviper'' /home
upvoted 0 times
...
...
Marjory
2 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
29 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
1 months ago
User3: I would choose D, the --i flag ignores case which could be helpful.
upvoted 0 times
...
Jennie
1 months ago
User2: Agreed, the --r flag is important for searching through directories.
upvoted 0 times
...
Kristel
1 months 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
3 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
1 months ago
And the --i flag will make the search case-insensitive. Option D it is.
upvoted 0 times
...
Annamae
2 months ago
Yeah, the --r flag will search recursively through all subdirectories.
upvoted 0 times
...
Francoise
2 months ago
I think option D is the best choice.
upvoted 0 times
...
...
Salina
3 months ago
I disagree, I believe the correct answer is D) grep --r --i ''pitviper'' /home
upvoted 0 times
...
Jacqueline
3 months ago
I think the answer is A) grep --i ''pitviper'' /home
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