NOS 120 Study Guide Ch. 10 UPDATED ACTUAL QUESTIONS AND CORRECT
ANSWERS
Which of the following files stores information about /var/log/btmp
failed logins on a Linux system?
Select one:
a. /var/log/nolo
b. /var/log/failed
c. /var/log/wtmp
d. /var/log/btmp
Which of the following is the log file where the Debian dpkg.log
Package Manager writes entries for actions taken and
packages installed?
Select one:
a. packages.log
b. dpackage.log
c. dpkg.log
d. dpm.log
Which of the following will show account aging chage -l jsmith
information for a user such as the date of the last
password change, when the password expires, and the
number of days of warning before the password expires?
Select one:
a. usermod --expiry jsmith
b. chage -u jsmith
c. lsuser jsmith
d. chage -l jsmith
, Which of the following commands can be used to pause cupsdisable Printer1
a printer named Printer1?
Select one:
a. cupsdisable Printer1
b. cupsreject -p Printer1
c. cupsreject Printer1
d. cupsdisable -c Printer1
Which of the following environment variables can you PRINTER
change the value of to set the default printer on a Linux LPDEST
system? (Choose two.)
Select one or more:
a. LPDEST
b. PRINT
c. PRINTER
d. LPDEFAULT
Which of the following is a special group that provides its wheel
members with the ability to run the su and sudo
commands?
Select one:
a. sys
b. adm
c. sudoers
d. wheel
In which file can you configure rules for logging on a /etc/rsyslog.conf
Linux system?
Select one:
a. /etc/syslog.rules
b. /etc/syslog.rules.conf
c. /etc/syslogd.conf
d. /etc/rsyslog.conf
Which of the following commands will display the print lpstat -o printer1
jobs in the print queue for printer1 only?
Select one:
a. lpq -p printer1
b. lp -j printer1
c. lpstat -o printer1
d. lpq -d printer1
What is the path to where the journald.conf file is /etc/systemd/journald.conf
located?
Select one:
a. /etc/systemd/journald.conf
b. /etc/journald/journald.conf
c. /etc/rsyslog/journald.conf
d. /etc/rsyslogd/journald.conf
ANSWERS
Which of the following files stores information about /var/log/btmp
failed logins on a Linux system?
Select one:
a. /var/log/nolo
b. /var/log/failed
c. /var/log/wtmp
d. /var/log/btmp
Which of the following is the log file where the Debian dpkg.log
Package Manager writes entries for actions taken and
packages installed?
Select one:
a. packages.log
b. dpackage.log
c. dpkg.log
d. dpm.log
Which of the following will show account aging chage -l jsmith
information for a user such as the date of the last
password change, when the password expires, and the
number of days of warning before the password expires?
Select one:
a. usermod --expiry jsmith
b. chage -u jsmith
c. lsuser jsmith
d. chage -l jsmith
, Which of the following commands can be used to pause cupsdisable Printer1
a printer named Printer1?
Select one:
a. cupsdisable Printer1
b. cupsreject -p Printer1
c. cupsreject Printer1
d. cupsdisable -c Printer1
Which of the following environment variables can you PRINTER
change the value of to set the default printer on a Linux LPDEST
system? (Choose two.)
Select one or more:
a. LPDEST
b. PRINT
c. PRINTER
d. LPDEFAULT
Which of the following is a special group that provides its wheel
members with the ability to run the su and sudo
commands?
Select one:
a. sys
b. adm
c. sudoers
d. wheel
In which file can you configure rules for logging on a /etc/rsyslog.conf
Linux system?
Select one:
a. /etc/syslog.rules
b. /etc/syslog.rules.conf
c. /etc/syslogd.conf
d. /etc/rsyslog.conf
Which of the following commands will display the print lpstat -o printer1
jobs in the print queue for printer1 only?
Select one:
a. lpq -p printer1
b. lp -j printer1
c. lpstat -o printer1
d. lpq -d printer1
What is the path to where the journald.conf file is /etc/systemd/journald.conf
located?
Select one:
a. /etc/systemd/journald.conf
b. /etc/journald/journald.conf
c. /etc/rsyslog/journald.conf
d. /etc/rsyslogd/journald.conf