Free XK0-005 Exam Braindumps (page: 40)

Page 39 of 96

Joe, a user, is unable to log in to the Linux system. Given the following output:
Which of the following commands would resolve the issue?

  1. usermod -s /bin/bash joe
  2. pam_tally2 -u joe -r
  3. passwd -u joe
  4. chage -E 90 joe

Answer(s): A



A developer reported an incident involving the application configuration file /etc/httpd/conf/httpd.conf that is missing from the server. Which of the following identifies the RPM package that installed the configuration file?

  1. rpm -qf /etc/httpd/conf/httpd.conf
  2. rpm -ql /etc/httpd/conf/httpd.conf
  3. rpm --query /etc/httpd/conf/httpd.conf
  4. rpm -q /etc/httpd/conf/httpd.conf

Answer(s): A



Users have been unable to save documents to /home/tmp/temp and have been receiving the following error:
Path not found
A junior technician checks the locations and sees that /home/tmp/tempa was accidentally created instead of /home/tmp/temp. Which of the following commands should the technician use to fix this issue?

  1. cp /home/tmp/tempa /home/tmp/temp
  2. mv /home/tmp/tempa /home/tmp/temp
  3. cd /temp/tmp/tempa
  4. ls /home/tmp/tempa

Answer(s): B



A Linux administrator has logged in to a server for the first time and needs to know which services are allowed through the firewall. Which of the following options will return the results for which the administrator is looking?

  1. firewall-cmd --get-services
  2. firewall-cmd --check-config
  3. firewall-cmd --list-services
  4. systemctl status firewalld

Answer(s): C






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

XK0-005 Exam Discussions & Posts