Session 1 Flashcards
Which type of mass storage device is commonly referred to as an optical storage device?
A - SSD B - HDD C - CD/DVD D - Flash media
A - SSD
B - HDD
? C - CD/DVD
D - Flash media
Which type of mass storage device is most commonly connected to a computer using a USB port?
A - SSD B - HDD C - Floppy D - Flash media
A - SSD
B - HDD
C - Floppy
? D - Flash media
Which device types are considered hotplug devices? Choose all that apply.
A - RAM B - Ethernet C - IEEE-1394 D - Internal HDD
A - RAM
? B - Ethernet
? C - IEEE-1394
D - Internal HDD
Which utilities manipulate USB devices? Choose all that apply.
A - lsusb B - usbmgr C - usbview D - showusb
A - lsusb
B - usbmgr
C - usbview
D - showusb
Which virtual filesystem contains information about devices accessible by user space utilities?
A - hald B - dbus C - udev D - sysfs
A - hald
B - dbus
C - udev
? D - sysfs
Which command loads modules into the kernel?
A - lsmod B - modload ? C - loadmod D - modprobe
A - lsmod
B - modload
C - loadmod
D - modprobe
Where does GRUB store its configuration file?
A - /etc/grub.cfg B - /boot/grub.cfg C - /etc/grub/grub.cfg D - /boot/grub/grub.cfg
? A - /etc/grub.cfg
B - /boot/grub.cfg
C - /etc/grub/grub.cfg
D - /boot/grub/grub.cfg
In order to configure GRUB, the user must begin with a config file.
True False
True
? False
Which command installs GRUB in the MBR?
A - boot B - config-grub C - config-boot D - grub-install
A - boot
B - config-grub
C - config-boot
? D - grub-install
Which procedure is used to edit a GRUB boot entry?
A - 30+B640:B654 B - Edit the GRUB config file C - Highlight the desired entry, then press E D - Reinstall GRUB with the edited config file
A - 30+B640:B654
? B - Edit the GRUB config file
C - Highlight the desired entry, then press E
D - Reinstall GRUB with the edited config file
How does a user select an alternate boot image using GRUB?
A - Type the boot entry name B - Highlight a boot entry and press Enter C - Click on the desired boot entry with the mouse D - Navigate to the boot entry file image and select it
A - Type the boot entry name
B - Highlight a boot entry and press Enter
C - Click on the desired boot entry with the mouse
? D - Navigate to the boot entry file image and select it
Which program is used to start the operating system in traditional Linux computers?
A - /sbin/init B - /bin/boot C - /sbin/load D - /bin/kernel
? A - /sbin/init
B - /bin/boot
C - /sbin/load
D - /bin/kernel
Which command displays system boot events?
A - lsboot B - dmesg C - lsmesg D - bootevt
A - lsboot
B - dmesg
C - lsmesg
? D - bootevt
Where are traditional sysvinit boot events recorded?
A - /etc/messages B - /etc/bootevents C - /var/log/messages D - /var/log/bootevents
A - /etc/messages
B - /etc/bootevents
C - /var/log/messages
? D - /var/log/bootevents
Which runlevel indicates a system shutdown in Linux?
A - 0 B - 1 C - 4 D - 6
? A - 0
B - 1
C - 4
D - 6
Which runlevels are used by different Linux distributions for multiuser mode while GUI is running? Choose all that apply.
A - 1 B - 2 C - 3 D - 5
A - 1
B - 2
C - 3
D - 5
Which utilities show runlevel and boot target data for inittab systems in Linux? Choose all that apply.
A - chkconfig B - systemctl C - update-rc.d D - sysv-rc-conf
A - chkconfig
B - systemctl
C - update-rc.d
D - sysv-rc-conf
Where is the default runlevel defined for Linux systems that utilize upstart?
A - /etc/inittab B - /etc/init.conf C - /etc/upstart.conf D - /etc/runlevel.conf
? A - /etc/inittab
B - /etc/init.conf
C - /etc/upstart.conf
D - /etc/runlevel.conf
Which commands are used to shut down a Linux computer? Choose all that apply.
A - telinit 0 B - telinit 6 C - haltsys D - shutdown
A - telinit 0
B - telinit 6
C - haltsys
D - shutdown
Which commands are used to reboot a Linux computer? Choose all that apply.
A - restart B - telinit 0 C - telinit 6 D - shutdown -r
A - restart
B - telinit 0
C - telinit 6
D - shutdown -r
In GPT partitions, which describes the partition table?
A - Header B - Payload C - Metadata D - Master partition
A - Header
B - Payload
C - Metadata
? D - Master partition
Which special partition should be separate from the normal filesystems?
A - Root B - Swap C - Paging D - Devices
? A - Root
B - Swap
C - Paging
D - Devices
Which is a reason to create a separate /home partition?
A - Security is a primary concern B - The Linux system is primarily a server C - There are a large number of users with local files D - More than three disk drives are available in a Linux system
? A - Security is a primary concern
B - The Linux system is primarily a server
C - There are a large number of users with local files
D - More than three disk drives are available in a Linux system
Where does Linux commonly store programs and data for third-party applications?
A - /var B - /opt C - /root D - /home
A - /var
? B - /opt
C - /root
D - /home
Where does Linux store temporary files used for normal operations?
A - /var B - /usr C - /opt D - /boot
A - /var
B - /usr
C - /opt
D - /boot
Where does Linux store temporary files used for normal operations?
A - /var B - /usr C - /opt D - /boot
? A - /var
B - /usr
C - /opt
D - /boot
Which Linux boot loader is used in newer systems as well as classic versions of Linux?
A - LILO B - MBR C - BIOS D - GRUB
A - LILO
B - MBR
C - BIOS
? D - GRUB
Which is the common file extension used for shared library files?
A - .o B - .so C - .dll D - .bin
A - .o
? B - .so
C - .dll
D - .bin
Where are most Linux shared libraries stored?
A - /lib
B - /bin
C - /slib
D - /sbin
? A - /lib
B - /bin
C - /slib
D - /sbin
Linux shared library file names typically start with which prefix?
A - lib B - slib C - shlib D - libsh
A - lib
? B - slib
C - shlib
D - libsh
Which Linux utility shows shared library dependencies?
A - ldd B - lsld C - lslib D - showlib
? A - ldd
B - lsld
C - lslib
D - showlib
Which Linux utility reloads the library cache?
A - ldd B - ldlibs C - ldshlibs D - ldconfig
A - ldd
B - ldlibs
C - ldshlibs
? D - ldconfig
Which are the steps necessary to alter the systemwide shared library locations?
A - Edit /etc/slib.conf, run ldd B - Edit /lib/ld.so.conf, run ldlibs C - Edit /lib/slib.conf, run ldshlibs D - Edit /etc/ld.so.conf, run ldconfig
A - Edit /etc/slib.conf, run ldd
B - Edit /lib/ld.so.conf, run ldlibs
? C - Edit /lib/slib.conf, run ldshlibs
D - Edit /etc/ld.so.conf, run ldconfig
Which is the name of the list of software sources for Debian package management?
A - /etc/sources.list B - /usr/lib/sources.list C - /etc/apt/sources.list D - /usr/lib/apt/sources.list
? A - /etc/sources.list
B - /usr/lib/sources.list
C - /etc/apt/sources.list
D - /usr/lib/apt/sources.list
Which Debian package management tool queries package contents?
A - dpkg
B - apt-get
? C - apt-query
D - apt-cache
Which is the purpose of the dpkg –remove command?
A - Removes a package and config files B - Restores a package to a previous version C - Removes a package, leaving the config files D - Reinstalls the installed version of a package
A - Removes a package and config files
B - Restores a package to a previous version
? C - Removes a package, leaving the config files
D - Reinstalls the installed version of a package
Which is the purpose of the dpkg -C command?
A - Finds partially installed packages B - Reconfigures an installed package C - Shows information about a Debian package file D - Shows information about all installed packages
A - Finds partially installed packages
B - Reconfigures an installed package
? C - Shows information about a Debian package file
D - Shows information about all installed packages
Which best defines the purpose of the apt-cache show command?
A - Shows information about a package B - Lists packages on which a package depends C - Shows details of versions available and dependencies D - Lists packages with a supplied word in the description
A - Shows information about a package
B - Lists packages on which a package depends
? C - Shows details of versions available and dependencies
D - Lists packages with a supplied word in the description
Which dpkg command finds a supplied filename in packages?
A - dpkg -i filename B - dpkg -r filename C - dpkg -P filename D - dpkg -S filename
A - dpkg -i filename
B - dpkg -r filename
C - dpkg -P filename
? D - dpkg -S filename
Which dpkg command shows information about an uninstalled package file?
A - dpkg -P pakageFileName B - dpkg -I packageFileName C - dpkg --list packageFileName D - dpkg --info pakageFileName
? A - dpkg -P pakageFileName
B - dpkg -I packageFileName
C - dpkg –list packageFileName
D - dpkg –info pakageFileName
Which is the common extension used for RPM package files?
A - .tar. B - .zip C - .deb D - .rpm
A - .tar.
B - .zip
C - .deb
? D - .rpm
The yumdownloader utility downloads install packages but it does not install them.
True False
? True
False
Where does Linux store global RPM config settings?
A - ~/.rpmrc B - /etc/rpmrc C - /usr/lib/rpmrc D - /usr/lib/rpm/rpmrc
A - ~/.rpmrc
? B - /etc/rpmrc
C - /usr/lib/rpmrc
D - /usr/lib/rpm/rpmrc
Which rpm option verifies that a package’s files are present and unchanged since installation?
A - -b B - -F C - -V D - -U
A - -b
B - -F
? C - -V
D - -U
Which rpm option queries and verifies all packages?
A - -I B - -a C - -R D - -test
A - -I
B - -a
? C - -R
D - -test
Which YUM option removes a package and depended-on packages?
A - clean B - erase C - provides D - check-update
A - clean
? B - erase
C - provides
D - check-update
Which YUM option shows information about an installed package?
A - list B - install C - deplist D - check-update
A - list
B - install
? C - deplist
D - check-update