LPI Certification / CompTIA Linux+ Practice Test - Question List

Select how would you like to study

91. You need to create a backup of /etc to a removable hard disk drive mounted at /mnt/USB. Which of the following tar commands should you use?
  1. tar -xfv ~/backup.tar /etc
  2. tar -xzf /mnt/USB/backup.tar /etc
  3. tar -cfv /mnt/USB/backup.tar /etc
  4. tar -cfv /mnt/USB/backup.tar ~/etc
92. You need to format the first partition on the slave drive on the secondary IDE channel using the ext3 file system. Which of the following commands should you use?
  1. mkext3fs /dev/hdd1
  2. mkfs -t ext3 /dev/hda4
  3. mkreiserfs -t ext3 /dev/hdd1
  4. mkfs -t ext3 /dev/hdd1
93. You have used the rpm command with the -q-requires option to determine the components required by the rpm package. One of the required components is /usr/bin/perl. What command would you enter to find out which RPM package provides this component?
  1. rpm -qs --requires /usr/bin/perl
  2. rpm -qi --requires /usr/bin/perl
  3. rpm -q --whatprovides /usr/bin/perl
  4. rpm -q --provides perl
94. You need to change the IP address assignment to a permanent, static IP address assignment for the eth0 network interface. The MAC address of the Ethernet interface is 00:0C:28:B1:50:A3. Which of the following commands should you use?
  1. /etc/sysconfig/network/ifcfg-eth-id-00:0C:28:B1:50:A3
  2. /etc/sysconfig/network/eth0/ifcfg-eth-id-00:0C:28:B1:50:A3
  3. /etc/sysconfig/network/00:0C:28: B1:50:A3/eth0
  4. /etc/sysctl/network/ifcfg-eth-id-00:0C:28:B1:50:A3
95. Which of the following protocols does the Samba service use to communicate with Samba clients?
  1. FTP
  2. SMB
  3. HTTP
  4. NCP

Select how would you like to study