Free XK0-005 Exam Braindumps (page: 25)

Page 24 of 96

A junior Linux administrator is tasked with installing an application. The installation guide states the application should only be installed in a run level 5 environment.
Which of the following commands would ensure the server is set to runlevel 5?

  1. systemctl isolate multi-user.target
  2. systemctl isolate graphical.target
  3. systemctl isolate network.target
  4. systemctl isolate basic.target

Answer(s): B



A Linux administrator is tasked with adding users to the system. However, the administrator wants to ensure the users’ access will be disabled once the project is over. The expiration date should be 2021-09-30. Which of the following commands will accomplish this task?

  1. sudo useradd -e 2021-09-30 Project_user
  2. sudo useradd -c 2021-09-30 Project_user
  3. sudo modinfo -F 2021-09-30 Project_uses
  4. sudo useradd -m -d 2021-09-30 Project_user

Answer(s): A



A DevOps engineer needs to download a Git repository from https://git.company.com/admin/project.git. Which of the following commands will achieve this goal?

  1. git clone https://git.company.com/admin/project.git
  2. git checkout https://git.company.com/admin/project.git
  3. git pull https://git.company.com/admin/project.git
  4. git branch https://git.company.com/admin/project.git

Answer(s): A



An administrator installed an application from source into /opt/operations1/ and has received numerous reports that users are not able to access the application without having to use the full path /opt/operations1/bin/*. Which of the following commands should be used to resolve this issue?

  1. echo 'export PATH=$PATH:/opt/operations1/bin' >> /etc/profile
  2. echo 'export PATH=/opt/operations1/bin' >> /etc/profile
  3. echo 'export PATH=$PATH/opt/operations1/bin' >> /etc/profile
  4. echo 'export $PATH:/opt/operations1/bin' >> /etc/profile

Answer(s): A






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

XK0-005 Exam Discussions & Posts