103 Flashcards
(97 cards)
Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?
A. /etc/keys B. /proc/keys C. /etc/inittab D. /proc/inittab E. /etc/reboot
C. /etc/inittab
During a system boot cycle, what program is executed after the BIOS completes its taks?
A. The bootloader
B. The inetd program
C. The init program
D. The Kernel
A. The bootloader
Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers)
0 & 6
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 read-only and their contents cannot be changed.
C. All changes to files in /proc/ are immediately recognized by the kernel.
D. All files within /proc/ are only readable by the root user.
C. All changes to files in /proc/ are immediately recognized by the kernel.
Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers).
A. shutdown -r now B. shutdown -r "Rebooting" C. telinit 6 D. telinit 0 E. shutdown - k now "rebooting"
A. shutdown - r now
B. telinit 6
Which of the following are init systems used within Linux systems? (Select three)
A- startd B- systemd C- upstart D- SysInit E- SysV init
B- systemd
C- Upstart
E- SysV init
What information can the lspci command display about the system hardware? (Select THREE)
A - Device IRQ settings B - PCI bus speed C - System battery type D - Device vendor identification E - Ethernet MAC address
A - Device IRQ settings
B - PCI bus speed
D - Device vendor identification
Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Select TWO)
A - shutdown -R 1 now B - shutdown -single now C - init 1 D - telinit 1 E - runlevel 1
C - init 1
D - telinit 1
What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?
A - /lib/init.so B - /sbin/init C - /etc/rc.d/rcinit D - /proc/sys/kernel/init E - /boot/init
B - /sbin/init
Which of the following commands will write a message to the terminals of all logged in users?
A - bcast B - mesg C - print D - wall E - yell
D - wall
Which of the following kernel parameters instructs the kernel to suppress most boot messages?
A - silent
B - verbose=o
C - nomesg
D - quiet
D - quiet
Which of the following options for the kernel’s command line changes the systemd boot target to rescue.target?
A - systemd.tartget=rescue.target B - systemd.runlevel=rescue.target C - systemd.service=rescue.target D - systemd.default=rescue.target E - systemd.unit=rescue.target
E - systemd.unit=rescue.target
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
D - no action is required
Which of the following commands is used to update the list of available packages when using dpkg based package management?
A - apt-get update B - apt-get upgrade C - apt-cache update D - apt-get refresh E - apt-cache upgrade
A - apt-get update
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
C - apt-cache depends package
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 - hidemenu
B - splash
C - timeout
D - showmenu
C - timeout
What can the Logical Volume Manager (LVM) be used for? (Select three)
A - create RAID 9 arrays
B - dynamically change the size of logical volumes
C - encrypt logical volumes
D - create snapshots
E - dynamically create or delete logical volumes
B - dynamically change the size of logical volumes
D - create snapshots
E - dynamically create or delete logical volumes
Which of the following commands updates the linker cache of shared libraries?
A - mkcache B - soconfig C - mkldconfig D - lddconfig E - ldconfig
E - ldconfig
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
C - rpm –query –all
Which of the following commands can be used to download the RPM package kernel without installing it?
A - yum download –no-install kernel
B - yumdownloader kernel
C - rpm –download –package kernel
D - rpmdownload kernel
B - yumdownloader kernel
When using rpm –verify to check files created during the installation of RPM packages, which of the following information is taken into consideration? (Select three)
A - timestamps B - MD5 checksums C - Inodes D - File sizes E - GnuPG signatures
A - timestamps
B - MD5 checksums
D - File sizes
Which of the following is correct when talking about mount points?
A - Every existing directory can be used as a mount point.
B - Only empty directories can be used as a mount point.
C - Directories need to have the SetUID flag set to be used as a mount point
D - Files within a directory are deleted when the directory is used as a mount point
A - Every existing directory can be used as a mount point
Which function key is used to start Safe Mode in Windows NT?
A - F10
B - F8
C - F6
D - Windows NT does not support Safe Mode
D - Windows NT does not support Safe Mode
Which of the following environment variables overrides or extends the list of directories holding shared libraries?
A - LD_LOAD_PATH B - LD_LIB_PATH C - LD_LIBRARY_PATH D - LD_SHARE_PATH E - LD_RUN_PATH
C - LD_SHARE_PATH