Simulado I - LPI

60 Questions | Total Attempts: 82

SettingsSettingsSettings
LPI Quizzes & Trivia

Questions and Answers
  • 1. 
    Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination? Which SysV init configuration file should be modified to disable the ctrl-alt-delete keycombination?
    • A. 

      /proc/keys

    • B. 

      /etc/inittab

    • C. 

      /proc/inittab

    • D. 

      /etc/reboot

    • E. 

      /etc/keys

  • 2. 
    What program is executed after the BIOS completes its tasks? During a system boot cycle, what program is executed after the BIOS completes its tasks?
    • A. 

      The init program

    • B. 

      The kernel

    • C. 

      The inetd program

    • D. 

      The bootloader

  • 3. 
    Which run levels should never be declared as the default run level when using SysV init? Which run levels should never be declared as the default run level when using SysV init?(Choose TWO correct answers.)
    • A. 

      1

    • B. 

      3

    • C. 

      6

    • D. 

      0

  • 4. 
    Which of the following statements is correct when talking about /proc/? Which of the following statements is correct when talking about /proc/?
    • A. 

      All changes to files in /proc/ are stored in /etc/proc.d/ and restored on reboot.

    • B. 

      All files within /proc/ are only readable by the root user.

    • C. 

      All files within /proc/ are read-only and their contents cannot be changed.

    • D. 

      All changes to files in /proc/ are immediately recognized by the kernel.

  • 5. 
    What of the following statements are true regarding /dev/ when using udev? What of the following statements are true regarding /dev/ when using udev? (Choose TWOcorrect answers.)
    • A. 

      Entries for all possible devices get created on boot even if those devices are not connected.

    • B. 

      Additional rules for udev can be created by adding them to /etc/udev/rules.d/.

    • C. 

      When using udev, it is not possible to create block or character devices in /dev/ using mknod.

    • D. 

      The /dev/ directory is a filesystem of type tmpfs and is mounted by udev during system startup.

    • E. 

      The content of /dev/ is stored in /etc/udev/dev and is restored during system startup.

  • 6. 
    Which of the following information is stored within the BIOS? Which of the following information is stored within the BIOS? (Choose TWO correctanswers.)
    • A. 

      Boot device order

    • B. 

      Linux kernel version

    • C. 

      Timezone

    • D. 

      Hardware configuration

    • E. 

      The system’s hostname

  • 7. 
    Which of the following commands reboots the system when using SysV init? Which of the following commands reboots the system when using SysV init? (Choose TWOcorrect answers.)
    • A. 

      Telinit 0

    • B. 

      Telinit 6

    • C. 

      Shutdown -r “rebooting”

    • D. 

      Shutdown -r now

    • E. 

      Shutdown -k now “rebooting”

  • 8. 
    Which of the following are init systems used within Linux systems? Which of the following are init systems used within Linux systems? (Choose THREE correctanswers.)
    • A. 

      SysV init

    • B. 

      Startd

    • C. 

      Systemd

    • D. 

      Upstart

    • E. 

      SysInit

  • 9. 
    Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel?Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel?(Specify the file name only without any path.)
    • A. 

      Cmdline, /proc/cmdline

    • B. 

      Não existe outra resposta no questionário.

    • C. 

      Option 3

    • D. 

      Option 4

  • 10. 
    What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init? What is the first program that is usually started, at boot time, by the Linux kernel when usingSysV init?
    • A. 

      /boot/init

    • B. 

      /sbin/init

    • C. 

      /lib/init.so

    • D. 

      /etc/rc.d/rcinit

    • E. 

      /proc/sys/kernel/init

  • 11. 
    Which command will display messages from the kernel that were output during the normal boot sequence? Which command will display messages from the kernel that were output during the normalboot sequence?
    • A. 

      Dmesg, /bin/dmesg

    • B. 

      Não tem mais alternativas.

    • C. 

      Option 3

    • D. 

      Option 4

  • 12. 
    What information can the lspci command display about the system hardware? What information can the lspci command display about the system hardware? (ChooseTHREE correct answers.)
    • A. 

      PCI bus speed

    • B. 

      System battery type

    • C. 

      Device vendor identification

    • D. 

      Ethernet MAC address

    • E. 

      Device IRQ settings

  • 13. 
    Which it is safe to perform maintenance tasks? Which of the following commands brings a system running SysV init into a state in which itis safe to perform maintenance tasks? (Choose TWO correct answers.)
    • A. 

      Shutdown -single now

    • B. 

      Telinit 1

    • C. 

      Shutdown -R 1 now

    • D. 

      Init 1

    • E. 

      Runlevel 1

    • F. 

      Runlevel 1

  • 14. 
    Which of the following commands will write a message to the terminals of all logged in users? Which of the following commands will write a message to the terminals of all logged inusers?
    • A. 

      Mesg

    • B. 

      Print

    • C. 

      Wall

    • D. 

      Yell

    • E. 

      Bcast

  • 15. 
    Which of the following kernel parameters instructs the kernel to suppress most boot messages? Which of the following kernel parameters instructs the kernel to suppress most bootmessages?
    • A. 

      Verbose=0

    • B. 

      Nomesg

    • C. 

      Silent

    • D. 

      Quiet

  • 16. 
    Which of the following options for the kernel’s command line changes the systemd boot target to rescue.t Which of the following options for the kernel’s command line changes the systemd boottarget to rescue.target instead of the default target?
    • A. 

      Systemd.target=rescue.target

    • B. 

      Systemd.runlevel=rescue.target

    • C. 

      Systemd.service=rescue.target

    • D. 

      Systemd.default=rescue.target

    • E. 

      Systemd.unit=rescue.target

  • 17. 
    Which command must be run for the changes to take effect? After modifying GNU GRUB’s configuration file, which command must be run for thechanges to take effect?
    • A. 

      Kill -HUP $(pidof grub)

    • B. 

      Grub-install

    • C. 

      Grub

    • D. 

      No action is required

  • 18. 
    Which of the following commands is used to update the list of available packages when using dpkg based package Which of the following commands is used to update the list of available packages whenusing dpkg based package management?
    • A. 

      Apt-get refresh

    • B. 

      Apt-cache upgrade

    • C. 

      Apt-get upgrade

    • D. 

      Apt-get update

    • E. 

      Apt-cache update

  • 19. 
    Which of the following commands lists the dependencies of a given dpkg package? Which of the following commands lists the dependencies of a given dpkg package?
    • A. 

      Apt-cache depends-on package

    • B. 

      Apt-cache dependencies package

    • C. 

      Apt-cache depends package

    • D. 

      Apt-cache requires package

  • 20. 
    Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that t Which of the following options is used in a GRUB Legacy configuration file to define theamount of time that the GRUB menu will be shown to the user?
    • A. 

      Splash

    • B. 

      Timeout

    • C. 

      Hidemenu

    • D. 

      Showmenu

  • 21. 
    What can the Logical Volume Manager (LVM) be used for? What can the Logical Volume Manager (LVM) be used for? (Choose THREE correctanswers.)
    • A. 

      To create RAID 9 arrays.

    • B. 

      To dynamically change the size of logical volumes.

    • C. 

      To encrypt logical volumes.

    • D. 

      To create snapshots.

    • E. 

      To dynamically create or delete logical volumes.

  • 22. 
    Which of the following commands updates the linker cache of shared libraries? Which of the following commands updates the linker cache of shared libraries?
    • A. 

      Soconfig

    • B. 

      Ldconfig

    • C. 

      Mkldconfig

    • D. 

      Mkcache

    • E. 

      Lddconfig

  • 23. 
    Which of the following commands lists all currently installed packages when using RPM package management? Which of the following commands lists all currently installed packages when using RPMpackage management?
    • A. 

      Yum –query –all

    • B. 

      Yum –list –installed

    • C. 

      Rpm –query –all

    • D. 

      Rpm –list –installed

  • 24. 
    Which of the following commands can be used to download the RPM package kernel without installing it? Which of the following commands can be used to download the RPM package kernelwithout installing it?
    • A. 

      Yumdownloader kernel

    • B. 

      Rpm –download –package kernel

    • C. 

      Yum download –no-install kernel

    • D. 

      Rpmdownload kernel

  • 25. 
    Which of the following information is taken into consideration?seenagapeSeptember 29, 2015When using rpm –verify to check files created during the installation of RPM packages,which of the following information is taken into consideration? (Choose THREE correctanswers.)
    • A. 

      GnuPG signatures

    • B. 

      Timestamps

    • C. 

      MD5 checksums

    • D. 

      Inodes

    • E. 

      File sizes

Related Topics
Back to Top Back to top