NOS 120 Study Guide Ch. 13
Which of the following files contain the path and filename where DNS servers should be configured? Select one: a. /etc/hosts b. /etc/resolv.conf c. /etc/named.conf d. /etc/nsswitch.conf
/etc/resolv.conf
Where is the default document root directory for the Apache Web server? Select one: a. /usr/share/local/html b. /var/html c. /var/www/html d. /usr/local/html
/var/www/html
What kind of servers resolve fully qualified domain names to IP addresses for a certain namespace on the Internet? Select one: a. NTP b. DHCP c. DNS d. NIS
DNS
Which of the following statements should be used at the end of a SQL statement where an aggregate function such as SUM or COUNT is used? Select one: a. JOIN b. GROUP BY c. HAVING d. ORDER BY
GROUP BY
Which of the following types of DNS records need to be configured to facilitate email delivery? Select one: a. PTR b. CNAME c. IMAP d. MX
MX
Which of the following SQL statements can be used to delete a table from a database? Select one: a. DROP FROM database TABLE table_name; b. ALTER DATABASE database DROP TABLE table_name; c. DROP TABLE table_name; d. DELETE TABLE table_name;
DROP TABLE table_name;
Which type of CM software can connect to inventory members via SSH to perform configuration management activities? Select one: a. Agent-based b. Kickstart c. BLOB d. agentless
agentless
What FTP command runs a shell on the local computer? Select one: a. ! b. * c. ~ d. #
!
What DNS resource record type is used to provide the IP address for the e-mail server for a zone? Select one: a. NS b. MX c. CNAME d. SOA
MX
Which of the following commands can be used to display any email messages awaiting delivery alongside the reason that they were not delivered? Select one: a. mail -q b. mail --queue c. mailq d. mailqueue
mailq
What PostgreSQL command-line utility backs up PostgreSQL database settings? Select one: a. pg_backup b. pg_dumpall c. pg_dump d. pg_restore
pg_dump
Which of the following is used on modern Linux distributions that reads YAML configuration files to add apps, modify existing configuration settings, or perform administrative tasks at boot time? Select one: a. OVF b. cloud-init c. Kickstart d. Docker Hub
cloud-init
After modifying the /etc/aliases file, what command must be run in order to rebuild the aliases database? Select one: a. newaliases b. sendmail c. mail d. alias
newaliases
When working with Sendmail, what command can be used to test SMTP support? Select one: a. HELO b. EHLO c. smtp d. telnet
HELO
Which command can be used at a BASH command prompt to obtain a Web page? Select one: a. ab b. webpage c. curl d. apachect1
curl
What zone configuration file contains a PTR record used to identify the loopback adapter? Select one: a. /var/named/named.local b. /etc/named.loop c. /etc/named.conf d. /var/named/named.ca
/var/named/named.local
Which of the following types of joins will return a record from two intersecting tables only if there is a match on the joining field from both tables? Select one: a. RIGHT JOIN b. INNER JOIN c. LEFT JOIN d. FULL OUTER JOIN
INNER JOIN
Which of the following types of CM software only requires that you specify the attributes that the inventory members must have within a configuration file, not the individual procedures that must be executed on them? Select one: a. imperative configuration b. agent-based c. agentless d. declarative configuration
declarative configuration
What command can be used to view and modify the date and time within the BIOS? Select one: a. clock b. date c. clkmod d. hwclock
hwclock
What ftp command uploads the filename from the current directory on the local computer to the current directory on the remote computer and allows the use of wildcard metacharacters to specify the filename? Select one: a. upload filename b. put filename c. get filename d. mput filename
mput filename
Which of the following is a valid SQL statement for adding a new row of data to a SQL database table? Select one: a. UPDATE users SET firstname = 'George', lastname = 'Washington'; b. INSERT ('George', 'Washington') INTO users (firstname, lastname); c. ALTER TABLE users SET firstname = 'George', lastname = 'Washington'; d. INSERT INTO users (firstname, lastname) values ('George', 'Washington');
INSERT INTO users (firstname, lastname) values ('George', 'Washington');