Exercise 1

Question 1 :

What type of local file server can you use to provide the distribution installation materials to the new machine during a network installation?

A). Inetd
Answer : Option E

Explanation :

You can use an NFS server to provide the distribution installation materials to the machine on which you are performing the installation. Answers a, b, c, and d are all valid items but none of them are file servers. Inetd is the superdaemon which controls all intermittently used network services. The FSSTND is the Linux File System Standard. DNS provides domain name resolution, and NNTP is the transfer protocol for usenet news.

Question 2 :

If you type the command cat dog & > cat what would you see on your display? Choose one:

A). Any error messages only.
B). The contents of the file dog.
C). The contents of the file dog and any error messages.
D). Nothing as all output is saved to the file cat.
Answer : Option D

Explanation :

When you use & > for redirection, it redirects both the standard output and standard error. The output would be saved to the file cat.

Question 3 :

You are covering for another system administrator and one of the users asks you to restore a file for him. You locate the correct tarfile by checking the backup log but do not know how the directory structure was stored. What command can you use to determine this? Choose one:

A). tar fx tarfile dirname
B). tar tvf tarfile filename
C). tar ctf tarfile
D). tar tvf tarfile
Answer : Option D

Explanation :

The t switch will list the files contained in the tarfile. Using the v modifier will display the stored directory structure.

Question 4 :

You have the /var directory on its own partition. You have run out of space. What should you do? Choose one:

A). Reconfigure your system to not write to the log files.
B). Use fips to enlarge the partition.
C). Delete all the log files.
D). Delete the partition and recreate it with a larger size.
Answer : Option D

Explanation :

The only way to enlarge a partition is to delete it and recreate it. You will then have to restore the necessary files from backup.

Question 5 :

You have a new application on a CD-ROM that you wish to install. What should your first step be? Choose one:

A). Read the installation instructions on the CD-ROM.
B). Use the mount command to mount your CD-ROM as read-write.
C). Use the umount command to access your CD-ROM.
D). Use the mount command to mount your CD-ROM as read-only.
Answer : Option D

Explanation :

Before you can read any of the files contained on the CD-ROM, you must first mount the CD-ROM.