You are the Solaris print administrator for your company. You have one print server named print01. It has two printers installed, saba and masu. The saba printer is having problems printing, so you prevent it from accepting new print jobs and disable it from printing. Now you want to move all print jobs sitting in the saba print queue to the masu printer. Which command will you need to use to accomplish this?
| ||
You are the Solaris administrator for your company. Instead of using the root account, you log in using a regular user account to check the viability of the crontab feature. When you execute the crontab command, you get the following message: crontab: you are not authorized to use cron. Sorry. Which of the following could this message indicate? (Choose all that apply.)
| ||
You are the Solaris systems administrator for your company. You are creating user initialization files and want to specify default printers for all users. Which two variables are valid for indicating a default printer for users using the Korn shell (ksh)? (Choose two.)
| ||
You are the Solaris administrator for your company. One of the junior administrators notices slow printing on one print server. She wants to move the print spooler onto a slice with more space for the file system. Which file in Solaris represents the print spooler? | ||
You are working on a Solaris network. Before you print your 100-page report, you want to make sure that you're printing to the correct printer. Which of the following commands can you use to see which printer is set as your default printer?
| ||
You are the Solaris printer administrator. One of your print servers is having problems, and you want to locate the server's print history logs. Which two of the following files are you looking for? (Choose two.)
| ||
You are the Solaris administrator for your company. You need to add a new parallel printer to the print server and will be doing it from a command line. The print server's name is server1, and the printer's name is tako. Which of the following commands can you use to add the new printer?
| ||
You have just installed a printer named hokkigai onto your Solaris print server from the command line. You have configured the printer correctly and told the printer to accept print requests. Users are submitting requests, but nothing is printing. You investigate and find all the print jobs sitting in the print queue. The users are receiving no error messages when submitting print jobs. Which of the following should you do first to rectify the situation? | ||
You are the Solaris administrator for your company. A process named abc1, with a PID of 555, is consuming a considerable amount of processor time and appears to be hung. Which of the following commands would unconditionally stop the abc1 process? (Choose all that apply.)
| ||
You are the network administrator for your company. The company has three laser printers, one of which is badly overworked and two of which are mostly idle. What should you do to help remedy this situation?
| ||
You are the Solaris administrator for your company. One of your printers is being replaced. The printer's name is hamachi and will be replaced by a printer named buri. Which of the following commands should you use to delete the old printer from the print server? | ||
You are a Solaris administrator for your company. One of the other network administrators has output from a crontab file and needs help deciphering it. Here is the output: 30 5 * * * /usr/sbin/logadm 10 1 * * 4 /usr/lib/fs/nfs/nfsfind 1 2 * * * [ -x /usr/sbin/rtc ] && /usr/sbin/rtc -c > /dev/null 2>&1 Which of the following statements are true about this crontab output? (Choose all that apply.)
| ||
You are the Solaris printer administrator for your network. One of your print servers, named print01, has a printer named hirame installed on it. Users printing to hirame complain that nothing is printing. You determine that the printer is powered on and online, and by running the lpstat command, you determine that the printer is enabled and ready to print. However, jobs are sitting in the print queue and not printing. Which course of action should you take to solve this problem?
| ||
You are the Solaris administrator for your company. You are configuring an in-house Solaris 9 print server. All users on your network will use this print server. Which of the following directories contains information on the print server's printer configurations? | ||
To help distribute the printing load on your network, you are going to create a printer class. The first printer that you are adding to the sushi printer class is named toro. Which command do you need to use to add this printer to the printer class?
| ||
You are the Solaris administrator for your company. Instead of using the root account, you log in using a regular user account to check the viability of creating at jobs. When you execute the at command, you get the following message: at: you are not authorized to use at. Sorry. Which of the following could this message indicate? (Choose all that apply.)
| ||
You are the Solaris printer administrator for your network. You are configuring fault recovery for the printer named tako. When a fault is detected, you want the printer to restart the printing of the document from the first page. Which of the following commands should you use to configure this properly?
| ||
Which of the following statements best describes the relationship between crontab and at jobs? | ||
You are the Solaris administrator for your network. You are educating other administrators about processes and priorities. As an example, you use the following command: # /usr/bin/nice process1 What does executing the command accomplish?
| ||
You are the Solaris printer administrator for your network. A printer named tobiko will bemoved from one print server to another. You want to prevent users from submitting jobs to the printer, but you also want submitted jobs to print before you turn off the printer. Which of the following commands should you use to accomplish this goal?
|
Answers
C. To move print jobs, use the lpmove command. The syntax is lpmove from_printer to_ printer. In this case, because you are moving jobs from saba to masu, the answer is lpmove saba masu. |
|
A, B, D. If cron.allow and cron.deny do not exist, only the superuser is allowed to create crontab files. If a cron.allow exists, only users listed in that file are allowed to use crontab. If there is no cron.allow, but there is a cron.deny, users in cron.deny are prevented from using crontab. |
|
B, C. LPDEST and PRINTER are two acceptable environment variables for setting a user's default printer. |
|
C. The print spooler is located in the /var/spool/lp directory. |
|
D. The lpstat -d command will return the name of your default printer. The lpstat -D command returns the printer's description (the -p printer_name switch would be required also). The lpadmin command is for administering printers. |
|
A, B. The two print history logs are /var/lp/logs/requests and /var/lp/logs/lpsched. The requests log holds historical print requests, and the lpsched log contains information about print jobs currently in the print queue. |
|
B. The lpadmin command is used to add and manage currently installed printers. To add the new printer, you must specify the printer's name and the port to which the printer will be attached. The designation for the first parallel port is /dev/ecpp0 or /dev/printers/0. |
|
B. When you install a printer from the command line, you must configure the printer to accept print jobs and then enable the printer to print those jobs. This is done with the accept and enable commands, respectively. Stopping the print spooler and restarting it will do no good. Deleting and reinstalling the printer is unnecessary and too much work at this point. |
|
B, C, D. The kill and pkill commands are used to kill running processes. With the kill command, you can specify only the PID number, not the process name. The pkill command understands PIDs and process names. However, without an argument, the pkill command sends signal 15 (SIGTERM), which attempts a graceful, not an unconditional, termination of the process. |
|
C. This is the perfect situation for a printer class. All three printers can be placed in the same class. When users print to the class, their output will be equally shared among the individual print devices. For the class to work, all three printers must be defined on the same print server, but users will not specify the name of the print server in order to print. Printer groups do not exist. |
|
B. The lpadmin -x command is used to delete printers from a print server. There is no need to specify the name of the printer that you are going to install. |
|
C. Only the third statement is true: the rtc command is run at 2:01 A.M. daily. The first five fields of a crontab file are time and date fields. In order, they are minute, hour, day of the month, month, day of the week. |
|
A. In a case such as this, it might be best to reset the print spooler by stopping and restarting it. The printer is enabled, so there is no need to rerun the enable command. Because the printer is accepting print jobs, there is no need to run the accept command. Deleting and reinstalling the printer is overkill, and all pending print jobs would be lost. |
|
A. The /etc/lp directory contains information about print server configuration. Both /usr directories contain print daemons, and /usr/lib/lp contains print filters and the standard printer interface program. The /var/spool/lp directory is the print spool directory. |
|
C. The lpadmin command is used to create printer classes and add printers to printer classes. To add the printer to the printer class, you need to know the name of the printer you're adding (specified with the -p switch) and the name of the class (specified with the -c switch). Therefore, the correct command would be lpadmin -p toro -c sushi. |
|
D. To deny users access to the at command, place their usernames in the at.deny file. There is no at.allow file. |
|
D. The correct option to supply with the -F switch for starting over at the beginning of a job is beginning. Other options for -F are continue and wait. |
|
C. crontab is for running jobs on a periodic schedule, whether it is daily, weekly, monthly, or on a specific day once per year. The at command is much simpler and will run a job or a series of jobs only once. |
|
B. The nice command is used to modify a process' nice number. By default, the nice command with no arguments raises the nice number by four. Raising the nice number means that the process will be "nicer" to other processes (by yielding more processor time) and therefore have a lower priority. |
|
B. To prevent a printer from accepting print requests, use the reject command. The disable command would stop the printer from printing, and the stop command does not exist. The last answer, /etc/init.d/lp stop, would stop the entire LP print service, causing tobiko to stop printing, as well as affecting other printers that might be attached to the print server. |
This HTML Help has been published using the chm2web software. |