Computer System Admin_Chapter 10 Review Questions and Quiz Questions

  1. What command allows a Linux client to print to a Linux-based print queue?




    B) lp
  2. Which of the following commands can be used to view print jobs in the print queue, much like the lpstatcommand?




    D) lpq
  3. In which file on a Linux system are the configuration settings for a printer stored?




    A) /etc/cups/printers.conf
  4. What file stores facility and priority information for the System Log Daemon?




    C) /etc/rsyslog.conf
  5. Which of the following keys should be pressed after typing the journalctlcommand in order to see a list of areas and criteria that can be queried?




    A) Tab
  6. Every user must have a primary group listed in which of the following files?




    B) /etc/passwd
  7. What is the primary command used to add new users to a Linux system?




    C) useradd
  8. What command should be issued to change a Linux system such that it will use the /etc/shadow file to store user passwords?




    D) pwconv
  9. Which directory contains files that are copied to all new users’ home directories when the home directory is created?




    D) /etc/skel
  10. What command should be issued to temporarily change the primary group associated with a user account?




    C) newgrp
  11. The process of sending print jobs from the print queue to the printer is called _____.




    B) queuing
  12. You can clear a log file simply by redirecting nothing into it. True or False?
    A) True
    B) False
    A) True
  13. When a printer is disabled, ________.




    A) the print queue accepts jobs into the print queue and holds them there until the printer is enabled again
  14. What is the term used to describe a user providing a user name and password to log in to a system?




    B) authentication
  15. Which command can you use to lock a user account?




    B) usermod –L username
  16. Which command can be used to temporarily alter the primary group associated with a given user?




    B) newgrp
  17. Which command can be used to send a print job to the default printer named Printer1? (Choose all that apply.)

    a. lp –d Printer1 file
    b. lp Printer1 file
    c. lp file
    d. lp –m Printer1 file
    • lp –d Printer1 file
    • and
    • lp file
  18. What is the name of the file that contains a listing of all users on the system and their home directories?




    B) /etc/passwd
  19. UIDs and GIDs are unique to the system and, once used, can never be reused. True or False?

    A) True
    B) False
    B) False
  20. What is the name of the utility used to rotate log files?




    D) logrotate
  21. You can lock a user account by changing the default login shell to an invalid shell in /etc/passwd. True or False?

    A) True
    B) False
    A) True
  22. When a printer is rejecting requests,____________.




    B) the print queue does not accept jobs and sends a message to the user noting that the printer is unavailable
  23. When referring to the /etc/rsyslog.conf file, __________ specifies information from a certain area of the system, whereas ________ is the level of importance of that information.




    A) facility, priority
  24. Most log files on the system are found in which directory?




    B) /var/log
  25. Which file contains default information such as UID and GID ranges and minimum password length to be used at user creation?




    C) /etc/login.defs
  26. What command can you use to view journald log entries on a system that uses Systemd?




    B) journalctl
  27. Which command would you use to unlock a user account?




    D) passwd -u username
  28. Along with a listing of user accounts, the /etc/passwd file contains information on account expiry. True or False?

    A) True
    B) False
    B) False
  29. You use lpstat and determine that a user named User1 has placed two large print jobs in the queue for Printer1 that have yet to start printing. They have print job IDs of Printer1-17 and Printer1-21, respectively. Which command would you use to remove these two jobs from the print queue?




    D) cancel Printer1-17 Printer1-21
  30. Which command is used to delete a user account?




    C) userdel username
Author
dior
ID
359643
Card Set
Computer System Admin_Chapter 10 Review Questions and Quiz Questions
Description
These are the questions from the end of the chapter and quiz questions.
Updated