Free XK0-005 Exam Braindumps (page: 29)

Page 28 of 96

A development team asks an engineer to guarantee the persistency of journal log files across system reboots. Which of the following commands would accomplish this task?

  1. grep -i auto /etc/systemd/journald.conf && systemctl restart systemd-journald.service
  2. cat /etc/systemd/journald.conf | awk '(print $1,$3)'
  3. sed -i 's/auto/persistent/g' /etc/systemd/journald.conf && sed -i 'persistent/s/ˆ#//q' /etc/systemd/journald.conf
  4. journalctl --list-boots && systemctl restart systemd-journald.service

Answer(s): C



A systems administrator is receiving tickets from users who cannot reach the application app that should be listening on port 9443/tcp on a Linux server.
To troubleshoot the issue, the systems administrator runs netstat and receives the following output:
Based on the information above, which of the following is causing the issue?

  1. The IP address 0.0.0.0 is not valid.
  2. The application is listening on the loopback interface.
  3. The application is listening on port 1234.
  4. The application is not running.

Answer(s): B



A systems administrator is troubleshooting a connectivity issue pertaining to access to a system named db.example.com. The system IP address should be 192.168.20.88. The administrator issues the dig command and receives the following output:
The administrator runs grep db.example.com /etc/hosts and receives the following output:
Given this scenario, which of the following should the administrator do to address this issue?

  1. Modify the /etc/hosts file and change the db.example.com entry to 192.168.20.89.
  2. Modify the /etc/network file and change the db.example.com entry to 192.168.20.88.
  3. Modify the /etc/network file and change the db.example.com entry to 192.168.20.89.
  4. Modify the /etc/hosts file and change the db.example.com entry to 192.168.20.88.

Answer(s): D



Users have been unable to reach www.comptia.org from a Linux server. A systems administrator is troubleshooting the issue and does the following:
Based on the information above, which of the following is causing the issue?

  1. The name www.comptia.org does not point to a valid IP address.
  2. The server 192.168.168.53 is unreachable.
  3. No default route is set on the server.
  4. The network interface eth0 is disconnected.

Answer(s): C






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

XK0-005 Exam Discussions & Posts