Module 10 Review Quiz: Linux installation and configuration

Ace your homework & exams now with Quizwiz!

What is the name used to describe a user providing a user name and password to log in to a system? a.) validation b.) authorization c.) login d.) authentication

b.) authorization

What is the background process responsible for printing on Fedora Linux? a.) lp b.) cupsd c.) lpd d.) lpstat

b.) cupsd

Which file contains default information such as UID and GID ranges and minimum password length to be used at user creation? a.) /etc/skel b.) /etc/passwd c.) /etc/login.defs d.) /etc/default/useradd

c.) /etc/login.defs

Most log files on the system are found in which directory? a.) /etc/logfiles b.) /etc/log c.) /var/log d.) /dev/log

c.) /var/log

What is the name of the utility used to rotate log files? a.) syslog b.) jetpack c.) logrotate d.) logbackup

c.) logrotate

Which command is used to delete a user account? a.) usermod -d username b.) del username c.) userdel username d.) rm username

c.) userdel username

Which command can you use to lock a user account? a.) lock username b.) secure username c.) usermod -L username d.) useradd -L username

c.) usermod -L username

Which command would you use to unlock a user account? a.) unlock username b.) open username c.) usermod -U username d.) useradd -U username

c.) usermod -U username

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?

cancel Printer1-17 Printer1-21

What command can you use to view journald log entries on a system that uses Systemd?

catlog less syslog journalctl**

The process of sending print jobs from the print queue to the printer is called? a. spooling b. queuing c. redirecting d. printing

d. printing

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.) section, priority b.) service, precedents c.) process, degree d.) facility, priority

d.) facility, priority

Which command can be used to alter the primary group associated with a given user temporarily? a.) usermod b.) chggrp c.) gpasswd d.) newgrp

d.) newgrp

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.

facility priority

UIDs and GIDs are unique to the system and once used can never be reused. True or False?

false

​Along with a listing of user accounts, the /etc/passwd file also contains information on account expiry. True or False?

false

What command can you use to view journald log entries on a system that uses Systemd?

journalctl

What is the name of the utility used to rotate log files?

logrotate

What is the name of the utility used to rotate log files?

logrotate** jetpack syslog logbackup

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

lp -d Printer1 file lp file

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

lp Printer1 file lp -d Printer1 file** lp -m Printer1 file lp file**

Which command can be used to temporarily alter the primary group associated with a given user?

newgrp

Which command would you use to unlock a user account?

passwd -u username

The process of sending print jobs from the print queue to the printer is called _____.

printing

​The process of sending print jobs from the print queue to the printer is called?

redirecting printing** queuing spooling

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

section, priority process, degree service, precedents facility, priority**

When a printer is disabled, ________.

​the print queue redirects all print jobs sent to it to /dev/null ​the print queue does accept jobs into the print queue and holds them there until the printer is enabled again** ​the printer appears as off-line when a lp request is sent ​the print queue does not accept jobs and sends a message to the user noting that the printer is unavailable

When a printer is rejecting requests,____________.

​the print queue redirects all print jobs sent to it to /dev/null ​the printer appears as off-line when a lp request is sent ​the print queue does accept jobs into the print queue and holds them there until the printer is accepting requests again ​the print queue does not accept jobs and sends a message to the user noting that the printer is unavailable**

Most log files on the system are found in which directory?

/etc/logfiles /var/log** /dev/log /etc/log

False

Along with a listing of user accounts, the /etc/passwd file also contains information on account expiry.

3.) When a printer is disabled,____

B. The print queue accepts jobs into the print queue and holds them there until the printer is enabled again

10.) What is the name of the utility used to rotate log files?

C. logrotate

20.) Which command is used to delete a user account?

C. userdel username

5.) Which command can you use to lock a user account?

C. usermod -L username

17.) Which command would you use to unlock a user account?

C. usermod -U username

15.) 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

6.) Which command can be used to alter the primary group associated with a given user temporarily

D. newgrp

1.) The process of sending print jobs from the print queue to the printer is called___

D. printing

18.) Along with a listing of user accounts the /etc/passwd files contains information on account expiry. True or False?

False

9.) UIDs and GIDs are unique to the system and once used, can never be reused. True or False?

False

/var/log

Most log files on the system are found in which directory?

You can clear a log file simply by redirecting nothing into it. True or False?

True

logrotate

What is the name of the utility used to rotate log files?

newgrp

Which command can be used to alter the primary group associated with a given user temporarily?

usermod -L username

Which command can you use to lock a user account?

userdel username

Which command is used to delete a user account?

usermod -U username

Which command would you use to unlock a user account?

True

You can clear a log file simply by redirecting nothing into it.

True

You can lock a user account by changing the default login shell to an invalid shell in /etc/passwd.

cancel Printer1-17 Printer1-21

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 jobs IDs of Printer1-17 and Printer1-21, respectively. Which command would you use to remove these two jobs from the print queue?

What is the name of the file that contains a listing of all users on the system and their home directories? a.) /etc/passwd b.) /etc/users c.) /etc/shadow d.) /etc/password

a.) /etc/passwd

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? a.) cancel Printer1-17 Printer1-21 b.) cancel -u Printer1-17 Printer1-21 c.) cancel -a Printer1-17 Printer1-21 d.) cancel 17 21

a.) cancel Printer1-17 Printer1-21

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

a.) lp -d Printer1 file c.) lp file

When a printer is rejecting requests,____________. a.) the print queue does not accept jobs and sends a message to the user noting that the printer is unavailable b.) the print queue does accept jobs into the print queue and holds them there until the printer is accepting requests again c.) the printer appears as off-line when a lp request is sent d.) the print queue redirects all print jobs sent to it to /dev/null

a.) the print queue does not accept jobs and sends a message to the user noting that the printer is unavailable

What is the term used to describe a user providing a user name and password to log in to a system?

authentication

Which file contains default information such as UID and GID ranges and minimum password length to be used at user creation?

/etc/login.defs

16.) What command can you use to view journald log entries on a system that uses Systemd?

B. journalctl

14.) Most log files on the system are found in which directory?

C. /var/log

13.) When referring to the /etc/rsyslog.conf file,___specifies information from a certain area of the system, whereas the level of importance of that information

D. Facility, priority

4.) What's the name used to describe a user providing a user name and password to log in to a system?

D. authentication

Along with a listing of user accounts, the /etc/passwd file also contains information on account expiry. (True or False?)

False

Along with a listing of user accounts, the /etc/passwd file contains information on account expiry. True or False?

False

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

True

False

UIDs and GIDs are unique to the system and once used can never be reused.

journalctl

What command can you use to view journald log entries on a system that uses Systemd?

/etc/passwd

What is the name of the file that contains a listing of all users on the system and their home directories?

authentication

What is the name used to describe a user providing a user name and password to log in to a system?

the print queue does accept jobs into the print queue and holds them there until the printer is enabled again

When a printer is disabled, ____________

the print queue does not accept jobs and sends a message to the user noting that the printer is unavailable

When a printer is rejecting requests, ______________

facility, priority

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.

lp -d Printer1 file lp file

Which command can be used to send a print job to the default printer named Printer1?

/etc/login.defs

Which file contains default information such as UID and GID ranges and minimum password length to be used at user creatioin?

Which command can be used to alter the primary group associated with a given user temporarily?

newgrp** usermod chggrp gpasswd

​Which command would you use to unlock a user account?

open username useradd -U username usermod -U username** unlock username

Which file contains default information such as UID and GID ranges and minimum password length to be used at user creation?

/etc/login.defs** /etc/default/useradd /etc/skel /etc/passwd

What is the name of the file that contains a listing of all users on the system and their home directories?

/etc/passwd

You can clear a log file simply by redirecting nothing in to it. (True or False?)

True

Most log files on the system are found in which directory?

/var/log

What is the name used to describe a user providing a user name and password to log in to a system?

authentication** validation login authorization

When a printer is disabled, ________.

the print queue does accept jobs into the print queue and holds them there until the printer is enabled again

When a printer is rejecting requests,____________.

the print queue does not accept jobs and sends a message to the user noting that the printer is unavailable

​You can clear a log file simply by redirecting nothing in to it. True or False?

true

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

true

Which command is used to delete a user account?

userdel username

Which command is used to delete a user account?

userdel username** del username usermaod -d username rm username

Which command can you use to lock a user account?

usermod -L username

Which command can you use to lock a user account?

usermod -L username** useradd -L username secure username lock username

​What is the name of the file that contains a listing of all users on the system and their home directories?

/etc/password /etc/users /etc/shadow /etc/passwd**

8.) What is the name of the file that contains a listing of all users on the system and their home directories?

A. /etc/passwd

12.) When a printer is rejecting requests,___

A. The print queue does not accept jobs and sens a message to the user noting that the printer is unavailable

19.) You use lpstat and determine that a user named User2 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?

A. cancel printer1-17 printer1-21

7.) 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 C. lp file

UIDs and GIDs are unique to the system and once used can never be reused. (True or False?)

False

UIDs and GIDs are unique to the system and, once used, can never be reused. True or False?

False

redirecting

The process of sending print jobs from the print queue to the printer is called ____________.

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

True

2.) You can clear a log file simply by redirecting nothing into it. True or False?

True

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

True

​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?

​cancel -u Printer1-17 Printer1-21 ​cancel Printer1-17 Printer1-21** ​cancel -a Printer1-17 Printer1-21 cancel 17 21

When a printer is disabled, ________. a.) the print queue does not accept jobs and sends a message to the user noting that the printer is unavailable b.) the print queue does accept jobs into the print queue and holds them there until the printer is enabled again c.) the printer appears as off-line when a lp request is sent d.) the print queue redirects all print jobs sent to it to /dev/null

b. the print queue does accept jobs into the print queue and holds them there until the printer is enabled again


Related study sets

Principles of Biology- Macromolecules: carbohydrates and lipids

View Set

Accounting Exam I review Finished

View Set

College Personal Finance Chapter 6 Introduction to Consumer Credit

View Set

Chapter 6 Biology (Endomembrane System

View Set

Workbook Chapter 39: Caring for People with Developmental Disabilities

View Set