Linux Ch. 13, Ch. 13 Systems Admin Linux,
16.) What directory are you placed in when you log in as the anonymous user to an Ubuntu Server 14.03 FTP server?
A. /srv/ftp
Run the newaliases command
You modified the/etc/aliases file to include a new e-mail alias. However, when you send email to the alias, it cannot be delivered. What should you do?
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
c. smbclient //fileserver/data
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.
c.) Restart the DHCP daemon.
Which command can be used to synchronize your computer with an NTP time source? a.) ntp b.) ntpquery c.) ntpq d.) hwclock
c.) 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
c.) smbclient //fileserver/data
*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 SQL statement key word can be used to delete a record within a table? a. DELETE b. DROP c. REMOVE d. CLEAR
A
3.) Which DNS resource record is an alias to other records?
C. CNAME
19.) Which command can you use to synchronize ntpd with an NTP time source?
D. hwclock
13.) Which of the following can be used to create a database within PostgreSQL? (Choose all that apply)
D. the created command A. CREATE DATABASE statement within PostgreSQL utility
*Which SQL statement key word can be used to delete a record within a table? a.) DELETE b.) DROP c.) REMOVE d.) CLEAR
DELETE
True
DHCP clients send a DHCPREQUEST packet when they require a new IP configuration.
*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
True
Postfix is an email server daemon and that is easier to configure compared with the sendmail email 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.
b.) Run the newaliases command.
Which file stores the Apache configuration in Fedora 28? a. /etc/apache2/httpd.conf b. /etc/apache2.conf c. /etc/httpd.conf d. /etc/httpd/conf/httpd.conf
d. /etc/httpd/conf/httpd.conf
*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 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
A
Which command can you use to synchronize ntpd with an NTP time source? a. ntp b. ntpquery c. ntpq d. hwclock
D
2.) Which file stores the Apache configuration in Fedora 20?
D. /etc/httpd/conf/httpd.conf
*Stratum 1 NTP servers do not obtain time information from other NTP servers. True or False?
FALSE
CNAME
Which DNS resource record is an alias to other records?
HELO and EHLO
You have opened a telnet session on port 25 with your email server. What command can you type within your telnet session to start email session?
What must you do to transform your computer into 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).
a. Create zone files. c. Create NIS maps. d. Run the name daemon (named).
You have modified the /etc/aliases file to include a new e-mail alias. However, when you send e-mail 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 Postfix daemon. d. Log out of the system and then log back into the system and resend the email.
b. Run the newaliases command.
Which DNS resource record is an alias to other records? a. A b. AAAA c. CNAME d. NS
c. CNAME
Which DNS resource record is an alias to other records? a.) A b.) AAAA c.) CNAME d.) NS
c.) CNAME
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 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.
A,D
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?
B. run the newaliases command
You have opened a telnet session on port 25 with your e-mail server. What command can you type within your telnet session to start an e-mail session? (Choose all that apply.) a. START b. HELO c. EHLO d. WAZUP
B.C
Restart the xineted daemon
Mary as 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?
False
NFS can be used to share files natively with computers running the Microsoft Windows operating system.
False
NIS clients use NIS records to access the configuration information.
*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.
15.) What must you do to transform your computer into a DNS server? (Choose all that apply.)
A. Create zone files D. run the name daemon (named)
18.) Which SQL statement key word can be used to delete a record within a table?
A. DELETE
7.) Which command within the command line FTP utility can be used to change the current directory on the local computer.
C. lcd
5.) Which command can be used to connect to check the /etc/samba/smb.conf file for syntax errors?
C. testparm
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
b. HELO c. EHLO
1.) NFS can be used to share files natively with computers running Windows operating systems.
FALSE
NIS clients use NIS records to access their configuration information. (True or False?)
False
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.
a. Edit the /etc/exports file. c. Run the exportfs -a command. d. Start or restart the NFS daemons.
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).
a.) Create zone files. d.) Run the name daemon (named).
*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
FALSE
Stratum 1 NTP servers do not obtain time information from others NTP servers.
17.) Chronyd is an NTP daemon that offers a faster response time compared to the ntpd daemon.
TRUE
DELETE
Which SQL statement keyword can be used to delete a record within a table?
*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
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?
C. EHLO A.HELO
Stratum 1 NTP servers do not obtain time information from other NTP servers. True or False?
FALSE
True
The lines within the Apache configuration file that modify the functionality of the Apache are called directives.
DHCP clients send a DHCPREQUEST packet when they require a new IP configuration. (True or False?)
True
smbclient//fileserver/data
Which command can be used to connect to a remote Windows share called data on the server called fileserver?
20.) 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?
C. restart the dhcp daemon
11.) Which command can be used to connect to a remote Windows share called data on the server called fileserver
C. smbclient //fileserver/data
14.) Stratum 1 NTP servers do not obtain time information from other NTP servers. True or False?
FALSE
4.) NIS clients use NIS records to access their configuration information.
FALSE
/var/ftp
What directory are you placed in when you login as the anonymous user to Fedora 13 FTP server?
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
c.) testparm
*Which DNS resource record is an alias to other records? a.) A b.) AAAA c.) CNAME d.) NS
CNAME
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.
D
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
NFS can be used to share files natively with computers running the Microsoft Windows operating system. (True or False?)
False
Stratum 1 NTP servers do not obtain time information from other NTP servers. (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.
10.) DHCP clients send a DHCPREQUEST packet when they require a new IP configuration. True or False?
TRUE
12.) The lines within the Apache configuration file that modify the functionality of the Apache are called directives. True or False?
TRUE
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
*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
Postfix is an email server daemon that is easier to configure compared to the Sendmail email daemon. (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
Create zone files and run the name daemon (named)
What must you do to transform your computer into a DNS server?
testparm
Which command can be used to connect to check the /etc/samba/smb.conf file for syntax errors?
hwclock
Which command can you used to synchronize your computer with an NTP time source?
lcd
Which command within the command line FTP utility can be used to change the current directory on the local computer?
/ect/httpd/conf/httpd.conf
Which file stores the Apache configuration in Fedora 13?
The CREATE DATABASE statement within the PostgreSQL utility or the createdb command
Which of the following can be used to create a database with PostgreSQL?
Edit the /ect/exports, run the exportfs -a command, start the NFS daemon
Which the following must you perform to Sherry directory using in FSN?
What directory are you placed in when you log in as the anonymous user to an Ubuntu Server 18 FTP server? a. /srv/ftp b. /var/www/ftp c. /home/anonymous d. /var/ftp/pub
a. /srv/ftp
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.
a. Edit the /etc/exports file. c. Run the exportfs -a command. d. Start or restart the NFS daemons.
Which command can be used to list containers that are currently running on the operating system only? a. docker ps b. docker ps -a c. docker run d. docker exec
a. docker ps
What directory are you placed in when you log in as the anonymous user to a Fedora 13 FTP server? a.) /var/ftp b.) /var/www/ftp c.) /home/anonymous d.) /var/ftp/pub
a.) /var/ftp
Which SQL statement key word can be used to delete a record within a table? a.) DELETE b.) DROP c.) REMOVE d.) CLEAR
a.) DELETE
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.
a.) Edit the /etc/exports file. c.) Run the exportfs -a command. d.) 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.
a.) The CREATE DATABASE statement within the PostgreSQL utility.
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
c.) lcd
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
d.) /etc/httpd/conf/httpd.conf
*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 check the /etc/samba/smb.conf file for syntax errors? a.) apachectl b.) sambactl c.) testparm d.) psql
testparm