GAQM
LCP-001
Q1:
Which of the following statements would create a default route using a gateway of 192.168.1.1?
○
A
netstat -add default gw○
B
route default 192.168.1.1○
C
ip route default 192.168.1.1○
D
route add default gw 192.168.1.1○
E
ifconfig default gw 192.168.1.1 eth0
GAQM
LCP-001
Q2:
What effect does the sticky bit have when set on a directory?
○
A
There is no effect because the sticky bit has been deprecated in Linux.○
B
It provides a hint to the kernel that files in this directory should be cached in memory, if possible.○
C
It restricts deletion of files in this directory to only the root user and the file owner regardless of write permissions for other users.○
D
It instructs the kernel to keep the underlying data for the files in the directory intact to allow for undeletion of important files.
GAQM
LCP-001
Q3:
Typically, which top level system directory is used for files and data that changes regularly while the system is running and are to be kept between reboots? (Specify only the the top level directory) Answer:
/var/
var
var/
○
A
/var
GAQM
LCP-001
Q4:
Which of the following commands can be used to perform a full text search on all available packages on a Debian system?
○
A
apt○
B
apt-cache○
C
apt-get○
D
apt-search○
E
dpkg
GAQM
LCP-001
Q5:
Which of the following statements is a TRUE difference between GRUB Legacy and GRUB 2?
○
A
GRUB 2 no longer requires a configuration file.○
B
Partition numbers start at 0 in GRUB Legacy and 1 in GRUB 2.○
C
grub-mkconfig only works with GRUB Legacy if the -version 1 option is used.○
D
The configuration file menu.lst (and grub.conf) have been replaced with grub.config.