Deck 10: Common Administrative Tasks

ملء الشاشة (f)
exit full mode
سؤال
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
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Which command should be used to restrict access to printers?

A) lpadmin
B) lpa
C) lpr
D) admin
سؤال
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
سؤال
CUPS contains versions of the lpr, lpc, lpq, and lprm commands.
سؤال
Where is the skeleton directory located on most Linux systems?

A) /etc/skel
B) /var/skel
C) /etc/skeleton
D) /var/skeleton
سؤال
What is the default print job priority for all print jobs created by the lp command?

A) -50
B) 0
C) 50
D) 100
سؤال
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
سؤال
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
سؤال
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
سؤال
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
سؤال
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
سؤال
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
سؤال
On most Linux systems, the logrotate utility is automatically scheduled to run weekly.
سؤال
When you print to a printer class, the print job is send to the first available printer in the printer class.
سؤال
The secure log file contains information regarding the last user to log in to a system.​
سؤال
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 user account can be locked with the usermod command using what option?

A) -U
B) -u
C) -l
D) -L
سؤال
In order to create user accounts on a Linux system, what command should be utilized?

A) uadd
B) usercreate
C) adduser
D) useradd
سؤال
Logs from the cron daemon (crond) can be viewed using the command journalctl _COMM=crond
سؤال
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
سؤال
_______________ represents a text description of the user and is typically left blank.
سؤال
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?
سؤال
On Linux, the root user always has a UID of what number?​

A) ​0
B) ​1
C) ​23
D) ​500
سؤال
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.
سؤال
​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 set of information that is sent to a printer at the same time is called a(n) ____________________.
سؤال
In the process called ____________________, a user's user name and password are checked against a system database that contains all user account information.
سؤال
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?
سؤال
​​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.
سؤال
Describe the process of sending information to a printer using the CUPS daemon.
سؤال
​​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.
سؤال
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
سؤال
The ____________________ facility used by the System Log Daemon specifies messages from the Linux kernel.
سؤال
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?
سؤال
Describe the commands used in the LPD printing system. What CUPS printing system commands do they correspond to?
سؤال
​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
سؤال
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
سؤال
​​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.​
سؤال
​​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.​
سؤال
​​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
سؤال
​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
سؤال
​​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.​
سؤال
​​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)
سؤال
​​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.
سؤال
​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
سؤال
​​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.
سؤال
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
سؤال
​​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.​
سؤال
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
سؤال
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
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/50
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
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
D
2
Which command should be used to restrict access to printers?

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
C
4
CUPS contains versions of the lpr, lpc, lpq, and lprm commands.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
13
On most Linux systems, the logrotate utility is automatically scheduled to run weekly.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
15
The secure log file contains information regarding the last user to log in to a system.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
19
Logs from the cron daemon (crond) can be viewed using the command journalctl _COMM=crond
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
21
_______________ represents a text description of the user and is typically left blank.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
23
On Linux, the root user always has a UID of what number?​

A) ​0
B) ​1
C) ​23
D) ​500
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
26
A set of information that is sent to a printer at the same time is called a(n) ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
30
Describe the process of sending information to a printer using the CUPS daemon.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
33
The ____________________ facility used by the System Log Daemon specifies messages from the Linux kernel.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
35
Describe the commands used in the LPD printing system. What CUPS printing system commands do they correspond to?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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.​
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.