Free XK0-005 Exam Braindumps (page: 15)

Page 14 of 96

A Linux administrator wants to find out whether files from the wget package have been altered since they were installed. Which of the following commands will provide the correct information?

  1. rpm -i wget
  2. rpm -qf wget
  3. rpm -F wget
  4. rpm -V wget

Answer(s): D



A Linux engineer set up two local DNS servers (10.10.10.10 and 10.10.10.20) and was testing email connectivity to the local mail server using the mail command on a local machine when the following error appeared:
The local machine DNS settings are:
Which of the following commands could the engineer use to query the DNS server to get mail server information?

  1. dig @example.com 10.10.10.20 a
  2. dig @10.10.10.20 example.com mx
  3. dig @example.com 10.10.10.20 ptr
  4. dig @10.10.10.20 example.com ns

Answer(s): B



A Linux engineer has been notified about the possible deletion of logs from the file /opt/app/logs. The engineer needs to ensure the log file can only be written into without removing previous entries.
Which of the following commands would be BEST to use to accomplish this task?

  1. chattr +a /opt/app/logs
  2. chattr +d /opt/app/logs
  3. chattr +i /opt/app/logs
  4. chattr +c /opt/app/logs

Answer(s): A



A systems administrator needs to check if the service systemd-resolved.service is running without any errors. Which of the following commands will show this information?

  1. systemctl status systemd-resolved.service
  2. systemctl enable systemd-resolved.service
  3. systemctl mask systemd-resolved.service
  4. systemctl show systemd-resolved.service

Answer(s): A






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

XK0-005 Exam Discussions & Posts