SysArchitec & InstallPack Flashcards
To pass part 1 of exam
Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel?
(Specify the file name only without any path.)
cmdline, /proc/cmdline
What information can the lspci command display about the system hardware? (Choose THREE correct answers.) A. Device IRQ settings B. PCI bus speed C. System battery type D. Device vendor identification E. Ethernet MAC address
Device IRQ settings
PCI bus speed
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? (Choose TWO correct answers.) A. shutdown -R 1 now B. shutdown -single now C. init 1 D. telinit 1 E. runlevel 1
init 1
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
/sbin/init
Which command will display messages from the kernel that were output during the normal boot
sequence?
dmesg, /bin/dmesg
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
yell
Which of the following kernel parameters instructs the kernel to suppress most boot messages?
A. silent B. verbose=0 C. nomesg D. quiet
quiet
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
systemd.unit=rescue.target
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
/etc/inittab
During a system boot cycle, what program is executed after the BIOS completes its tasks? A. The bootloader B. The inetd program C. The init program D. The kernel
The bootloader
Which run levels should never be declared as the default run level when using SysV init? (Choose
TWO correct answers.)
A. 0 B. 1 C. 3 D. 5 E. 6
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.
All changes to files in /proc/ are immediately recognized by the kernel.
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.
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.
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
Boot device order
Hardware configuration
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"
shutdown -r now
telinit 6
Which of the following are init systems used within Linux systems? (Choose THREE correct answers.) A. startd B. systemd C. Upstart D. SysInit E. SysV init
systemd
Upstart
SysV init
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
LD_LIBRARY_PATH
Which world-writable directory should be placed on a separate partition in order to prevent users
from being able to fill up the / filesystem? (Specify the full path to the directory.)
/tmp, tmp, /var/tmp, /tmp/, /var/tmp/
Which RPM command will output the name of the package which supplied the file /etc/exports? A. rpm -F /etc/exports B. rpm -qf /etc/exports C. rpm -Kl /etc/exports D. rpm -qp /etc/exports E. rpm -qi /etc/exports
rpm -qf /etc/exports
In which directory must definition files be placed to add additional repositories to yum?
/etc/yum.repos.d, /etc/yum.repos.d/, yum.repos.d, yum.repos.d/
What is the name of the main configuration file for GNU GRUB? (Specify the file name only
without any path.)
menu.lst, grub.conf, grub.cfg
When removing a package, which of the following dpkg options will completely remove the files
including configuration files?
A. --clean B. --delete C. --purge D. –remove
–purge
Which file should be edited to select the network locations from which Debian installation package
files are loaded?
A. /etc/dpkg/dpkg.cfg B. /etc/apt/apt.conf C. /etc/apt/apt.conf.d D. /etc/apt/sources.list E. /etc/dpkg/dselect.cfg
/etc/apt/apt.conf.d
Which option to the yum command will update the entire system? (Specify ONLY the option name
without any additional parameters.)
update, upgrade
Which command will disable swapping on a device? (Specify ONLY the command without any
path or parameters.)
swapoff, /sbin/swapoff
Which Debian package management tool asks the configuration questions for a specific already
installed package just as if the package were being installed for the first time? (Specify ONLY the
command without any path or parameters.)
dpkg-reconfigure
Which of the following commands overwrites the bootloader located on /dev/sda without
overwriting the partition table or any data following it?
A. dd if=/dev/zero of=/dev/sda bs=512 B. dd if=/dev/zero of=/dev/sda bs=512 count=1 C. dd if=/dev/zero of=/dev/sda bs=440 count=1 D. dd if=/dev/zero of=/dev/sda bs=440
dd if=/dev/zero of=/dev/sda bs=440 count=1
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
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
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
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
timeout
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.
To dynamically change the size of logical volumes.
To create snapshots.
To 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
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
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
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? (Choose THREE correct answers.) A. Timestamps B. MD5 checksums C. Inodes D. File sizes E. GnuPG signatures
Timestamps
MD5 checksums
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.
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
Windows NT does not support Safe Mode