Free XK0-005 Exam Braindumps (page: 39)

Page 38 of 96

A Linux administrator has set up a new DNS forwarder and is configuring all internal servers to use the new forwarder to look up external DNS requests. The administrator needs to modify the firewall on the server for the DNS forwarder to allow the internal servers to communicate to it and make the changes persistent between server reboots. Which of the following commands should be run on the DNS forwarder server to accomplish this task?

  1. ufw allow out dns
  2. systemctl reload firewalld
  3. iptables -A OUTPUT -p udp -m udp -dport 53 -j ACCEPT
  4. firewall-cmd --zone=public --add-port=53/udp --permanent

Answer(s): D



A Linux engineer receives reports that files created within a certain group are being modified by users who are not group members. The engineer wants to reconfigure the server so that only file owners and group members can modify new files by default. Which of the following commands would accomplish this task?

  1. chmod 775
  2. umask. 002
  3. chattr -Rv
  4. chown -cf

Answer(s): B



A Linux systems administrator needs to copy files and directories from Server A to Server B. Which of the following commands can be used for this purpose? (Choose two.)

  1. rsyslog
  2. cp
  3. rsync
  4. reposync
  5. scp
  6. ssh

Answer(s): C,E



A Linux administrator rebooted a server. Users then reported some of their files were missing. After doing some troubleshooting, the administrator found one of the filesystems was missing. The filesystem was not listed in /etc/fstab and might have been mounted manually by someone prior to reboot. Which of the following would prevent this issue from reoccurring in the future?

  1. Sync the mount units.
  2. Mount the filesystem manually.
  3. Create a mount unit and enable it to be started at boot.
  4. Remount all the missing filesystems.

Answer(s): C






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

XK0-005 Exam Discussions & Posts