Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 101-500 Exam - Topic 7 Question 20 Discussion

Consider the following directory:drwxrwxr-x 2 root sales 4096 Jan 1 15:21 salesWhich command ensures new files created within the directory sales are owned by the group sales? (Choose two.)
C) chgrp --p sales sales and E) chmod 2775 sales
A) chmod g+s sales
B) setpol --R newgroup=sales sales
D) chown --persistent *.sales sales

LPI 101-500 Exam - Topic 7 Question 20 Discussion

Actual exam question for LPI's 101-500 exam
Question #: 20
Topic #: 7
[All 101-500 Questions]

Consider the following directory:

drwxrwxr-x 2 root sales 4096 Jan 1 15:21 sales

Which command ensures new files created within the directory sales are owned by the group sales? (Choose two.)

Show Suggested Answer Hide Answer
Suggested Answer: C, E

Contribute your Thoughts:

0/2000 characters
Billye
10 months ago
I disagree, I thought chgrp was the way to go here.
upvoted 0 times
...
Sabina
10 months ago
Wait, can you really use chmod like that? Sounds odd.
upvoted 0 times
...
Arleen
10 months ago
Definitely A, but E is also a good choice.
upvoted 0 times
...
Merlyn
10 months ago
I think B is a typo, that command doesn't exist.
upvoted 0 times
...
Bette
11 months ago
A and E are correct!
upvoted 0 times
...
Lonna
11 months ago
I don't think 'chown --persistent' is a valid command; it sounds off to me, but I can't remember the exact details.
upvoted 0 times
...
Iesha
11 months ago
I practiced a similar question, and I feel like 'chmod g+s' might be the right answer too, but I can't recall if there's a specific syntax I should remember.
upvoted 0 times
...
Jacquelyne
11 months ago
I remember something about using chmod to set the group ID on a directory, but I'm not sure if it's just 'g+s' or if there's more to it.
upvoted 0 times
...
Tamar
11 months ago
I think option E is correct because it sets the setgid bit, which should ensure new files inherit the group ownership.
upvoted 0 times
...
Denise
11 months ago
I'm a little confused by this question. Is it asking about the recommended approach for starting a 5S program, or something else? I'll have to re-read the question and think it through step-by-step.
upvoted 0 times
...
Candida
11 months ago
Hmm, I'm a bit unsure about this. I know security is important, but I'm not sure if it's the tester's full responsibility or if they need to work with security experts. I'll have to think this through carefully.
upvoted 0 times
...
Joaquin
11 months ago
I remember practicing something similar, and time to value seems important in gaining executive buy-in.
upvoted 0 times
...
Cristal
11 months ago
I'm a bit confused by the terminology in this question. I'll need to review my notes on VPLS and LDP to make sure I'm on the right track.
upvoted 0 times
...

Save Cancel