exam questions

Exam XK0-004 All Questions

View all questions & answers for the XK0-004 exam

Exam XK0-004 topic 1 question 345 discussion

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

After restoring a user's files from backup, a technician begins troubleshooting the following error message:

Which of the following is MOST likely fix this issue?

  • A. chown user:users /home/user
  • B. chmod o+rw /etc/ssh/ssh_config
  • C. chmod u+x /home/john
  • D. chmod 700 /home/user/.ssh
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
edwram
2 years, 5 months ago
Selected Answer: D
https://akashmittal.com/code-example-how-to-set-ssh-key-permissions-in-linux/
upvoted 3 times
...
Tripeguru92
2 years, 6 months ago
looks Like C is the answer. You need execute permission to create a directory.
upvoted 2 times
Tripeguru92
2 years, 6 months ago
ops.. I agree, 'A' is correct. 'john' is the remote user and 'user' is actually the person with the permission issue.
upvoted 3 times
...
...
Degen6969
2 years, 6 months ago
Selected Answer: A
I believe it is A, although it doesn’t specifically state permissions for owner, group, or user but that should change the owner to user and group to users https://www.geeksforgeeks.org/chown-command-in-linux-with-examples/amp/
upvoted 4 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