LPI Level 1 Exam 102, Junior Level Linux Certification, Part 2 of 2 v6.0 (102-400)

Page:    1 / 8   
Total 120 questions

Which of the following commands is used to rotate, compress, and mail system logs?

  • A. rotatelog
  • B. striplog
  • C. syslogd --rotate
  • D. logrotate
  • E. logger


Answer : D

Which of the following are syslog facilities? (Choose TWO correct answers.)

  • A. local7
  • B. mail
  • C. advanced
  • D. postmaster
  • E. remote


Answer : A,B

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

  • A. The skew in time between the system clock and the hardware clock.
  • B. The skew in time between the system clock and the reference clock.
  • C. Changes in the time zone of the current computer's location.
  • D. Adjustments needed to support Daylight Saving Time.


Answer : B

What is true regarding the file ~/.forward?

  • A. As it is owned by the MTA and not writable by the user, it must be edited using the editaliases command.
  • 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. When configured correctly, ~/.forward can be used to forward each incoming mail to more than one other recipient.


Answer : D

After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it fails to print. What command can be used to display the status of the printer's queue? (Specify ONLY the command without any path or parameters.)



Answer : lpq, /usr/bin/lpq, lpstat, /usr/bin/lpstat

Which option in the /etc/ntp.conf file specifies an external NTP source to be queried for time information? (Specify ONLY the option without any values or parameters.)



Answer : server

Which of the following is a legacy program provided by CUPS for sending files to the printer queues on the command line?

  • A. lpd
  • B. lpp
  • C. lpq
  • D. lpr


Answer : D

Which command, available with all MTAs, is used to list the contents of the MTA's mail queue? (Specify ONLY the command without any path or parameters.)



Answer : mailq, /usr/bin/mailq, sendmail -bp, /usr/sbin/sendmail -bp, /usr/lib/sendmail -bp, sendmail, /usr/sbin/sendmail, /usr/lib/sendmail

What is the purpose of the command mailq?

  • A. It fetches new emails from a remote server using POP3 or IMAP.
  • B. It is a multi-user mailing list manager.
  • C. It is a proprietary tool contained only in the qmail MTA.
  • D. It queries the mail queue of the local MTA.
  • E. It is a command-line based tool for reading and writing emails.


Answer : D

Which of the following tasks can be accomplished using the command date? (Choose
TWO correct answers.)

  • A. Synchronize the hardware and system clocks.
  • B. Output date and time in different formats.
  • C. Set the system clock.
  • D. Set the hardware clock.
  • E. Update the time via NTP.


Answer : B,C

What is true regarding the command sendmail?

  • A. With any MTA, the sendmail command must be run periodically by the cron daemon.
  • B. All MTAs, including Postfix and Exim, provide a sendmail command.
  • C. The sendmail command prints the MTAs queue history of which mails have been sent successfully.
  • D. It is only available when the sendmail MTA is installed.


Answer : B

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

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


Answer : D

Why is the correct configuration of a system's time zone important?

  • A. Because the conversion of Unix timestamps to local time relies on the time zone configuration.
  • B. Because the time zone is saved as part of the modification times of files and cannot be changed after a file is created.
  • C. Because the environment variables LANG and LC_MESSAGES are, by default, set according to the time zone.
  • D. Because NTP chooses servers nearby based on the configured time zone.


Answer : A

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



Answer : hwclock, /sbin/hwclock, /usr/sbin/hwclock Topic 5, Networking Fundamentals

How many IP-addresses can be used for unique hosts inside the IPv4 subnet
192.168.2.128/28? (Specify the number only without any additional information.)



Answer : 14

Page:    1 / 8   
Total 120 questions