Linux LPI 117-101 # 2 Of 9

58 Questions | Attempts: 215
Share

SettingsSettingsSettings
Linux Quizzes & Trivia

Linux lpi testing


Questions and Answers
  • 1. 
    Type in the file name and full path of the configuration file where you would set the variable HISTSIZE for all users of the system.
  • 2. 
    Type only the name of the file or utility that will show you the last system bootup messages.
  • 3. 
    What does the Filesystem Hierarchy Standard enable? (Select TWO answers)
    • A. 

      Software to predict the location of installed files and directories

    • B. 

      Software to predict the ownership and access rights of installed files and directories

    • C. 

      Users to predict the location of installed files and directories.

    • D. 

      Users to predict how the filesystem should be formatted according to need.

  • 4. 
    You have a machine which serves 100 users. You don't want to include their data in the location database. Where would you specify excluded directories for locate?  
    • A. 

      /etc/locate.conf

    • B. 

      .locaterc

    • C. 

      /etc/updatedb.conf

    • D. 

      /etc/exclude_dir

  • 5. 
    Identify the proper device for the third partition, on the second hard disk, on the first IDE controller on a PC system.
    • A. 

      /dev/hdb3

    • B. 

      /dev/hd1b3

    • C. 

      /dev/hdc1b3

    • D. 

      /dev/hdc1d2p3

  • 6. 
    You have just upgraded your PC to a 60 gigabyte IDE drive. While partitioning thedrive, you notice that only 32 gigabytes are available. Which of the following willmost likely allow you to use the entire drive?
    • A. 

      Create two smaller partitions of 30 gigabytes each.

    • B. 

      Set the PC BIOS to use LBA mode.

    • C. 

      Create a partition that resides entirely below the first 1024 cylinders.

    • D. 

      Use GRUB or the latest version of LILO as a bootloader.

    • E. 

      Upgrade the PC BIOS to the latest version available.

  • 7. 
    On an ext2 partition, what portion is reserved for the root user?  
    • A. 

      100 cylinders

    • B. 

      No less than 500 blocks

    • C. 

      None

    • D. 

      5%

    • E. 

      1/32nd of the total space

  • 8. 
    You have a Linux system with a 100GB ext2 partition containing large amounts of data. To minimize the boot time, you decide to convert it to a journaling filesystem. Which journaling file system would be easiest to convert the partition to (without destroying existing data)?
    • A. 

      Reiserfs

    • B. 

      Vfat

    • C. 

      Ext3

    • D. 

      Xfs

  • 9. 
        Tamika is planning the partition table for her new workstation. Assuming she will    give each of the following directories its own partition, which partition should be the    largest?   
    • A. 

      /usr

    • B. 

      /lib

    • C. 

      /root

    • D. 

      /bin

  • 10. 
      You have run out of disk space on a partition. Which of the following would be an  easy way to move data to a new partition without reconfiguring the path to the data  in existing applications? 
    • A. 

      Run ext2fs ACL.

    • B. 

      Use a hard link.

    • C. 

      Use a symbolic link.

    • D. 

      Use the loopback device.

    • E. 

      Create a block device offset.

  • 11. 
    To build a fresh new Linux system, how much free space should you reserve for theLinux partition?
    • A. 

      100 - 200MB

    • B. 

      200 - 300MB

    • C. 

      300 - 400MB

    • D. 

      700 - 800MB

  • 12. 
    Which directory is used to store undelivered user email by default?
    • A. 

      /var/spool/sendmail/usermail

    • B. 

      /var/spool/mail

    • C. 

      /var/spool/mailqueue

    • D. 

      /var/spool/sendmail/username

    • E. 

      /var/mail/sendmail/username

  • 13. 
    What would be the device name of the 2nd SCSI disk on your system? Include thefull path to the device file
  • 14. 
    What is the device file for the first logical drive in the extended partition of theSecondary Master IDE drive? Include the full path and filename.
  • 15. 
    Which of the following directories would be the least likely to need backing up?Choose Two.
    • A. 

      /usr

    • B. 

      /etc

    • C. 

      /home

    • D. 

      /tmp

    • E. 

      /swap

  • 16. 
    With a Linux 2.2 Kernel-based machine configuration of 133 MHZ, 32 MB RAMand a 1 GB HD, how much swap should be configured?
    • A. 

      512MB

    • B. 

      256MB

    • C. 

      128MB

    • D. 

      64MB

    • E. 

      32MB

  • 17. 
    Which of the following file system types causes the least impact when upgrading anExt2 file system? 
    • A. 

      Ext3

    • B. 

      ReiserFS

    • C. 

      JFS

    • D. 

      XFS

    • E. 

      VFS

  • 18. 
    According to the Filesystem Hierarchy Standard, what directory trees areconsidered optional on a system's root filesystem? Choose all that apply.          
    • A. 

      /mnt

    • B. 

      /root

    • C. 

      /usr

    • D. 

      /var

    • E. 

      /opt

  • 19. 
    When partitioning a disk with more than 1024 cylinders, which of the followingcould affect the systems ability to boot?
    • A. 

      Location of LILO on disk

    • B. 

      Location of /boot on disk

    • C. 

      Location /var on disk

    • D. 

      Disk transfer rate

    • E. 

      Disk seek time

  • 20. 
    Which of the following is a typical rule for allocating swap space for a Linuxinstallation?
    • A. 

      Use 25% of available drive space for a swap partition.

    • B. 

      Use 10% of available drive space for a swap partition.

    • C. 

      Use 50% of total RAM for the size of a swap partition.

    • D. 

      Use 200% of total RAM for the size of a swap partition.

    • E. 

      Use 128MB on each hard disk in the system for swap.

  • 21. 
    You are building a server that will undergo many hardware and operating systemupgrades. The server is the file server for all users on your 100 user network.Which directory should have its own mountpoint and/or hard drive?
    • A. 

      /boot

    • B. 

      /sbin

    • C. 

      /home

    • D. 

      /etc

  • 22. 
    You are formatting a single hard disk for a Linux install. What is the maximumnumber of primary partitions you can create?                                                                   
    • A. 

      0

    • B. 

      1

    • C. 

      2

    • D. 

      3

    • E. 

      4

  • 23. 
    In GRUB's configuration file you find the line root (hd1, 4)What is corresponding device name on a Linux system?
    • A. 

      /dev/hda4

    • B. 

      /dev/hda5

    • C. 

      /dev/hdb4

    • D. 

      /dev/hdb5

  • 24. 
    When you are looking for brief information about a program in your PATH with itsassociated man pages, you would use ...
    • A. 

      Which

    • B. 

      Whereis

    • C. 

      Locate

    • D. 

      Where

  • 25. 
    Select the default $PATH set by the init command
    • A. 

      /bin:/sbin:/usr/local/bin:/etc:/usr/etc

    • B. 

      /usr/local/bin:/usr/local/sbin:/opt/bin:/bin:/sbin

    • C. 

      /usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin

    • D. 

      /bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin

Back to Top Back to top
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.