11.9 References

11.10 Quiz

  1. The system administrator is logged into host plainview.texas.com. The system administrator adds a remote print queue from plainview to host beaumont.texas.com and then runs the lpstat command to confirm the queues are ready to print. The results of the lpstat command are shown below.
    
    
    Queue   Dev   Status    Job Files              User         PP %   Blks  Cp Rnk
    ------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
    lp0     lp0   STOPPED    1 /tmp/report        root                7911   1   1
    rq0     @beau READY
    rq0     rq0   HOST_DOWN
    
    


    The lpstat output in the exhibit indicates that plainview cannot communicate with beaumont. The system administrator runs a ping command from plainview to beaumont and receives ping packets back. Which of the following actions can be performed so plainview can print to beaumont?

    1. Execute enq -d on plainview.

    2. Start the lpd daemon on beaumont.

    3. Start the lpd daemon on plainview.

    4. Add the beaumont host name to plainview's /etc/hosts.lpd file.

  2. A system administrator is logged into host plainview.texas.com and executes lpstat as root. The system administrator adds a remote print queue from plainview to host beaumont.texas.com, re-executes lpstat to confirm the queues are ready to print, and gets the following results shown in the exhibit.

Queue   Dev   Status    Job Files              User         PP %   Blks  Cp Rnk
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
lp0     lp0   STOPPED    1 /tmp/report        root                7911   1   1
rq0     @beau READY
rq0     rq0   HOST_DOWN


Which of the following commands should be run to get the queued job in lp0 to begin printing?

qchk -q

enq -X lp0

stopsrc -s lpd;startsrc -s lpd

stopsrc -cs qdaemon;startsrc -s qdaemon

11.10.1 Answers

  1. B

  2. D

11.11 Exercises