Guide to Linux+ - Collier Youth Services

assistantashamedData Management

Nov 29, 2012 (4 years and 4 months ago)

587 views

Chapter 13 Solutions


Review Questions

1.

NFS can be used to share files natively with computers running the Microsoft Windows operating
system. True or False?

2.

Which file stores the Apache configuration in Fedora 13?

a.

/etc/apache/httpd.conf

b.

/etc/apache.conf

c.

/
etc/httpd.conf

d.

/etc/httpd/conf/httpd.conf

3.

Which DNS resource record is an alias to other records?

a.

A

b.

AAAA

c.

CNAME

d.

NS

4.

NIS clients use NIS records to access their configuration information. True or False?

5.

Which command can be used to connect to check the /etc/
samba/smb.conf file for syntax errors?

a.

apachectl

b.

sambactl

c.

testparm

d.

psql

6.

You have modified the /etc/aliases file to include a new email alias. However, when you send
email to the alias, it can not be delivered. What should you do?

a.

Add the line to the /et
c/aliases.db file instead.

b.

Run the
newaliases

command.

c.

Restart the Sendmail daemon.

d.

Log out of the system and then log back into the system and resend the email.

7.

Which command within the command
-
line FTP utility can be used to change the current directory
on the local computer?

a.

cd

b.

dir

c.

lcd

d.

get

8.

You have opened a telnet session on port 25 with your email server. What command can you type
within your telnet session to start an email session? (Choose all that apply.)

a.

START

b.

HELO

c.

EHLO

d.

WAZUP

9.

Which of the following

must you perform to share a directory using NFS? (Choose all that apply.)

a.

Edit the /etc/exports file.

b.

Mount the directory to the /etc/exports directory using the
mount

command.

c.

Run the
exportfs

a

command.

d.

Start or restart the NFS daemons.

10.

DHCP clients se
nd a DHCPREQUEST packet when they require a new IP configuration. True or
False?

11.

Which command can be used to connect to a remote Windows share called data on the server
called fileserver?

a.

smbclient

L fileserver:data

b.

smbclient

L //fileserver/data

c.

smbcli
ent //fileserver/data

d.

smbclient
\
\
fileserver
\
data

12.

The lines within the Apache configuration file that modify the functionality of the Apache are
called directives. True or False?

13.

Which of the following can be used to create a database within PostgreSQL? (
Choose all that
apply.)

a.

The CREATE DATABASE statement within the PostgreSQL utility.

b.

The ADD DATABASE statement within the PostgreSQL utility.

c.

The adddb command.

d.

The createdb command.

14.

Stratum 1 NTP servers do not obtain time information from other NTP serv
ers. True or False?

15.

What must you do in order to become a DNS server? (Choose all that apply.)

a.

Create zone files.

b.

Create resource records for DNS lookups.

c.

Create NIS maps.

d.

Run the name daemon (named).

16.

What directory are you placed in when you log in as th
e anonymous user to a Fedora 13 FTP
server?

a.

/var/ftp

b.

/var/www/ftp

c.

/home/anonymous

d.

/var/ftp/pub

17.

Postfix is an email server daemon that is easier to configure compared to the Sendmail email
daemon. True or False?

18.

Which SQL statement key word can be used to
delete a record within a table?

a.

DELETE

b.

DROP

c.

REMOVE

d.

CLEAR

19.

Which command can be used to synchronize your computer with an NTP time source?

a.

ntp

b.

ntpquery

c.

ntpq

d.

hwclock

20.

Mary is a system administrator in your organization. She has recently made changes to the DHC
P
configuration file, but the DHCP daemon does not seem to recognize the new changes. What
should she do?

a.

Log in as the root user and reedit the configuration file.

b.

Run the
dhcpconf

command to edit the configuration file.

c.

Restart the DHCP daemon.

d.

Restart t
he xinetd daemon.