LPI Level 1 v1.0

Page:    1 / 8   
Exam contains 120 questions

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

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


Answer : A

Why is the correct configuration of a systemג€™s time zone important?

  • A. Because the timezone is included in checksum calculations and timezone changes invalidate existing checksums.
  • 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.
  • E. Because the conversion of Unix timestamps to local time relies on the time zone configuration.


Answer : E

FILL BLANK -
Which command, available with all sendmail-compatible MTAs, is used to list the contents of the MTAג€™s mail queue? (Specify only the command without any path or parameters.)



Answer : mailq

FILL BLANK -
What is the top-level directory which contains the configuration files for CUPS? (Specify the full path to the directory.)



Answer : /etc/cups/ cups-files.conf

Which of the following commands lists all queued print jobs?

  • A. lpd
  • B. lpr
  • C. lp
  • D. lsq
  • E. lpq


Answer : E

Which of the following entries in /etc/syslog.conf writes all mail related events to the file /var/log/maillog and sends all critical events to the remote server logger.example.com?

  • A. mail.* /var/log/maillog mail,crit @logger.example.org
  • B. mail.* /var/log/maillog mail.crit syslog://logger.example.org
  • C. mail /var/log/maillog mail.crit @logger.example.org
  • D. mail.* /var/log/maillog mail.crit @logger.example.org
  • E. mail * /var/log/maillog mail crit @logger.example.org


Answer : D

FILL BLANK -
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 protocols is related to the term open relay?

  • A. SMTP
  • B. POP3
  • C. NTP
  • D. IMAP
  • E. LDAP


Answer : A

Which of the following commands displays all environment and shell variables?

  • A. getargs
  • B. lsenv
  • C. ls
  • D. env
  • E. lsshell


Answer : D

Which of the following comparison operators for test work on elements in the file system? (Choose two.)

  • A. ג€"z
  • B. ג€"eq
  • C. ג€"d
  • D. ג€"f
  • E. ג€"lt


Answer : CD

What information is provided by the echo $$ command?

  • A. The process ID of the current shell.
  • B. The process ID for the following command.
  • C. The process ID of the last command executed.
  • D. The process ID of the last command which has been placed in the background.
  • E. The process ID of the echo command.


Answer : A

Which command makes the shell variable named VARIABLE visible to subshells?

  • A. export $VARIABLE
  • B. env VARIABLE
  • C. set $VARIABLE
  • D. set VARIABLE
  • E. export VARIABLE


Answer : E

What output is produced by the following command sequence?
echo ג€˜1 2 3 4 5 6ג€™ | while read a b c; do
echo result $c $b $a;
done

  • A. result: 6 5 4
  • B. result: 1 2 3 4 5 6
  • C. result: 3 4 5 6 2 1
  • D. result: 6 5 4 3 2 1
  • E. result: 3 2 1


Answer : C

Which of the following configuration files should be modified to globally set shell variables for all users?

  • A. /etc/profile
  • B. /etc/bashrc
  • C. ~/.bash_profile
  • D. /etc/.bashrc
  • E. /etc/shellenv


Answer : A

What output does the command seq 10 produce?

  • A. A continuous stream of numbers increasing in increments of 10 until the command is stopped.
  • B. It creates no output because a second parameter is missing.
  • C. The number 0 through 9 with one number per line.
  • D. The number 10 to standard output.
  • E. The numbers 1 through 10 with one number per line.


Answer : E

Page:    1 / 8   
Exam contains 120 questions

Talk to us!


Have any questions or issues ? Please dont hesitate to contact us

Certlibrary.com is owned by MBS Tech Limited: Room 1905 Nam Wo Hong Building, 148 Wing Lok Street, Sheung Wan, Hong Kong. Company registration number: 2310926
Certlibrary doesn't offer Real Microsoft Exam Questions. Certlibrary Materials do not contain actual questions and answers from Cisco's Certification Exams.
CFA Institute does not endorse, promote or warrant the accuracy or quality of Certlibrary. CFA® and Chartered Financial Analyst® are registered trademarks owned by CFA Institute.
Terms & Conditions | Privacy Policy