Session 1 Flashcards

1
Q

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

A - SSD
B - HDD
? C - CD/DVD
D - Flash media

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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

A - SSD
B - HDD
C - Floppy
? D - Flash media

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which device types are considered hotplug devices? Choose all that apply.

A - RAM
B - Ethernet
C - IEEE-1394
D - Internal HDD
A

A - RAM
? B - Ethernet
? C - IEEE-1394
D - Internal HDD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which utilities manipulate USB devices? Choose all that apply.

A - lsusb
B - usbmgr
C - usbview
D - showusb
A

A - lsusb
B - usbmgr
C - usbview
D - showusb

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which virtual filesystem contains information about devices accessible by user space utilities?

    A - hald
B - dbus
C - udev
D - sysfs
A

A - hald
B - dbus
C - udev
? D - sysfs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which command loads modules into the kernel?

A - lsmod
B - modload ?	C - loadmod
D - modprobe
A

A - lsmod
B - modload
C - loadmod
D - modprobe

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

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

? A - /etc/grub.cfg
B - /boot/grub.cfg
C - /etc/grub/grub.cfg
D - /boot/grub/grub.cfg

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

In order to configure GRUB, the user must begin with a config file.

    True
False
A

True

? False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which command installs GRUB in the MBR?

    A - boot
B - config-grub
C - config-boot
D - grub-install
A

A - boot
B - config-grub
C - config-boot
? D - grub-install

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

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

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

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

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

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

? A - /sbin/init
B - /bin/boot
C - /sbin/load
D - /bin/kernel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which command displays system boot events?

A - lsboot
B - dmesg
C - lsmesg
D - bootevt
A

A - lsboot
B - dmesg
C - lsmesg
? D - bootevt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Where are traditional sysvinit boot events recorded?

A - /etc/messages
B - /etc/bootevents
C - /var/log/messages
D - /var/log/bootevents
A

A - /etc/messages
B - /etc/bootevents
C - /var/log/messages
? D - /var/log/bootevents

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which runlevel indicates a system shutdown in Linux?

    A - 0
B - 1
C - 4
D - 6
A

? A - 0
B - 1
C - 4
D - 6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

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

A - 1
B - 2
C - 3
D - 5

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

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

A - chkconfig
B - systemctl
C - update-rc.d
D - sysv-rc-conf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

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

? A - /etc/inittab
B - /etc/init.conf
C - /etc/upstart.conf
D - /etc/runlevel.conf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

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

A - telinit 0
B - telinit 6
C - haltsys
D - shutdown

20
Q

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

A - restart
B - telinit 0
C - telinit 6
D - shutdown -r

21
Q

In GPT partitions, which describes the partition table?

    A - Header
B - Payload
C - Metadata
D - Master partition
A

A - Header
B - Payload
C - Metadata
? D - Master partition

22
Q

Which special partition should be separate from the normal filesystems?

    A - Root
B - Swap
C - Paging
D - Devices
A

? A - Root
B - Swap
C - Paging
D - Devices

23
Q

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

? 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

24
Q

Where does Linux commonly store programs and data for third-party applications?

A - /var
B - /opt
C - /root
D - /home
A

A - /var
? B - /opt
C - /root
D - /home

25
Q

Where does Linux store temporary files used for normal operations?

A - /var
B - /usr
C - /opt
D - /boot
A

A - /var
B - /usr
C - /opt
D - /boot

26
Q

Where does Linux store temporary files used for normal operations?

A - /var
B - /usr
C - /opt
D - /boot
A

? A - /var
B - /usr
C - /opt
D - /boot

27
Q

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

A - LILO
B - MBR
C - BIOS
? D - GRUB

28
Q

Which is the common file extension used for shared library files?

A - .o
B - .so
C - .dll
D - .bin
A

A - .o
? B - .so
C - .dll
D - .bin

29
Q

Where are most Linux shared libraries stored?

A - /lib
B - /bin
C - /slib
D - /sbin

A

? A - /lib
B - /bin
C - /slib
D - /sbin

30
Q

Linux shared library file names typically start with which prefix?

A - lib
B - slib
C - shlib
D - libsh
A

A - lib
? B - slib
C - shlib
D - libsh

31
Q

Which Linux utility shows shared library dependencies?

    A - ldd
B - lsld
C - lslib
D - showlib
A

? A - ldd
B - lsld
C - lslib
D - showlib

32
Q

Which Linux utility reloads the library cache?

    A - ldd
B - ldlibs
C - ldshlibs
D - ldconfig
A

A - ldd
B - ldlibs
C - ldshlibs
? D - ldconfig

33
Q

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

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

34
Q

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

? A - /etc/sources.list
B - /usr/lib/sources.list
C - /etc/apt/sources.list
D - /usr/lib/apt/sources.list

35
Q

Which Debian package management tool queries package contents?

A

A - dpkg
B - apt-get
? C - apt-query
D - apt-cache

36
Q

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

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

37
Q

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

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

38
Q

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

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

39
Q

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

A - dpkg -i filename
B - dpkg -r filename
C - dpkg -P filename
? D - dpkg -S filename

40
Q

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

? A - dpkg -P pakageFileName
B - dpkg -I packageFileName
C - dpkg –list packageFileName
D - dpkg –info pakageFileName

41
Q

Which is the common extension used for RPM package files?

    A - .tar.
B - .zip
C - .deb
D - .rpm
A

A - .tar.
B - .zip
C - .deb
? D - .rpm

42
Q

The yumdownloader utility downloads install packages but it does not install them.

    True
False
A

? True

False

43
Q

Where does Linux store global RPM config settings?

A - ~/.rpmrc
B - /etc/rpmrc
C - /usr/lib/rpmrc
D - /usr/lib/rpm/rpmrc
A

A - ~/.rpmrc
? B - /etc/rpmrc
C - /usr/lib/rpmrc
D - /usr/lib/rpm/rpmrc

44
Q

Which rpm option verifies that a package’s files are present and unchanged since installation?

A - -b
B - -F
C - -V
D - -U
A

A - -b
B - -F
? C - -V
D - -U

45
Q

Which rpm option queries and verifies all packages?

    A - -I
B - -a
C - -R
D - -test
A

A - -I
B - -a
? C - -R
D - -test

46
Q

Which YUM option removes a package and depended-on packages?

A - clean
B - erase
C - provides
D - check-update
A

A - clean
? B - erase
C - provides
D - check-update

47
Q

Which YUM option shows information about an installed package?

    A - list
B - install
C - deplist
D - check-update
A

A - list
B - install
? C - deplist
D - check-update