Chapter 13 Review & Lab Questions
Which file stores the Apache configuration in Fedora 20?
/etc/httpd/conf/httpd.conf
Which file do you edit to determine which hosts can access NIS databases?
/etc/ypserv.conf
What directory are you placed in when you log in as the anonymous user to an Ubuntu Server 14.04 FTP server?
/srv/ftp
Which DNS resource record is an alias to other records?
CNAME
What must you do in order to become a DNS server? (Choose all that apply.)
Create zone files. Create NIS maps. Run the name daemon (named).
Which SQL statement key word can be used to delete a record within a table?
DELETE
Which of the following must you perform to share a directory using NFS? (Choose all that apply.)
Edit the /etc/exports file. Run the exportfs -a command. Start or restart the NFS daemons.
By default, a Telnet server is installed and ready to use in Fedora 13 Linux. True or False?
False
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
Stratum 1 NTP servers do not obtain time information from other NTP servers. True or False?
False
Telnet is a good choice when you need a secure remote terminal session. True or False?
False
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?
Run the newaliases command.
Which of the following can be used to create a database within PostgreSQL? (Choose all that apply.)
The CREATE DATABASE statement within the PostgreSQL utility. The createdb 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
The lines within the Apache configuration file that modify the functionality of the Apache are called directives. True or False?
True
Which command specifies the NIS domain name as MyDomain?
domainname MyDomain
Which command within the command-line FTP utility can be used to change the current directory on the local computer?
lcd
Which command can you use to synchronize ntpd with an NTP time source?
ntpq
Which command can be used to connect to a remote Windows share called data on the server called fileserver?
smbclient //fileserver/data
You have just installed the telnet-server package and tested it by logging in from the local computer. Are there any additional steps to take before you can log in remotely?
Enable the telnet service on the firewall.
You can change firewall settings with an ordinary user's privileges. 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.)
HELO EHLO
Which of the following is true about the Telnet server in Fedora 13 Linux?
Outside connections are blocked by the firewall.
Which of the following is the default active zone?
Public
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?
Restart the DHCP daemon
What's the purpose of the NIS service?
Synchronizes files, such as passwd and hosts
Which command lists all the services supported by the firewall-cmd command.
firewall-cmd --get-services
What command do you use to block all traffic in the default zone?
firewall-cmd --panic-on
What command do you use to find out if the dns service is enabled for the default zone?
firewall-cmd --query-service=dns
Which file determines the network that NIS clients can connect from?
securenets
Which command causes the ypserv service to start when the system starts?
systemctl enable ypserv.service
Which command can be used to connect to check the /etc/samba/smb.conf file for syntax errors?
testparm
Which command installs the Telnet server package with the yum package manager?
yum install telnet-server