NOS 120 CHAPTER 10 QUESTIONS
AND ANSWERS
Which files store information about failed logins on a Linux system?
Select one:
a. /var/log/nolo
b. /var/log/failed
c. /var/log/wtmp
d. /var/log/btmp - ANSWER /var/log/btmp
The log file where the Debian Package Manager writes entries for
actions taken and packages installed is which of the following?
Select one:
a. packages.log
b. dpackage.log
c. dpkg.log
d. dpm.log - ANSWER dpkg.log
Which of the following will show account aging 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 - ANSWER chage -l jsmith
Which of the following commands can be used to pause a printer named
Printer1?
Select one:
a. cupsdisable Printer1
b. cupsreject -p Printer1
c. cupsreject Printer1
d. cupsdisable -c Printer1 - ANSWER cupsdisable Printer1
, Which of the following environment variables can you change the value
of to set the default printer on a Linux system? (Choose two.)
Select one or more:
a. LPDEST
b. PRINT
c. PRINTER
d. LPDEFAULT - ANSWER PRINTER
LPDEST
Which of the following is a special group that provides its members with
the ability to run the su and sudo commands?
Select one:
a. sys
b. adm
c. sudoers
d. wheel - ANSWER wheel
In which file can you configure rules for logging on a Linux system?
Select one:
a. /etc/syslog.rules
b. /etc/syslog.rules.conf
c. /etc/syslogd.conf
d. /etc/rsyslog.conf - ANSWER /etc/rsyslog.conf
Which of the following commands will display the print 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 - ANSWER lpstat -o printer1
What is the path to where the journald.conf file is located?
Select one:
a. /etc/systemd/journald.conf
b. /etc/journald/journald.conf
c. /etc/rsyslog/journald.conf
d. /etc/rsyslogd/journald.conf - ANSWER /etc/systemd/journald.conf
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller luzlinkuz. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $11.49. You're not tied to anything after your purchase.