XK0-005 Practice Test

XK0-005 Practice Test practice questions, page 14 of 19, with answer review and explanations.

Question 66

A systems administrator installed a new software program on a Linux server. When the systems administrator tries to run the program, the following message appears on the screen. Which of the following commands will allow the systems administrator to check whether the system supports virtualization?

  1. dmidecode -s system-version
  2. lscpu
  3. sysctl -a
  4. cat /sys/device/system/cpu/possible

Question 67

A Linux administrator created the directory /project/access2all. By creating this directory, the administrator is trying to avoid the deletion or modification of files from non-owners. Which of the following will accomplish this goal?

  1. chmod +t /project/access2all
  2. chmod +rws /project/access2all
  3. chmod 2770 /project/access2all
  4. chmod ugo+rwx /project/access2all

Question 68

A Linux systems administrator needs to persistently enable IPv4 forwarding in one of the Linux systems. Which of the following commands can be used together to accomplish this task? (Choose two.)

  1. sysctl net.ipv4.ip_forward
  2. sysctl -w net.ipv4.ip_forward=1
  3. echo "net.ipv4.ip_forward=1" >> /etc/sysctl.conf
  4. echo 1 > /proc/sys/net/ipv4/ip_forward
  5. sysctl –p
  6. echo "net.ipv6.conf.all.forwarding=l" >> /etc/sysctl.conf

Question 69

Due to low disk space, a Linux administrator finding and removing all log files that were modified more than 180 days ago. Which of the following commands will accomplish this task?

  1. find /var/log -type d -mtime +180 -print -exec rm {} \;
  2. find /var/log -type f -modified +180 -rm
  3. find /var/log -type f -mtime +180 -exec rm {} \
  4. find /var/log -type c -atime +180 –remove

Question 70

A junior administrator is setting up a new Linux server that is intended to be used as a router at a remote site. Which of the following parameters will accomplish this goal?