LX0-103: CompTIA Linux+ Certification Test! Trivia Questions Quiz

120 Questions | Total Attempts: 75

SettingsSettingsSettings
LX0-103: CompTIA Linux+ Certification Test! Trivia Questions Quiz - Quiz

Are you looking for a trivia questions quiz to help you with the Lx0-103: CompTIA Linux+ Certification Test? Every time you get a certificate you have three years till you take the next exam so it is very important to ensure that you are up to date with changes in the information sector. How about you give it a shot and get the well-deserved revision. All the best!


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

      /proc/keys

    • B. 

      /etc/inittab

    • C. 

      /proc/inittab

    • D. 

      /etc/reboot

    • E. 

      /etc/keys

  • 2. 
    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? (Choose TWO correct answers.)
    • A. 

      1

    • B. 

      3

    • C. 

      5

    • D. 

      6

    • E. 

      0

  • 4. 
    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? (Choose TWO correct 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? (Choose TWO correct answers.)
    • 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? (Choose TWO correct 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? (Choose THREE correct answers.)
    • 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? (Specify the file name only without any path.)
  • 10. 
    What information can the lspci command display about the system hardware? (Choose THREE correct answers.)
    • A. 

      PCI bus speed

    • B. 

      System battery type

    • C. 

      Device vendor identification

    • D. 

      Ethernet MAC address

    • E. 

      Device IRQ settings

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

      Shutdown -single now

    • B. 

      Runlevel 1

    • C. 

      Telinit 1

    • D. 

      Shutdown -R 1 now

    • E. 

      Init 1

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

      /boot/init

    • B. 

      /lib/init.so

    • C. 

      /sbin/init

    • D. 

      /etc/rc.d/rcinit

    • E. 

      /proc/sys/kernel/init

  • 13. 
    Which command will display messages from the kernel that were output during the normal boot sequence?
  • 14. 
    Which of the following commands will write a message to the terminals of all logged in users?
    • 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?
    • 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.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. 
    After modifying GNU GRUB’s configuration file, which command must be run for the changes 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 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?
    • 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 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? (Choose THREE correct answers.)
    • 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?
    • 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?
    • 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?
    • A. 

      Yumdownloader kernel

    • B. 

      Rpm –download –package kernel

    • C. 

      Yum download –no-install kernel

    • D. 

      Rpmdownload kernel

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

      GnuPG signatures

    • B. 

      Timestamps

    • C. 

      MD5 checksums

    • D. 

      Inodes

    • E. 

      File sizes

Related Topics