Free XK0-005 Exam Braindumps (page: 22)

Page 21 of 96

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): B






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

XK0-005 Exam Discussions & Posts