1. Which of the following commands will print two copies of the /home/tux/ employees.txt file to a CUPS printer named MIN2300W?
A. lp –d MIN2300W –n 2 /home/tux/employees.txt
B. lp –p MIN2300W –c 2 /home/tux/employees.txt
C. lp /home/tux/employees.txt
D. lp –d MIN2300W /home/tux/employees.txt
2. Which of the following commands sets the default printer on a Linux system to a printer named MIN2300W? A. lpoptions MIN2300W B. lpstat –d MIN2300W C. lp default = MIN2300W D. lpoptions –d MIN2300W 3. Which CUPS component handles IPP printing requests from CUPS clients? A. CUPS Scheduler B. PDLs C. CUPS Backends D. PPDs 4. Your Linux system has an IP address of 192.168.1.20. What URL should you use in a browser to access the CUPS web-based administration utility? A. http://192.168.1.20 B. https://192.168.1.20 C. http://192.168.1.20:631 D. http://192.168.1.20/cups
5. Which directive in the /etc/cups/cupsd.conf file specifies whether or not cupsd will announce its printers using broadcasts on the network?
A. BrowseAddress
B. BrowseAllow
C. Broadcast
D. Browsing
6. Which command can be used to set the hardware clock on a Linux system to the system time?
A. hwclock –w
C. hwclock –set
D. hwclock –r
7. You want to use the netdate command to synchronize your local system time with a time server whose DNS name is time.mydom.com. Which command will do this?
A. netdate time.mydom.com
B. netdate –utc time.mydom.com
C. netdate –u time.mydom.com
D. netdate --sync time.mydom.com
8. Which IP port does the NTP daemon use to synchronize time?
A. 636
B. 80
C. 443
D. 123
E. 25
9. Which NTP concept refers to gradual time adjustments that occur when the time difference between the provider and the consumer is less than 128 milliseconds? A. Stratum B. Stepping C. Slewing D. Drift
10. Which NTP concept refers to situations where the time on the consumer and
the time on the provider are more than 17 minutes apart?
A. Insane time
B. Slewing
C. Drift
D. Jitter
11. Which component is used in the e-mail process to create or read an e-mail
message?
A. MTA
B. MDA
C. MUA
12. Which postfix daemon accepts an e-mail message that is sent to the Postfix
MTA by a user using the shell prompt on the local system?
A. postdrop
B. pickup
C. cleanup
D. qmgr
13. Which qmail protocol allows the sharing of e-mail queues between
multiple MTAs? A. QMTP B. QSNMP C. QPOP D. QMQP E. QMTA
14. Where are your users’ mail queues stored on a Linux system running postfix? A. /var/queues/mail
B. /opt/postfix/mail/queues
C. /var/mail/queues
D. /var/spool/mail
15. You need to send a message to the ksanders user on your Linux system. Given
that your user account and the ksanders account both reside on the same system, what command can you use to do this?
A. mail ksanders
B. send ksanders
C. mailq ksanders
D. newmail ksanders
16. Which file is used to configure e-mail aliases? A. /etc/mail/aliases B. /var/spool/mail/aliases C. /etc/aliases D. /etc/postfix/aliases 17. Which SQL command can be used to retrieve information from a database table? A. QUERY B. SELECT C. FIND D. UPDATE
18. Which command can be used to view all of the databases defined on a MySQL server? A. mysqlshow B. mysqladmin C. mysql_install_db D. mysqldatabase
19. You want to query a MySQL database table named clients and find all records
whose last name (contained in the last column) is Jones. Which SQL command will do this? A. SELECT * FROM clients WHERE last='Jones'; B. SELECT * FROM clients last='Jones'; C. QUERY * FROM clients WHERE last='Jones'; D. SELECT last='Jones' FROM clients; 20. You want to delete all records from a MySQL database table named clients whose status is Inactive (contained in the status column). Which SQL command will do this?
A. DELETE * FROM clients;
B. DELETE FROM clients status='Inactive';
C. DELETE * status='Inactive' FROM clients;
D. DELETE FROM clients WHERE status='Inactive';
Answers
1. A. The lp –d MIN2300W –n 2 /home/tux/employees.txt command will print
two copies of the /home/tux/employees.txt file to a CUPS printer named MIN2300W.
2. D. The lpoptions –d MIN2300W command will set the default printer on a
Linux system to a printer named MIN2300W.
3. A. The CUPS Scheduler handles IPP printing requests from CUPS clients. 4. C. The http://192.168.1.20:631 URL can be used to access the CUPS
administration utility on a Linux system with an IP address of 192.168.1.20.
5. D. The Browsing directive in the /etc/cups/cupsd.conf file specifies whether
cupsd will announce its printers using broadcasts on the network.
6. A. The hwclock –w command can be used to set the hardware clock on a
Linux system to the system time.
7. A. The netdate time.mydom.com command can be used to synchronize your
local system time with a time server whose DNS name is time.mydom.com.
9. C. The NTP concept of slewing refers to gradual time adjustments that occur
when the time difference between the provider and the consumer is less than 128 milliseconds.
10. A. The NTP concept of insane time refers to situations where the time on the
consumer and the time on the provider are more than 17 minutes apart.
11. C. The Message User Agent refers to the e-mail client software used in the
e-mail process to create or read an e-mail message.
12. A. The postdrop daemon accepts an e-mail message that is sent to the Postfix
MTA by a user using the shell prompt on the local system.
13. D. The QMQP qmail protocol allows the sharing of e-mail queues between
multiple MTAs.
14. D. Your users’ mail queues on a Linux system running postfix are stored
in /var/spool/mail.
15. A. The mail ksanders command can be used to send a message to the
ksanders user on your Linux system.
16. C. The /etc/aliases file is used to configure e-mail aliases.
17. B. The SELECT command can be used to retrieve information from an SQL
database table.
18. A. The mysqlshow command can be used to view all of the databases defined
on a MySQL server.
19. A. The SELECT * FROM clients WHERE last='Jones'; SQL command can
be used to query a MySQL database table named clients and find all records whose last name (contained in the last column) is Jones.
20. D. The DELETE FROM clients WHERE status=’Inactive’; SQL command
can be used to delete all records from a MySQL database table named clients whose status is Inactive (contained in the status column).