Free CompTIA XK0-005 Exam Questions (page: 14)

A Linux administrator is trying to remove the ACL from the file /home/user/data. txt but receives the following error message:



Given the following analysis:



Which of the following is causing the error message?

  1. The administrator is not using a highly privileged account.
  2. The filesystem is mounted with the wrong options.
  3. SELinux file context is denying the ACL changes.
  4. File attributes are preventing file modification.

Answer(s): D



A Linux administrator needs to create a new cloud.cpio archive containing all the files from the current directory. Which of the following commands can help to accomplish this task?

  1. ls | cpio -iv > cloud.epio
  2. ls | cpio -iv < cloud.epio
  3. ls | cpio -ov > cloud.cpio
  4. ls cpio -ov < cloud.cpio

Answer(s): C



A systems administrator made some changes in the ~/.bashrc file and added an alias command. When the administrator tried to use the alias command, it did not work. Which of the following should be executed FIRST?

  1. source ~/.bashrc
  2. read ~/.bashrc
  3. touch ~/.bashrc
  4. echo ~/.bashrc

Answer(s): A



A junior systems administrator has just generated public and private authentication keys for passwordless login. Which of the following files will be moved to the remote servers?

  1. id_dsa.pem
  2. id_rsa
  3. id_ecdsa
  4. id_rsa.pub

Answer(s): D



A Linux administrator cloned an existing Linux server and built a new server from that clone. The administrator encountered the following error after booting the cloned server:



The administrator performed the commands listed below to further troubleshoot and mount the missing filesystem:



Which of the following should administrator use to resolve the device mismatch issue and mount the disk?

  1. mount disk by device-id
  2. fsck -A
  3. mount disk by-label
  4. mount disk by-blkid

Answer(s): C



Viewing page 14 of 97



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

XK0-005 Exam Discussions & Posts