Free CompTIA XK0-005 Exam Questions (page: 15)

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

Answer(s): B



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

Answer(s): A



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

Answer(s): C,E



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

Answer(s): C



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?





Answer(s): C



Viewing page 15 of 97



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

XK0-005 Exam Discussions & Posts