exam questions

Exam XK0-004 All Questions

View all questions & answers for the XK0-004 exam

Exam XK0-004 topic 1 question 26 discussion

Actual exam question from CompTIA's XK0-004
Question #: 26
Topic #: 1
[All XK0-004 Questions]

A Linux administrator needs to set permissions on an application with the following parameters:
✑ The owner of the application should be able to read, write, and execute the application.
✑ Members of the group should be able to read and execute the application.
✑ Everyone else should not have access to the application.
Which of the following commands would BEST accomplish these tasks?

  • A. chmod 710 <application name>
  • B. chmod 730 <application name>
  • C. chmod 750 <application name>
  • D. chmod 760 <application name>
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
lupinart
Highly Voted 5 years, 1 month ago
The answer should be C
upvoted 14 times
...
jeffnoble14
Highly Voted 4 years, 11 months ago
Read = 4, Write = 2, Execute = 1. Order of permissions is Owner, Group, Public(everyone else), so the answer is that the OWNER gets all permissions, so 4+2+1=7. The GROUP gets READ and EXECUTE, so 4+1=5. Everybody else gets NADA, so 0. The answer is 750.
upvoted 14 times
betty_boop
4 years, 5 months ago
I agree
upvoted 1 times
...
...
xeun88
Most Recent 2 years, 8 months ago
ANS: C
upvoted 1 times
...
sukhbinder
3 years, 4 months ago
Selected Answer: C
Hell Yeah..
upvoted 1 times
...
R0b0t
3 years, 7 months ago
750 OWNER GROUP Everyone else 7 = rwx 5 = r-x 0 = ---
upvoted 2 times
...
GUIboi
4 years, 4 months ago
✑ The owner of the application should be able to read, write, and execute the application. (7) [ 1 1 1 ] ✑ Members of the group should be able to read and execute the application.(5) [ 1 0 1 ] ✑ Everyone else should not have access to the application. (0) [ 0 0 0 ] C. chmod 750
upvoted 3 times
...
Leona001
5 years ago
Agreed, its chmod 750. 760 does not allow execute
upvoted 5 times
Leona001
5 years ago
for group. Forgot to add these last two words.
upvoted 3 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 ...