LPI Certification / CompTIA Linux+ Practice Test - Question List

Select how would you like to study

61. Which of the following is the default document root used by the Apache2 Web server?
  1. /tmp
  2. /srv/www/htdocs
  3. /home/httpd
  4. /var/lib/httpd/htdocs
62. You want to verify that a kernel module has been loaded and an alias is created for a newly installed network board. Which of the following files should you check?
  1. /etc/modprobe.conf
  2. /etc/sysctl.conf
  3. /etc/drivers
  4. /etc/aliases
63. Which of the following files can be used to enable routing on a Linux system?
  1. /proc/sys/net/ipv4/ip_forward
  2. /proc/sys/net/ipv4/ip_routing
  3. /etc/sysconfig/network/routes
  4. /etc/ip-forwarding
64. Which of the following commands should you use to add a user named alice to the smbpasswd file?
  1. smbuseradd alice
  2. smbpasswd alice
  3. smbpasswd -a alice
  4. useradd -a alice
65. You want to view the contents of a NIS map. Which of the following command should you use?
  1. /usr/bin/ypcat
  2. /bin/ypdomainname
  3. /usr/bin/ypwhich
  4. /usr/sbin/yppoll

Select how would you like to study