Exercise 1

Question 6 :

What type of server is used to remotely assign IP addresses to machines during the installation process?

D). FT
Answer : Option C

Explanation :

You can use a DHCP server to assign IP addresses to individual machines during the installation process. Answers a, b, d, and e list legitimate Linux servers, but these servers do not provide IP addresses. The SMB, or Samba, tool is used for file and print sharing across multi-OS networks. An NFS server is for file sharing across Linux net-works. FTP is a file storage server that allows people to browse and retrieve information by logging in to it, and HTTP is for the Web.

Question 7 :

Which password package should you install to ensure that the central password file couldn't be stolen easily?

B). tcp_wrappers
C). shadow
D). securepass
E). ssh
Answer : Option C

Explanation :

The shadow password package moves the central password file to a more secure location. Answers a, b, and e all point to valid packages, but none of these places the password file in a more secure location. Answer d points to an invalid package.

Question 8 :

When using useradd to create a new user account, which of the following tasks is not done automatically. Choose one:

A). Assign a UID.
B). Assign a default shell.
C). Create the user's home directory.
D). Define the user's home directory.
Answer : Option D

Explanation :

The useradd command will use the system default for the user's home directory. The home directory is not created, however, unless you use the -m option.

Question 9 :

You want to enter a series of commands from the command-line. What would be the quickest way to do this? Choose One

A). Press enter after entering each command and its arguments
B). Put them in a script and execute the script
C). Separate each command with a semi-colon (;) and press enter after the last command
D). Separate each command with a / and press enter after the last command
Answer : Option C

Explanation :

The semi-colon may be used to tell the shell that you are entering multiple commands that should be executed serially. If these were commands that you would frequently want to run, then a script might be more efficient. However, to run these commands only once, enter the commands directly at the command line.

Question 10 :

You attempt to use shadow passwords but are unsuccessful. What characteristic of the /etc/passwd file may cause this? Choose one:

A). The login command is missing.
B). The username is too long.
C). The password field is blank.
D). The password field is prefaced by an asterisk.
Answer : Option C

Explanation :

The password field must not be blank before converting to shadow passwords.