Linux Ch. 13
*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).
-Create zone files. -Run the name daemon (named). -Create resource records for DNS lookups.
*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.
-Edit the /etc/exports file. -Run the exportfs -a command. -Start or restart the NFS daemons.
*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.
-The CREATE DATABASE statement within the PostgreSQL utility. -The createdb command.
*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
/etc/httpd/conf/httpd.conf
*What directory are you placed in when you log in as the anonymous user to an Ubuntu Server 14.04 FTP server? a.) /srv/ftp b.) /var/www/ftp c.) /home/anonymous d.) /var/ftp/pub
/srv/ftp
*Which DNS resource record is an alias to other records? a.) A b.) AAAA c.) CNAME d.) NS
CNAME
*Which SQL statement key word can be used to delete a record within a table? a.) DELETE b.) DROP c.) REMOVE d.) CLEAR
DELETE
*NFS can be used to share files natively with computers running the Microsoft Windows operating system. True or False?
False
*NIS clients use NIS records to access their configuration information. True or False?
False
*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
HELO EHLO
*Mary is a system administrator in your organization. She has recently made changes to the DHCP 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 the xinetd daemon.
Restart the DHCP daemon.
*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 /etc/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.
Run the newaliases command.
*Chronyd is an NTP daemon that offers a faster response time compared to the ntpd daemon. True or false?
True
*DHCP clients send a DHCPREQUEST packet when they require a new IP configuration. True or False?
True
*Stratum 1 NTP servers do not obtain time information from other NTP servers. True or False?
True
*The lines within the Apache configuration file that modify the functionality of the Apache are called directives. True or False?
True
*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
lcd
*Which command can be used to synchronize your computer with an NTP time source? a.) ntp b.) ntpquery c.) ntpq d.) hwclock
ntpq
*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.) smbclient //fileserver/data d.) smbclient \\fileserver\data
smbclient //fileserver/data
*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
testparm