Domain 8: Essential System Services

Which of the following lines in the /etc/cups/cupsd.conf file will configure CUPS to listen for print jobs sent only from the local system?
Listen localhost:631
Which lpr option should you use to change the page width of the print job?
Which of the following logs is also known as the kernel ring buffer?
Which tail option should you use to continually update the /var/log/messages lot at the shell?
tail -f /var/log/messages
Recently, you updated the /etc/aliases file with several email aliases. Which command should you use to update /etc/aliases.db file?
You want to customize logging on your system. Which file would you configure to customize the logging?
Your Linux system uses the Line Printer Daemon (LPD) to manage print jobs. Which file should you use to edit the LDP configuration?
You are managing system time on your linux computer, and you need to change the settings to point to a local NTP server IP address. Which file should you edit?
What does the lprm command do?
Removes jobs from the line printer queue.
You are logged in as gshant, and you want to forward your mail to the dwant user on the local network. Which file should you edit to redirect the mail for a gshant user?
Which of the following directories contains email for each user account on the system?
You want to increase the security of the local Linux log files and send all of them to a remote server. The server IP address of . Which of the following lines should tou add to the /etc/syslog.conf file on the local system.
*.* @
You want to review all failed login attempts on the system in the /var/log/btmp binary file. Which of the following commands should you use?
You have installed and configured a new printer manually. You cannot print to the new printer. What should you do? (select three)
Use the command /etc/rc.d/init.d/lpd restart to restart the lpd print service.
Use the command service cups restart to restart the cups print service.
use the command /etc/rc.d/init.d/cups restart to restart the cups print service.
What must a cracker do to hide or cover up their intrusion into you system?
Edit the log files /var/log/messages and /var/log/secure.
Which file should you edit to configure a server to receive log file messages from a remote client?
You want to configure your CUPS from a Web browser. What URL address and port should you enter within the web browser’s address field?
What information about print jobs does the utility lpq display?
The username of the person who submitted the job.
A numerical job ID that can by used to manipulate the job from other utilities.
Which command should you use to print 23 copies of the comparables file on the homeprint printer?
lpr -P homeprint -#23 comparables
You have a large TCP/IP network and want to keep hosts’ real time clocks synchronized. What protocol should you use?
Which of the following represent a cluster of NTP time provides?
You want to implement remote logfile storage. This means you want one or more of your Linux systems to send all system messages to a remote server. Which description is the most correct?
Edit the local /etc/syslog.conf file to point to a remote host for logging and set the -r flag when starting the logging daemon syslogd on the remote system.
You have found that the error logs are taking up considerable disk space and want to delete older entries within them. Which utility would you use?
Which directory holds most of the system log files?
You suspect your system has been compromised by a user through a remote login. Which file is most likely to have information related to and intrusion?
You have several messages in the sendmail queue. Which command should you use to deliver the messages?
sendmail -q
Which of the following commands will set the system time to match the time server on the network ate
Which file should you use to configure the hardware clock to use UTC automatically?
Which of the following commands manage the NTP daemon from the command line?
You open the /etc/syslog.conf file and see the following entry:
cron.* /var/log/cron
Which of the following statements best describe the meaning of the entry? (select 2)
All flagged messages are sent to the /var/log/cron log.
Syslog flags all messages fromt he cron scheduler.
Which command should you use to create the CUPS root user and password?
Which command should you use to start the sendmail daemon?
sendmail -bd
You want to change what information gets recorded in the system logs. Which file would you edit to specify what you want to log?
What file configures the logrotate utility?
Which command will display the contents of a sendmail mail queue? (select 2)
sendmail -bp
Which of the following commands will remove all files from the print queue?
lpc clean
Which file contains mail for the gshant user account?
You want to configure the NTP daemon to receive time from . What entry should you place in the /etc/ntp.conf file?
A linux system can determine the time and date in which of the following way? (select 2)
It can use NTP to set time.
It can set the system clock tot he local time.
User badams sends two print jobs to the Marketing printer (the default printer). He notices the printer is stalled on the first document, and uses the lprm – command. What will be the result?
Both of his jobs will be deleted
Which o the following commands should you use to implement changes in the /etc/ntp.conf file?
service ntpd start
You need to install an e-mail server. Which of the following applications are valid Linux e-mail applications? (select 2)
You want to send the yearend.txt file to the acctg printer. Which command would you use?
lpr -P acctg yearend.txt
Which of the following files stores the aliasing information for sendmail?
Which command will show the contents of all the print queues on your Linux system?
lpq -a
Which of the following commands removes print job 11 from the hp7 printer?
cancel -P hp7 11
By default, which protocol is used by an MTA to send messages to other MTAs?
Which hwclock option sets the system time to the current hardware clock time?
You are using the cupsctl command to configure the /etc/cups/cupsd.conf file. Which cupsctl option will enable the sharing of the locally-connected printer to other computers on the network?
You have just installed a new software package, but it doesn’t seem to be working as it should. You check the documentation and find there is no special location for the application messages to be sent. Where should you start looking to see if you can find logged messages for the application?
Which command will display the contents of a sendmail mail queue?
your system time is over thirty minutes different than the time on the NTP time provider. When you use the ntpd command, the time is not updated. Which ntpd option should you include?
Which of the following NTP configuration utilities is deprecated and should be avoided when possible?
You want to set the system time with the date command to UTC time. Which date option should you use?
Which of the following are common protocols used by MTAs to send messages to MUAs? (select 2)
Which of the following MTAs use the QMQP and QMTP protocols?
You are configuring the /etc/cups/cupsd.conf file. Which command should you use to prevent remote printers from being desplayed on the local system?
cupsctl –no-remote-printers
one of the steps a cracker does to hide their intrusion is to edit the various log files in /var/log . As a system administrator what can you do to prevent this?
Apply encryption to the log files.
Which of the following MTAs are modular? (select two)
You want to configure your CUPS from a Web browser. Which command is correct?
You need to set the hardware clock to the same value as the system clock. Which command should you use?
hwclock -w
You are performing routine troubleshooting on a system and want to change the message severity. Which utility would you use?

Get access to
knowledge base

MOney Back
No Hidden
Knowledge base
Become a Member