Font size
S
M
L
XL
WorksheetsLinux+ LX0-103 Quiz B
Total questions: 10
Worksheet time: 10mins
Name
Class
Date
1.
Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?
a)
i (lowercase)
b)
P (uppercase)
c)
p (lowercase)
d)
U (uppercase)
e)
u (lowercase)
2.
Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO.)
a)
esc ZZ
b)
ctrl :w!
c)
esc zz
d)
esc :wq!
e)
ctrl XX
3.
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
4.
What is the purpose of the Bash built-in export command?
a)
It allows disks to be mounted remotely.
b)
It runs a command as a process in a subshell.
c)
It makes the command history available to subshells.
d)
It sets up environment variables for applications.
e)
It shares NFS partitions for use by other systems on the network.
5.
After running the command umount /mnt, the following error message is displayed: umount: /mnt: device is busy. What is a common reason for this message?
a)
The kernel has not finished flushing disk writes to the mounted device.
b)
A user has a file open in the /mnt directory.
c)
Another file system still contains a symlink to a file inside /mnt.
d)
The files in /mnt have been scanned and added to the locate database.
e)
The kernel thinks that a process is about to open a file in /mnt for reading.
6.
Which of the following Linux filesystems preallocates a fixed number of inodes at the filesystem's make/creation time and does NOT generate them as needed? (Choose TWO.)
a)
ext3
b)
JFS
c)
ext2
d)
XFS
e)
procfs
7.
What information can the lspci command display about the system hardware? (Choose THREE.)
a)
Device IRQ settings
b)
PCI bus speed
c)
System battery type
d)
Device vendor identification
e)
Ethernet MAC address
8.
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.
9.
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
10.
In Bash, inserting 1>&2 after a command redirects:
a)
standard error to standard input.
b)
standard input to standard error.
c)
standard output to standard error.
d)
standard error to standard output.
e)
standard output to standard input.
Reset
