Deck 10: Common Administrative Tasks
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/50
Play
Full screen (f)
Deck 10: Common Administrative Tasks
1
What log file contains information and error messages regarding network access generated by daemons such as ssd and xinetd?
A) wtmp
B) messages
C) dmesg
D) secure
A) wtmp
B) messages
C) dmesg
D) secure
D
2
Which command should be used to restrict access to printers?
A) lpadmin
B) lpa
C) lpr
D) admin
A) lpadmin
B) lpa
C) lpr
D) admin
A
3
To change the primary group temporarily to another group that is listed in the output of the groups and id commands, you can use which command below?
A) newgroup
B) groupmod
C) newgrp
D) groupadd
A) newgroup
B) groupmod
C) newgrp
D) groupadd
C
4
CUPS contains versions of the lpr, lpc, lpq, and lprm commands.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
5
Where is the skeleton directory located on most Linux systems?
A) /etc/skel
B) /var/skel
C) /etc/skeleton
D) /var/skeleton
A) /etc/skel
B) /var/skel
C) /etc/skeleton
D) /var/skeleton
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
6
What is the default print job priority for all print jobs created by the lp command?
A) -50
B) 0
C) 50
D) 100
A) -50
B) 0
C) 50
D) 100
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
7
What System Log Daemon priority indicates an error that should be rectified immediately, such as a corrupt system database?
A) info
B) alert
C) debug
D) panic
A) info
B) alert
C) debug
D) panic
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
8
Adding the -t option to what command below will provide a list of all printers on the system and their status?
A) lp
B) lpr
C) lps
D) lpstat
A) lp
B) lpr
C) lps
D) lpstat
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
9
What option can be added to the userdel command to remove the home directory of the target user?
A) -r
B) -d
C) -R
D) -x
A) -r
B) -d
C) -R
D) -x
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
10
In order to send a print job to a printer using CUPS, what command must be used?
A) print
B) pl
C) lp
D) pr
A) print
B) pl
C) lp
D) pr
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
11
The System Log Daemon uses what TCP and UDP port to accept incoming requests from another System Log Daemon on a remote system?
A) 827
B) 1012
C) 514
D) 23
A) 827
B) 1012
C) 514
D) 23
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
12
What option should be used in conjunction with the lp command in order to specify the destination printer name?
A) -n
B) -p
C) -d
D) -l
A) -n
B) -p
C) -d
D) -l
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
13
On most Linux systems, the logrotate utility is automatically scheduled to run weekly.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
14
When you print to a printer class, the print job is send to the first available printer in the printer class.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
15
The secure log file contains information regarding the last user to log in to a system.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
16
Select the option that can be used with the lpstat command to display a list of printers that are enabled:
A) -o
B) -a
C) -p
D) -e
A) -o
B) -a
C) -p
D) -e
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
17
A user account can be locked with the usermod command using what option?
A) -U
B) -u
C) -l
D) -L
A) -U
B) -u
C) -l
D) -L
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
18
In order to create user accounts on a Linux system, what command should be utilized?
A) uadd
B) usercreate
C) adduser
D) useradd
A) uadd
B) usercreate
C) adduser
D) useradd
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
19
Logs from the cron daemon (crond) can be viewed using the command journalctl _COMM=crond
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
20
A system that uses an /etc/passwd file only can be converted to use /etc/shadow for security by using what command?
A) passwdconv
B) pwconv
C) passwd
D) pwdcv
A) passwdconv
B) pwconv
C) passwd
D) pwdcv
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
21
_______________ represents a text description of the user and is typically left blank.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
22
In order to prevent unauthorized access, how can the shadow file be configured to enforce a password policy? What happens to accounts with expired passwords?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
23
On Linux, the root user always has a UID of what number?
A) 0
B) 1
C) 23
D) 500
A) 0
B) 1
C) 23
D) 500
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
24
On a CUPS printing system, to remove a print job that is in the print queue, you can use the ____________________ command followed by the print job IDs of the jobs to remove.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
25
What configuration file contains parameters that set the default location for e-mail, password expiration information, minimum password length, and the range of UIDs and GIDs available for use?
A) system.conf
B) local.setup
C) login.defs
D) user.defs
A) system.conf
B) local.setup
C) login.defs
D) user.defs
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
26
A set of information that is sent to a printer at the same time is called a(n) ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
27
In the process called ____________________, a user's user name and password are checked against a system database that contains all user account information.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
28
How do you delete a user account? When you delete a user account, what gets deleted and what does not? What happens to the user's files?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
29
Match each correct item with the statement below.
a.authentication
b.cancel command
c.chfn command
d.CUPS daemon
e.facility
f.groupmod command
g.primary group
h.printer class
i.spooling
j.User Identifier (UID)
The area of the system from which information is gathered when logging system events.
a.authentication
b.cancel command
c.chfn command
d.CUPS daemon
e.facility
f.groupmod command
g.primary group
h.printer class
i.spooling
j.User Identifier (UID)
The area of the system from which information is gathered when logging system events.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
30
Describe the process of sending information to a printer using the CUPS daemon.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
31
Match each correct item with the statement below.
a.authentication
b.cancel command
c.chfn command
d.CUPS daemon
e.facility
f.groupmod command
g.primary group
h.printer class
i.spooling
j.User Identifier (UID)
A unique number assigned to each user account.
a.authentication
b.cancel command
c.chfn command
d.CUPS daemon
e.facility
f.groupmod command
g.primary group
h.printer class
i.spooling
j.User Identifier (UID)
A unique number assigned to each user account.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
32
What option can be used in the journald configuration file to specify a file size limit to the event log?
A) SystemMaxUse
B) Max_file_size
C) Journal_Limit
D) SizeLimit
A) SystemMaxUse
B) Max_file_size
C) Journal_Limit
D) SizeLimit
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
33
The ____________________ facility used by the System Log Daemon specifies messages from the Linux kernel.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
34
Describe how the /etc/passwd and /etc/shadow files are used in the authentication process. Why are two files used instead of one? How can you convert a system to use the /etc/shadow file to store passwords?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
35
Describe the commands used in the LPD printing system. What CUPS printing system commands do they correspond to?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
36
The CUPS Web administration tool can be accessed via web browser by accessing what TCP port below?
A) 780
B) 631
C) 4586
D) 8080
A) 780
B) 631
C) 4586
D) 8080
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
37
What priority used by the System Log Daemon indicates a very serious system condition that would normally be broadcast to all users?
A) alert
B) panic
C) crit
D) error
A) alert
B) panic
C) crit
D) error
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
38
Match each correct item with the statement below.
a.authentication
b.cancel command
c.chfn command
d.CUPS daemon
e.facility
f.groupmod command
g.primary group
h.printer class
i.spooling
j.User Identifier (UID)
The command used to change the GECOS for a user.
a.authentication
b.cancel command
c.chfn command
d.CUPS daemon
e.facility
f.groupmod command
g.primary group
h.printer class
i.spooling
j.User Identifier (UID)
The command used to change the GECOS for a user.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
39
Match each correct item with the statement below.
a.authentication
b.cancel command
c.chfn command
d.CUPS daemon
e.facility
f.groupmod command
g.primary group
h.printer class
i.spooling
j.User Identifier (UID)
A group of CUPS printers that are treated as a single unit for the purposes of printing and management.
a.authentication
b.cancel command
c.chfn command
d.CUPS daemon
e.facility
f.groupmod command
g.primary group
h.printer class
i.spooling
j.User Identifier (UID)
A group of CUPS printers that are treated as a single unit for the purposes of printing and management.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
40
Match each correct item with the statement below.
a.authentication
b.cancel command
c.chfn command
d.CUPS daemon
e.facility
f.groupmod command
g.primary group
h.printer class
i.spooling
j.User Identifier (UID)
The command used to remove print jobs from the print queue in the CUPS print system
a.authentication
b.cancel command
c.chfn command
d.CUPS daemon
e.facility
f.groupmod command
g.primary group
h.printer class
i.spooling
j.User Identifier (UID)
The command used to remove print jobs from the print queue in the CUPS print system
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
41
What two commands below can be used to modify the password expiry information and a user's default shell?
A) chexp
B) chage
C) shellmod
D) chsh
A) chexp
B) chage
C) shellmod
D) chsh
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
42
Match each correct item with the statement below.
a.authentication
b.cancel command
c.chfn command
d.CUPS daemon
e.facility
f.groupmod command
g.primary group
h.printer class
i.spooling
j.User Identifier (UID)
The command used to modify the name or GID of a group on the system.
a.authentication
b.cancel command
c.chfn command
d.CUPS daemon
e.facility
f.groupmod command
g.primary group
h.printer class
i.spooling
j.User Identifier (UID)
The command used to modify the name or GID of a group on the system.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
43
Match each correct item with the statement below.
a.authentication
b.cancel command
c.chfn command
d.CUPS daemon
e.facility
f.groupmod command
g.primary group
h.printer class
i.spooling
j.User Identifier (UID)
The act of verifying a user's identity by comparing a user name and password to a system database (/etc/passwd and /etc/shadow)
a.authentication
b.cancel command
c.chfn command
d.CUPS daemon
e.facility
f.groupmod command
g.primary group
h.printer class
i.spooling
j.User Identifier (UID)
The act of verifying a user's identity by comparing a user name and password to a system database (/etc/passwd and /etc/shadow)
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
44
Match each correct item with the statement below.
a.authentication
b.cancel command
c.chfn command
d.CUPS daemon
e.facility
f.groupmod command
g.primary group
h.printer class
i.spooling
j.User Identifier (UID)
the process of accepting a print job into a print queue.
a.authentication
b.cancel command
c.chfn command
d.CUPS daemon
e.facility
f.groupmod command
g.primary group
h.printer class
i.spooling
j.User Identifier (UID)
the process of accepting a print job into a print queue.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
45
What two options below are used to tell the useradd command where a user's home directory will be, and where the skeleton directory is?
A) -s
B) -h
C) -d
D) -k
A) -s
B) -h
C) -d
D) -k
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
46
Match each correct item with the statement below.
a.authentication
b.cancel command
c.chfn command
d.CUPS daemon
e.facility
f.groupmod command
g.primary group
h.printer class
i.spooling
j.User Identifier (UID)
The group that is specified for a user in the /etc/passwd file and that is specified as a group owner for all files created by a user.
a.authentication
b.cancel command
c.chfn command
d.CUPS daemon
e.facility
f.groupmod command
g.primary group
h.printer class
i.spooling
j.User Identifier (UID)
The group that is specified for a user in the /etc/passwd file and that is specified as a group owner for all files created by a user.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
47
What two log files below will show a history of all login sessions, or a list of users and their last login time, depending on which one is viewed?
A) secure
B) wtmp
C) lastlog
D) xferlog
A) secure
B) wtmp
C) lastlog
D) xferlog
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
48
Match each correct item with the statement below.
a.authentication
b.cancel command
c.chfn command
d.CUPS daemon
e.facility
f.groupmod command
g.primary group
h.printer class
i.spooling
j.User Identifier (UID)
The daemon responsible for printing in the CUPS printing system.
a.authentication
b.cancel command
c.chfn command
d.CUPS daemon
e.facility
f.groupmod command
g.primary group
h.printer class
i.spooling
j.User Identifier (UID)
The daemon responsible for printing in the CUPS printing system.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
49
What two files contain settings for the CUPS daemon and the configuration information for each printer installed on a system, respectively?
A) /etc/prnt.config
B) /etc/cupsd.conf
C) /etc/cups/cupsd.conf
D) /etc/cups/printers.conf
A) /etc/prnt.config
B) /etc/cupsd.conf
C) /etc/cups/cupsd.conf
D) /etc/cups/printers.conf
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
50
The System Log Daemon rsyslogd loads what configuration file under /etc, as well as any files within which directory under /etc?
A) log.conf
B) rsyslog.conf
C) rsyslog.d
D) log.d
A) log.conf
B) rsyslog.conf
C) rsyslog.d
D) log.d
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck