Click Here to take the test. (You need an account. It's free)

 

1. Configuration of udev devices is done by working with files in which directory?

  • /udev/devices
  • /devices/
  • /udev/config
  • /etc/udev

2. Which command can be used to reboot a system?

  • init 6
  • shutdown -h -t now
  • init 1
  • refresh-system

3. Which of the following commands, executed from within the UEFI shell, controls the boot configuration?

  • bootcfg
  • bcfg
  • grub-install
  • grcfg

4. During the initialization process for a Linux system using SysV init, which runlevel corresponds to single-user mode?

  • Runlevel 5
  • Runlevel SU
  • Runlevel 1
  • Runlevel 6

5. Within which folder are systemd unit configuration files stored?

  • /etc/system.conf.d
  • /lib/system.conf.d
  • /lib/systemd/system
  • /etc/sysconfd

6. When working with a CentOS 6 system, which command is used to create the iniţial RAM disk?

  • mkinit
  • dracut
  • mkraminit
  • mkinitfs

7. Which command on a system controlled by Upstart will reload the configuration files?

  • initctl reload
  • systemd reload
  • upstart -reload
  • ups -reload

8. Which of the following is a good first troubleshooting step when a hard disk is not detected by the Linux kernel?

  • Unplug the disk.
  • Check the system BIOS.
  • Restart the web server service.
  • Run the disk-detect command.

9. The system is using a temporary flash USB disk for data mounted at /dev/sdai. You need to remove the disk. Which of the following commands will enable the disk to be safely removed from the system?

  • usbstop /dev/sda
  • umount /dev/sda1
  • unmount /dev/sda1
  • dev-eject /dev/sda1

10. If the kernel ring buffer has been overwritten, within which file can you look to find boot messages?

  • /var/log/bootmessages
  • /var/log/mail.info
  • /var/adm/log/boot.info
  • /var/log/dmesg

11. Which option to rmmod will cause the module to wait until it’s no longer in use to unload the module?

  • -test
  • -f
  • -w
  • -unload

12. Within which directory are systemd user unit files placed by installed packages?

  • /usr/lib/systemd/user
  • /usr/lib/systemd/system
  • /usr/systemd
  • /usr/system

13. Which option to the shutdown command halts or stops the system?

  • -h
  • -s
  • -f
  • -t

14. Which command on a systemd-controlled system would place the system into single-user mode?

  • systemctl one
  • systemctl isolate rescue.target
  • systemctl single-user
  • systemctl runlevel one

15. Within which directory are rules related to udev stored?

  • /etc/udev.conf
  • /etc/udev.conf.d
  • /etc/udev/rules.d
  • /etc/udev.d

16. A drive connected to USB is considered which type of device?

  • Medium
  • Coldplug
  • Hotplug
  • Sideplug

17. Which of the following commands can be used to show the various information related to a currently loaded module, including core size and settings for options?

  • systool -v -m <module>
  • modinfo -r <module>
  • Ismod <module>
  • infmod <module>

18. Which of the following commands on a Red Hat system lists all of the SysV services set to be executed on boot along with their setting for each runlevel?

  • rlevel
  • chkconfig -list
  • bootldr -list
  • init -bootlist

19. Which of the following devices is the location of the first Small Computer System Interface (SCSI) tape device detected at boot?

  • /dev/st1
  • /dev/sd0
  • /dev/sd1
  • /dev/st0

20. Which key, pressed during the operating system selection menu, is used to enable editing of the parameters related to boot with GRUB?

  • v
  • e
  • r
  • y

21. When working with hotplug devices, you need to gather more information about them through udevadm. Which udevadm command enables you to query the udev database for information on a device?

  • query
  • info
  • getinfo
  • devinfo

22. Within which directory should systemd unit files that you create be stored?

  • /etc/system
  • /etc/systemd/system
  • /usr/share/systemd
  • /usr/share/system

23. Which of the following commands sets the default systemd target to multi-user?

  • systemctl set-default multi-user.target
  • systemd set-default multi-user.target
  • systemctl set-def muser.target
  • systemd set-def muser.target

24. Which of the following is used instead of initrd to provide an early filesystem for essential drivers?

  • initnext
  • initramfs
  • initialize
  • initfs

25. Which signal number is used as SIGKILL when used with the kill command?

  • 1
  • 4
  • 9
  • 11

26. Within which of the following directories will you find blacklist information for modules loaded with modprobe?

  • /etc/blacklist
  • /etc/modprobe.d
  • /etc/blacklist.mod
  • /etc/modprobe

27. Which boot loader can be used for File Allocation Table (FAT) filesystems and might be used for a rescue disk?

  • SYSBOOT
  • SYSLINUX
  • TIELINUX
  • FATLINUX

28. You have purchased new solid-state drive (SSD) hardware that uses the NVMe (Non-Volatile Memory Express) protocol but cannot find the disks in the normal /dev/sd* location in which you have traditionally found such storage. In which location should you look for these drives?

  • /dev/nd*
  • /dev/nvme*
  • /dev/nv*
  • /dev/nvme/*

29. Which file contains information about the current md Redundant Array of Inexpensive Disks (RAID) configuration such as the personalities?

  • /proc/raidinfo
  • /proc/rhyinfo
  • /proc/mdraid
  • /proc/mdstat

30. You are using a storage area network (SAN) that keeps causing errors on your Linux system due to an improper kernel module created by the SAN vendor. When the SAN sends updates, it causes the filesystem to be mounted as read-only. Which command and option can you use to change the behavior of the filesystem to account for the SAN bug?

  • mount -continue
  • tune2fs -e continue
  • mkfs -no-remount
  • mount -o remount

31. Which command enables you to view the current interrupt request (IRQ) assignments?

  • view /proc/irq
  • cat /proc/interrupts
  • cat /dev/irq
  • less /dev/irq

32. Which option to the modprobe command shows the dependencies for a given module?

  • -show-options
  • -list-deps
  • -show-depends
  • -list-all

33. Which command can be used to view the kernel ring buffer in order to troubleshoot the boot process?

  • Isboot
  • boot-log
  • krblog
  • dmesg

34. Which command will display the default target on a computer running systemd?

  • systemctl defaults
  • update-rc.d defaults
  • systemctl runlevel
  • systemctl get-default

35. Within which file will you find a list of the currently available kernel symbols?

  • /proc/kernelsyms
  • /etc/kernel.conf
  • /etc/lsyms
  • /proc/kallsyms

36. When using Unified Extensible Firmware Interface (UEFI), which of the following files can be used as a boot loader?

  • shim.uefi
  • shim.efi
  • shim.fx
  • efi.shim

37. Which command is used to automatically load a module and its dependencies?

  • modprobe
  • lsmod
  • insmod
  • rmmod

38. Which of the following commands will examine the PCI subsystem for NVMe-based devices?

  • psnvme
  • lsnvme
  • Ispci | grep -i nvme
  • Ispci | grep scsi

39. When booting a system you receive an error similar to "No init found" and are then placed at an initramfs prompt. You need to check the hard drive for errors. Which of the following commands performs an error check on a hard drive partition in Linux?

  • defrag
  • fsck
  • checkfs
  • chkfs

40. Which of the following files contains the runlevels for the system along with a reference to the corresponding rc file?

  • /etc/runlevels
  • /etc/inittab
  • /etc/rc
  • /etc/runlevel

41. Which of the following directory hierarchies contains information such as the World Wide Name (WWN) for Fibre Channel?

  • /sys/class/wwn
  • /sys/class/fc_host
  • /sys/class/fclist
  • /sys/class/fc/wwn

42. Which command can you use to send a message to all users who are currently logged into a system?

  • cat
  • wall
  • tee
  • ssh

43. Which option to lspci is used to display both numeric codes and device names?

  • -numdev
  • -n
  • -nn
  • -devnum

44. Which of the following files can be used to provide a message to users logging in remotely with a protocol such as telnet?

  • /etc/telnet.msg
  • /etc/issue.net
  • /etc/login.msg
  • /etc/telnet.login

45. Which command is used to obtain a list of USB devices?

  • usb-list
  • lsusb
  • Is-usb
  • Is -usb

46. Which of the following commands show the boot messages captured by systemd?

  • journalctl -b
  • systemctl -b
  • journalctl -bm
  • journalctl -l

47. Which of the following files should be used to display a message to users prior to logging in locally?

  • /etc/loginmesg
  • /etc/logmessage.txt
  • /etc/issue
  • /etc/banner

48. Which of the following commands places the system in single-user mode?

  • tellinit 1
  • chginit 1
  • telinet 1
  • telinit 1

49. Which command can be used to obtain a list of currently loaded kernel modules?

  • insmod
  • modlist
  • Is -modules
  • Ismod

50. Which of the following commands turns off the computer, including removing power, if possible?

  • systemctl halt
  • systemctl reboot
  • systemctl stop
  • systemctl poweroff

51. Which of the following commands is used to find overriding configuration files on a systemd-based system?

  • diff
  • systemctl -diff
  • systemd-delta
  • systemctl configoverride

52. Which of the following commands should you execute after making changes to systemd service configurations in order for those changes to take effect?

  • systemd reload
  • reboot
  • systemctl daemon-reload
  • systemctl reboot

53. Which of the following is used to provide an early filesystem- based loading process for key drivers needed to continue the boot process?

  • bootrd
  • driverload
  • initrd
  • initdrv

54. Within which hierarchy are files from /etc/init. d linked so that the files are executed during the various runlevels of a SysV system?

  • /etc/rc.S
  • /etc/rc
  • /etc/boot/rc
  • /etc/rc.d

55. Which directory contains various elements and configuration information about the kernel such as the release number, domain name, location of modprobe, and other settings?

  • /proc/sys/kmod
  • /proc/sys/kernel
  • /proc/kernel
  • /proc/kernel/sys

56. When viewing information in /dev/disk/by-path using the command ls -l, which of the following filenames represents a logical unit number (LUN) from Fibre Channel?

  • /dev/fc0
  • pci-0000:1a:00.0-fc-0x22430080e524ebac:0x0000000000000000
  • pci-0000:1a:00.0-scsi- 0x22430080e524ebac:0x0000000000000000
  • /dev/fibre0

57. What is the name of the unit to which a systemd system is booted in order to start other levels?

  • default.target
  • init.target
  • initial.target
  • load.target

58. When terminating a process on a SysV init-based system, which command can be used to stop the process?

  • service
  • sysv
  • syscl
  • servc

59. Which option to ispci displays the kernel driver in use for the given Peripheral Component Interconnect (PCI) device?

  • -t
  • -k
  • -n
  • -a

60. Which option to the systemctl command will change a service so that it runs on the next boot of the system?

  • enable
  • startonboot
  • loadonboot
  • start

61. Which directory on a SysV init-based system contains scripts that are used for starting and stopping services?

  • /etc/rc.int
  • /etc/boot
  • /etc/bootscripts
  • /etc/init.d

62. Information about logical volumes can be found in which of the following directories?

  • /dev/lvinfo
  • /dev/map
  • /dev/mapper
  • /dev/lvmap

63. Which of the following commands is used to view kernel-related udev events in real time?

  • udevls all
  • Isudev -f
  • udevmon -a
  • udevadm monitor

64. When working with a SysV system, which option to chkconfig will display all services and their runlevels?

  • -reload
  • -list
  • -all
  • -ls

65. Which of the following commands changes the boot order for the next boot?

  • efibootmgr -c
  • efibootmgr -b -B
  • efibootmgr -o
  • efibootmgr -n

66. Which command is used with systemd in order to list the available service units?

  • systemd list-units
  • systemctl list-units
  • systemd unit-list
  • systemctl show-units

67. Which file contains a message that is displayed after a successful login?

  • /etc/loginbanner
  • /etc/issue
  • /etc/motd
  • /etc/message

68. Which command will retrieve information about the USB connections on a computer in a tree-like format?

  • lsusb -tree
  • lsusb -grep
  • lsusb -t
  • usblist -tree

69. Which boot loader can be used with ISO9660 CD-ROMS?

  • ISOLINUX
  • EFIBOOT
  • ISOFS
  • BOOTISO

70. Which of the following best describes the /proc filesystem?

  • /proc contains information about files to be processed.
  • /proc contains configuration files for processes.
  • /proc contains information on currently running processes, including the kernel.
  • /proc contains variable data such as mail and web files.

71. Within which directory is information about USB devices stored?

  • /etc/usbdevices
  • /var/usb
  • /lib/sys/usb
  • /sys/bus/usb/devices

72. Which systemcti subcommand is used to switch runlevels?

  • switch
  • move
  • runlevel
  • isolate

73. Which command and option can be used to determine whether a given service is currently loaded?

  • systemctl -Is
  • telinit
  • systemctl status
  • sysctl -a

74. When using an SysV init-based system, which command would you use if you make changes to the /etc/inittab file and want those changes to be reloaded without a reboot?

  • init-refresh
  • init 6
  • telinit
  • reload-inittab

75. Which command displays the current runlevel for a system?

  • show-level
  • init -level
  • sudo init
  • runlevel

76. Which file must exist within /tftpboot on the Trivial File Transfer Protocol (TFTP) server for a system that will use PXELINUX for its boot loader?

  • pxelinux.tftp
  • pxelinux.boot
  • pxelinux.conf
  • pxelinux.0

77. When using a shim for booting a UEFI-based system, which of the following files is loaded after shim. efi?

  • grubx64.cfg
  • grub.conf
  • grubx64.efi
  • efi.boot

78. When attempting to enable an integrated peripheral on a basic input/output system (BIOS) system, what should be done to determine whether the peripheral has been enabled within the BIOS?

  • Examine boot messages to determine if the kernel has detected the peripheral.
  • Examine /var/iog/auth. log for detection of the peripheral.
  • Reboot the system to determine if the device works.
  • Enable the peripheral by removing it from the blacklisted modules.

79. Which option within a systemd service file indicates the program to execute?

  • StartProgram
  • ShortCut
  • ExecStart
  • Startup

80. Which option to the wall command suppresses the "Broadcast message" banner that normally displays?

  • -b
  • -a
  • -n
  • -d

81. When examining the /etc/inittab file, which option signifies the default runlevel to which the system will boot?

  • default
  • defaultboot
  • initdefault
  • defaultlvl

82. Which directory contains rc-related startup scripts on a legacy Debian system?

  • /etc/init
  • /etc/inittab
  • /etc/init.d
  • /etc/rc.init

83. On a system using SysV init, in which directory are the startup and shutdown scripts for services stored?

  • /etc/init-d
  • /etc/init
  • /etc/sysV
  • /etc/init.d

84. Which of the following commands will initiate an immediate shutdown of the system?

  • shutdown -c
  • halt
  • systemd stop
  • stop-system

85. Which utility can you use on a Debian or Ubuntu system to manage SysV init scripts, such as setting them to run on boot?

  • bootorder
  • bootloader
  • configchk
  • update-rc.d

86. You have connected a USB disk to the system and need to find out its connection point within the system. Which of the following is the best method for accomplishing this task?

  • Rebooting the system
  • Viewing the contents of /var/log/usb. log
  • Connecting the drive to a USB port that you know the number of
  • Running dmesg and looking for the disk

87. Which of the following shutdown commands reboots the system in 15 minutes?

  • shutdown -r +15
  • shutdown +15
  • shutdown -15
  • shutdown -r 00:15

88. What is one reason why a device driver does not appear in the output of lsmod, even though the device is loaded and working properly?

  • The use of systemd means that drivers are not required for most devices
  • The use of initramfs means that support is enabled by default
  • The system does not need a driver for the device.
  • Support for the device has been compiled directly into the kernel.

 

{jssocials}