Free XK0-005 Exam Braindumps (page: 36)

Page 35 of 96

User1 is a member of the accounting group. Members of this group need to be able to execute but not make changes to a script maintained by User2. The script should not be accessible to other users or groups. Which of the following will give proper access to the script?

  1. chown user2:accounting script.shchmod 750 script.sh
  2. chown user1:accounting script.shchmod 777 script.sh
  3. chown accounting:user1 script.shchmod 057 script.sh
  4. chown user2:accounting script.shchmod u+x script.sh

Answer(s): A



A systems administrator needs to verify whether the built container has the app.go file in its root directory. Which of the following can the administrator use to verify the root directory has this file?

  1. docker image inspect
  2. docker container inspect
  3. docker exec <container_name> ls
  4. docker ps <container_name>

Answer(s): C



A Linux administrator is reviewing changes to a configuration file that includes the following section:
The Linux administrator is trying to select the appropriate syntax formatter to correct any issues with the configuration file. Which of the following should the syntax formatter support to meet this goal?

  1. Markdown
  2. XML
  3. YAMLD. JSON

Answer(s): C



A systems administrator is investigating an issue in which one of the servers is not booting up properly. The journalctl entries show the following:
Which of the following will allow the administrator to boot the Linux system to normal mode quickly?

  1. Comment out the /opt/app filesystem in /etc/fstab and reboot.
  2. Reformat the /opt/app filesystem and reboot.
  3. Perform filesystem checks on local filesystems and reboot.
  4. Trigger a filesystem relabel and reboot.

Answer(s): A






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

XK0-005 Exam Discussions & Posts