Free XK0-005 Exam Braindumps (page: 21)

Page 21 of 43

A systems administrator wants to be sure the sudo rules just added to /etc/sudoers are valid. Which of the following commands can be used for this task?

  1. visudo -c
  2. test -f /etc/sudoers
  3. sudo vi check
  4. cat /etc/sudoers | tee test

Answer(s): A



A user generated a pair of private-public keys on a workstation. Which of the following commands will allow the user to upload the public key to a remote server and enable passwordless login?

  1. scp ~/.ssh/id_rsa user@server:~/
  2. rsync ~ /.ssh/ user@server:~/
  3. ssh-add user server
  4. ssh-copy-id user@server

Answer(s): D



A Linux administrator created a new file system. Which of the following files must be updated to ensure the filesystem mounts at boot time?

  1. /etc/sysctl
  2. /etc/filesystems
  3. /etc/fstab
  4. /etc/nfsmount.conf

Answer(s): C



A Linux administrator is troubleshooting a memory-related issue. Based on the output of the commands:



Which of the following commands would address the issue?

  1. top -p 8321
  2. kill -9 8321
  3. renice -10 8321
  4. free 8321

Answer(s): C



Page 21 of 43



Post your Comments and Discuss CompTIA XK0-005 exam with other Community members:

RF commented on September 06, 2024
Awesome resource
UNITED STATES
upvote

M commented on August 09, 2024
Great questions
Anonymous
upvote

Bob Igor commented on March 14, 2024
Question 11 is B not A because the ports are reversed on A
UNITED STATES
upvote

soheib commented on July 24, 2023
question: 78 the right answer i think is d not a
Anonymous
upvote

Lola commented on August 28, 2023
Good so far
Anonymous
upvote

soheib commented on July 24, 2023
Question: 78 the right answer i think is d not a
Anonymous
upvote

Gurunath commented on June 18, 2023
I just wanted to let you know I passed my exam today. The updated version you provided is on spot. Thank you.
INDIA
upvote

Nito commented on April 21, 2023
These questions are valid.
CANADA
upvote

Ortiz commented on November 07, 2022
I am certified now. You study packages helped me a lot. Your site is the best!
MEXICO
upvote