1. What is the correct syntax to mount an MS DOS formatted
floppy disk (do not assume that there is an entry in /etc/fstab)?
A. mount /dev/floppy /mnt/fd0
B. mount -t iso9660 /dev/fd0 /mnt/floppy
C. mount -t vfat /dev/fd0 /mnt/floppy
D. mount -t msdos /dev/floppy /mnt/floppy
E. mdir
You answered this question incorrectly
Explanation: A will only work if there is an entry in /etc/fstab. B
is wrong because iso9660 is for CDROM's. C is correct. D is wrong becuase
the device should be /dev/fd0 rather than /dev/floppy.
2. You have created a /home/projectfoo directory. How can you
change its group ownership to the projectfoo group?
A. chmod g+rwx projectfoo /home/projectfoo
B. chown projectfoo /home/projectfoo
C. chgrp projectfoo /home/projectfoo
D. newgrp projectfoo /home/projectfoo
E. chown projectfoo.users /home/projectfoo
You answered this question incorrectly
Explanation: The chgrp command sets the group ownership of a file or
directory.
3. What command will map all of the dependencies between modules
into a file?
A. modmap
B. depmod -a
C. depmod --rebuild
D. modmap --rebuild
E. modprobe --rebuild
You answered this question incorrectly
Explanation: The depmod -a command finds all the dependcies betwen modules
and puts the information in the modules.dep file.
4. How can you find out which ports are being used?
A. ifconfig -a
B. netstat -a
C. netstat -rn
D. ports
E. cat /etc/services
You answered this question incorrectly
Explanation: The netstat -a command shows you which ports are in use.
A is wrong because the ifconfig -a command tells you about your NICs.
B is correct. C is wrong because it shows you the routing table. D doesn't
do anyting. E just shows you the etc/ports file.
5. How can you see the kernel routing table?
A. netstat -Route
B. netstat -rn
C. netstat -an
D. route show default gw
E. netstat
You answered this question incorrectly
Explanation: The netstat -rn command shows the kernel routing table.
6. You have a Linux machine that does not have X-Windows configured.
What command can you use to find out what kind of graphics card it has?
A. Xfind
B. SuperProbe
C. Xsetup
D. cat /proc/video
E. videocfg
You answered this question incorrectly
Explanation: The SuperProbe program is used to find information about
your graphics card.
7. You want to compile a new kernel. You have already compiled
the kernel and modules. How do you install the modules?
A. make modules_install
B. make install
C. make modules
D. make install_modules
E. make bzImage
You answered this question incorrectly
Explanation: The first thing you should do in the /usr/src/linux-2.4
directory is
make mrproper
Then, you should do the following:
make config | make menuconfig | make xconfig
make dep
make clean
make bzImage
make modules (if modular kernel)
make modules_install (if modular kernel)
cp System.map /boot/System.map-2.4.17
cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.17
cp .config /boot/config-2.4.17
mkinitrd /boot/initrd- # Depending on kernel configuration
Update LILO or GRUB
Reboot into new kernel
8. You are configuring a Linux DHCP server. You have it setup
and working (as Linux clients are getting ip addresses from the DHCP
server fine) but some Windows 95 clients are not getting ip addresses
properly from your DHCP server. What do you need to do?
A. route add -host 255.255.255.255 dev
eth0
B. route add -net 255.255.255.255 dev eth0
C. service dhcp restart
D. touch /var/state/leases
E. Windows 95 is not compatible with a Linux DHCP server.
You answered this question incorrectly
Explanation: Windows 95 insists that the DHCPOFFER messages be sent
to 255.255.255.255. Linux will send them to the broadcast address instead.
Adding a host entry for the host 255.255.255.255 will trick Linux into
working with the Windows 95 clients.
9. How can you create a file of all your ISA plug and play
device settings?
A. pnpdump > isapnp.conf
B. pnpdump -isa > isapnp.conf
C. isadump > isapnp.conf
D. cat /proc/isa
E. isaadmin --dump >isapnp.conf
You answered this question incorrectly
Explanation: Only A is right
10. How can I see what directories are being shared via NFS
on a remote host called fileserver?
A. ping fileserver
B. mount -a -t NFS fileserver
C. showmount -e fileserver
D. nfstalk --query fileserver
E. None of the above
You answered this question incorrectly
Explanation: Only C is right!
11. What port does the Squid proxy server use by default?
A. 80
B. 1080
C. 3028
D. 3128
E. 8080
You answered this question incorrectly
Explanation: D is right!
12. You have just added a new NFS share to the appropriate
file. What must you do to activate the share?
A. reboot
B. exportfs -a
C. ndc restart
D. server nfs start
E. mount -A
You answered this question incorrectly
Explanation: To share a directory via NFS you must edit the /etc/exports
file and then run exportfs -a.
13. You have created a /home/projectx directory with the owner
of projectx and a group of projectx. How can you set its permissions
so that all files created in this directory are owned by the projectx
group?
A. chown projectx.projextx /home/projectx
B. chgrp projectx /home/projectx
C. chmod 755 /home/projectx
D. chmod g-s /home/projectx
E. chmod g+s /home/projectx
You answered this question incorrectly
Explanation: The
14. How do you install an RPM?
A. rpm -evh packagename.rpm
B. rpm -ivh packagename.rpm
C. rpm -q packagename.rpm
D. rpm -qa *.rpm
E. rpm -ql *.rpm
You answered this question incorrectly
Explanation: A is wrong because the -e option is for uninstalling. B
is right. C D and E are wrong because the -q option is for querrying.
15. What is the correct syntax to mount an MS DOS formatted
floppy disk (do not assume that there is an entry in /etc/fstab)?
A. mount /dev/floppy /mnt/fd0
B. mount -t iso9660 /dev/fd0 /mnt/floppy
C. mount -t vfat /dev/fd0 /mnt/floppy
D. mount -t msdos /dev/floppy /mnt/floppy
E. mdir
You answered this question incorrectly
Explanation: A will only work if there is an entry in /etc/fstab. B
is wrong because iso9660 is for CDROM's. C is correct. D is wrong becuase
the device should be /dev/fd0 rather than /dev/floppy.