Exam Prep Practice Questions

Question 1 Which of the following can be used to set a default printer?
  • A. Defining and exporting the LPDEFAULT shell variable

  • B. Using the lpadmin command

  • C. Using the lp command

  • D. Using the lpdefault command

A1: The correct answer is B. Answer A, LPDEFAULT, is incorrect because the shell variable should be LPDEST. Answer C, the lp command, uses the default printer but cannot be used to define it. Answer D, the lpdefault command is not valid.
Question 2 Which of the following commands can be used to start or stop the LP Print Service? [Select all that apply.]
  • A. /usr/lib/lpsched

  • B. /etc/init.d/lp stop

  • C. /usr/lib/lpstart

  • D. /etc/init.d/lp start

  • E. /usr/lib/lpshut

A2: The correct answers are A, B, D, and E. Answer C, /usr/lib/lpstart ...

Get Solaris™ 9 System Administrator Exam Cram™ 2 (Exams 310-014 and 310-015) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.