exam questions

Exam LFCA All Questions

View all questions & answers for the LFCA exam

Exam LFCA topic 1 question 5 discussion

Actual exam question from Linux Foundation's LFCA
Question #: 5
Topic #: 1
[All LFCA Questions]

A company’s IT associate lists the contents of a directory and sees this line:
-rwsr-x--x 2 bob sales 2047 Oct 10 09:44 sales-report
What happens when Alice from the accounting team tries to execute this file?

  • A. The script executes using Bob’s account.
  • B. The script executes, but Alice cannot see the results.
  • C. The script executes and Bob is notified.
  • D. The script fails to execute; Alice is not on the sales team.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Mora8
2 months, 3 weeks ago
Selected Answer: A
Permissions are rws
upvoted 1 times
...
Nandie129
3 months ago
Why is it not B?
upvoted 1 times
chips
2 months, 4 weeks ago
Bot is the owner of the file. Notice that the user permission is rws (rather than rwx). The s bit is the setuid bit, that allows the file to be run with the effective uesr ID of the owner, regardless of who runs it.
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago