LPI Certification / CompTIA Linux+ Practice Test - Question List

Select how would you like to study

26. Which of the following specifies where the RPM Package Manager stores its database of installed packages?
  1. /etc/rpm
  2. /var/lib/rpm
  3. /var/rpmdb
  4. /tmp/rpm
27. Which of the following commands will display the UID of a user named alicewoods when entered at the shell prompt?
  1. finger alicewoods
  2. UID alicewoods
  3. id alicewoods
  4. info alicewoods
28. You want to change the owner of a file named /var/opt/confidential from alice (who is a member of the sales group) to john (who is a member of the engineers group). You want to change both user and group owners. Which of the following commands should you use?
  1. chown alice john /var/opt/confidential
  2. chown -u “john” -g “engineers” /var/opt/confidential
  3. chown john /var/opt/confidential
  4. chown john.engineers /var/opt/confidential
29. You have installed a quota package on your Linux system. Which of the following parameters can you use to set quotas for the file system?
  1. Permissions
  2. Inodes
  3. Number of Users
  4. Number of Groups
30. Which of the following mount options should you include in the /etc/fstab file to enable quotas when a file system is mounted?
  1. groupquotas=on
  2. fsquota
  3. grpquota
  4. userquotas=on

Select how would you like to study