exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 382 discussion

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

A user is experiencing issues creating files in the folder /home/testuser/testdir/. The administrator gathers the following information:



Which of the following commands should the administrator use to solve the issue? (Choose two.)

  • A. chmod u+w /home/testuser/testdir/
  • B. chmod 770 /home/testuser/testdir/
  • C. usermod –G root testuser
  • D. chmod g+w /home/testuser/testdir/
  • E. usermod –G testuser root
  • F. usermod –aG testuser testuser
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

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
Mistermiyagi
2 months, 1 week ago
Selected Answer: BD
Given answer A here doesn't make sense, since the user/owner already has write access. B would give user and group full rwx access.
upvoted 1 times
...
HappyDay030303
2 months, 1 week ago
Selected Answer: AB
A. Adds write permission for the owner (root) – useful only if root is expected to write, not testuser. B. Sets permissions to 770, giving full access to owner and group (which includes testuser).
upvoted 1 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 ...