LPI Level 1 v1.0 (102-500)

Page:    1 / 8   
Total 120 questions

What is the systemd journal stored?

  • A. /var/jlog/ and /var/jlogd/
  • B. /proc/log/ and /proc/klog/
  • C. /run/log/journal/ or /var/log/journal/
  • D. /var/log/syslog.bin or /var/log/syslog.jrn
  • E. /etc/systemd/journal/ or /usr/lib/systemd/journal/


Answer : C

Which of the following is true regarding the command sendmail?

  • A. With any MTA, the sendmail command must be run periodically by the cron daemon.
  • B. When using systemd, sendmail is an alias to relayctl.
  • C. The sendmail command prints the MTAג€™s queue history of which mails have been sent successfully.
  • D. It is only available when the sendmail MTA is installed.
  • E. All common MTAs, including Postfix and Exim, provide a sendmail command.


Answer : E

Which file inside the CUPS configuration directory contains the settings of the printers?

  • A. cups-devices.conf
  • B. snmp.conf
  • C. printers.conf
  • D. printcap.conf
  • E. cupsd.conf


Answer : C

FILL BLANK -
Which file is processed by newaliases? (Specify the full name of the file, including path.)



Answer : /etc/mail/aliases

Which of the following are syslog facilities? (Choose two.)

  • A. local5
  • B. accounting
  • C. mail
  • D. postmaster
  • E. remote


Answer : AC

Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose two.)

  • A. --since=
  • B. --from=
  • C. --until=
  • D. --upto=
  • E. --date=


Answer : AC

What is true regarding the file ~/.forward?

  • A. When configured correctly ~/.forward can be used to forward each incoming mail to one or more other recipients.
  • B. After editing ~/.forward the user must run newaliases to make the mail server aware of the changes.
  • C. Using ~/.forward, root may configure any email address whereas all other users may configure only their own addresses.
  • D. As ~/.forward is owned by the MTA and not writable by the user, it must be edited using the editaliases command.
  • E. By default, only ~/.forward files of users in the group mailq are processed while all other userג€™s ~/.forward files are ignored.


Answer : A

Which of the following commands display a list of jobs in the print queue? (Choose two.)

  • A. cups --list
  • B. lprm -l
  • C. lpstat
  • D. lpr -q
  • E. lpq


Answer : CE

On a system using systemd-journald, which of the following commands add the message Howdy to the system log? (Choose two.)

  • A. append Howdy
  • B. logger Howdy
  • C. systemd-cat echo Howdy
  • D. echo Howdy > /dev/journal
  • E. journalctl add Howdy


Answer : E

Which of the following options in the chrony configuration file define remote time sources? (Choose two.)

  • A. source
  • B. clock
  • C. remote
  • D. pool
  • E. server


Answer : DE

FILL BLANK -
Which command is used to sync the hardware clock to the system clock? (Specify only the command without any path or parameters.)



Answer : hwclock

Which of the following situations is observed and corrected by an NTP client?

  • A. The skew in time between the system clock and the computerג€™s hardware clock.
  • B. The physical location and the timezone configuration.
  • C. Changes in the time zone of the current computerג€™s location.
  • D. Adjustment needed to support Daylight Saving Time.
  • E. The skew in time between the system clock and the reference clock.


Answer : E

If an alias ls exists, which of the following commands updates the alias to point to the command ls -l instead of the aliasג€™s current target?

  • A. set ls=ג€™ls -lג€™
  • B. alias ls=ג€™ls -lג€™
  • C. alias --force ls=ג€™ls -lג€™
  • D. alias --update ls ls=ג€™ls -lג€™
  • E. realias ls=ג€™ls -lג€™


Answer : B

Which of the following commands puts the output of the command date into the shell variable mydate?

  • A. mydate=ג€dateג€
  • B. mydate=ג€exec dateג€
  • C. mydate=ג€$((date))ג€
  • D. mydate=ג€$(date)ג€
  • E. mydate=ג€${date}ג€


Answer : D

What information is shown by the echo $? command?

  • A. The process ID of the echo command.
  • B. The exit value of the command executed immediately before echo.
  • C. The process ID which will be used for the next command.
  • D. The exit value of the echo command.
  • E. The process ID of the current shell.


Answer : B

Page:    1 / 8   
Total 120 questions