Essential System Services Flashcards
Which file, when using Sendmail or a compatible MTA system, will allow a user to redirect all of their mail to another address and is configurable by the user themselves? A. /etc/alias B. /etc/mail/forwarders C. ~/.alias D. ~/.forward
~/.forward
Which of the following commands pauses the CUPS printer LaserPrinter? A. cupsreject LaserPrinter B. cupsreject -d LaserPrinter C. cupsdisable -d LaserPrinter D. cupsdisable LaserPrinter
cupsdisable LaserPrinter
Which of the following are commonly used Mail Transfer Agent (MTA) applications? (Choose THREE correct answers.) A. Postfix B. Procmail C. Sendmail D. Exim E. SMTPd
Postfix
Sendmail
Exim
Which of the following commands lists all queued print jobs? A. lpd B. lpr C. lp D. lpq
lpq
What is NTP?
A. A more secure protocol replacement for FTP.
B. A protocol for synchronizing time on computers.
C. A routing aid for finding next hops on a network.
D. A simple tunnelling protocol for computers behind firewalls.
A protocol for synchronizing time on computers.
What is true regarding the time in a Linux system?
A. The BIOS clock of a computer always indicates the current local time and time zone.
B. Each application must convert the Unix time to the current time zone which is usually done by using standard libraries.
C. When the system is on the network, each query for the current time leads to a new network connection to a time server.
D. When the system time changes, running processes must be restarted in order to get the correct time.
Each application must convert the Unix time to the current time zone which is usually done by using standard libraries.
Which of the following is true regarding the mail queue of a mail server? (Choose TWO correct answers.)
A. The messages in the queue must be readable by all users as the queue may contain messages for several users.
B. According to the Filesystem Hierarchy Standard (FHS) the queue is located at /var/mail/spool.
C. There is exactly one mail queue per user which holds all new messages for that user before they are moved to other folders by the user’s mail client.
D. The queue holds all messages that are processed by the mail server but have not yet been completely delivered.
E. The content of the mail queue can be queried by the command mailq.
D. The queue holds all messages that are processed by the mail server but have not yet been completely delivered.
E. The content of the mail queue can be queried by the command mailq.
Why should an NTP client maintain connections to several NTP servers?
A. To receive NTP information every second as each server transmits NTP pings every five seconds only.
B. To improve the precision of the time by comparing responses from several servers.
C. To not overload the remote server in case the local NTP time cache is not enabled.
D. To not lose contact with all NTP servers in case the client changes networks.
To improve the precision of the time by comparing responses from several servers.
With syslog, what is a facility?
A. Facilities are different connection interfaces to syslog. Each facility has its own device in /dev/syslog/.
B. From syslog’s point of view, each Unix process that issues messages is a facility.
C. Facilities describe the severity of a log message such as emerg or info.
D. When using remote logging, the hostname of the server that generated a message is called facility.
E. Facilities describe categories or groups of messages such as mail or auth.
Facilities describe categories or groups of messages such as mail or auth.
Which of the following files holds the configuration for journald when running systemd? A. /etc/systemd/journalctl.conf B. /etc/systemd/journald.conf C. /etc/systemd/systemd-journald.conf D. /etc/systemd/systemd-journalctl.conf E. /usr/lib/systemd/journalctl.conf
B. /etc/systemd/journald.conf
Which of the following are commonly used Mail Transfer Agent (MTA) applications? (Choose THREE correct answers.) A. Postfix B. Procmail C. Sendmail D. Exim E. SMTPd
Postfix
Sendmail
Exim
Which of the following is observed and corrected by a NTP client?
A. The skew in time between the system clock and the hardware clock.
B. The skew in time between the system clock and the reference clock.
C. Changes in the time zone of the current computer’s location.
D. Adjustments needed to support Daylight Saving Time.
The skew in time between the system clock and the reference clock.
Which command is used to sync the hardware clock to the system clock? (Specify ONLY the command without any path or parameters.)
hwclock, /sbin/hwclock, /usr/sbin/hwclock
Which command, available with all MTAs, is used to list the contents of the MTA’s mail queue? (Specify ONLY the command without any path or parameters.)
mailq, /usr/bin/mailq, sendmail -bp, /usr/sbin/sendmail -bp, /usr/lib/sendmail -bp,
sendmail, /usr/sbin/sendmail, /usr/lib/sendmail
Please specify the top directory containing the configuration files for the CUPS printing system. (Specify the full path to the directory.)
/etc/cups, /etc/cups/