LPI 102-500 Braindump 2021

We provide real 102-500 exam questions and answers braindumps in two formats. Download PDF & Practice Tests. Pass LPI 102-500 Exam quickly & easily. The 102-500 PDF type is available for reading and printing. You can print more and practice many times. With the help of our LPI 102-500 dumps pdf and vce product and material, you can easily pass the 102-500 exam.

Online 102-500 free questions and answers of New Version:

NEW QUESTION 1

What is the main difference between the batch and at commands?

  • A. The batch command will run multiple times.The at command will only run once.
  • B. The batch command will run when system load is lo
  • C. The at command runs at a specific time.
  • D. The at command reads commands from standard inpu
  • E. The batch command requires a command line argument.
  • F. The at command e-mails results to the use
  • G. The batch command logs results to syslog.

Answer: B

NEW QUESTION 2

What command displays all aliases defined in the current shell? (Specify the command without any path information)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
alias, alias -p

NEW QUESTION 3

Your senior administrator asked you to change the default background of his machine, which uses XDM. Which file would you edit to achieve this?

  • A. /etc/X11/xdm/Xsetup
  • B. /etc/X11/xdm.conf
  • C. /etc/X11/xdm/Defaults
  • D. /etc/X11/defaults.conf

Answer: A

NEW QUESTION 4

Which of the following fields can be found in the /etc/group file? (Choose THREE correct answers.)

  • A. The list of users that belong to the group.
  • B. The home directory of the group.
  • C. The name of the group.
  • D. The description of the group.
  • E. The password of the group.

Answer: ACE

NEW QUESTION 5

Which of the following commands lists all defined variables and functions within Bash?

  • A. env
  • B. set
  • C. env -a
  • D. echo $ENV

Answer: B

NEW QUESTION 6

Which of the following statements is valid in the file /etc/nsswitch.conf?

  • A. multi on
  • B. 192.168.168.4 dns-server
  • C. hosts: files dns
  • D. include /etc/nsswitch.d/

Answer: C

NEW QUESTION 7

What keyword is missing from this code sample of a shell script?
______ i in *.txt; do
echo $i
done

  • A. for
  • B. loop
  • C. until
  • D. while

Answer: A

NEW QUESTION 8

Which of the following are commonly used Mail Transfer Agent (MTA) applications? (Choose THREE correct answers.)

  • A. Postfix
  • B. Procmail
  • C. Sendmail
  • D. Exim
  • E. SMTPd

Answer: ACD

NEW QUESTION 9

Which of the following is the best way to list all defined shell variables?

  • A. env
  • B. set
  • C. env -a
  • D. echo $ENV

Answer: B

NEW QUESTION 10

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.)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
lpq, /usr/bin/lpq, lpstat, /usr/bin/lpstat

NEW QUESTION 11

Which command will set the local machine's timezone to UTC?

  • A. cat UTC > /etc/timezone
  • B. ln -s /usr/share/zoneinfo/UTC /etc/localtime
  • C. date --timezone=UTC
  • D. mv /usr/timezone/UTC /etc

Answer: B

NEW QUESTION 12

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

NEW QUESTION 13

Which crontab entry could be used to set the system time at regular intervals?

  • A. 1 0 * * * date $d $t $24
  • B. 1 0 * * * ntpdate ntp1.digex.net
  • C. 1 0 * * * date ntp1.digex.net
  • D. 1 0 * * * runcron date ntp1.digex.net
  • E. 1 0 * * * settime $d $t $24

Answer: B

NEW QUESTION 14

What word is missing from the following SQL statement?
_____ count(*) from tablename;
(Please specify the missing word using lower-case letters only.)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
select

NEW QUESTION 15

Which of the following details is NOT provided in any output from the netstat utility?

  • A. broadcast services
  • B. interface statistics
  • C. masquerading connections
  • D. network connections
  • E. routing tables

Answer: A

NEW QUESTION 16

Which environment variable should be set in order to change the time zone for the commands run from within the environment variable's scope? (Specify the variable name only.)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
TZ

NEW QUESTION 17

Which TWO statements about crontab are true?

  • A. Every user may have their own crontab.
  • B. Changing a crontab requires a reload/restart of the cron daemon.
  • C. The cron daemon reloads crontab files automatically when necessary.
  • D. hourly is the same as "0 * * * *".
  • E. A cron daemon must run for each existing crontab.

Answer: AC

NEW QUESTION 18

What is a purpose of an SSH host key?

  • A. It must be sent by any SSH client in addition to a user key in order to identify the client's host.
  • B. It provides the server's identity information to connecting SSH clients.
  • C. It is the root key by which all user SSH keys must be signed.
  • D. It authenticates any user that logs into a remote machine from the key's host.
  • E. It is used by system services like cron, syslog or a backup job to automatically connect to remote hosts.

Answer: B

NEW QUESTION 19

The ______ command is used to add a group to the system.

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
groupadd, /usr/sbin/groupadd

NEW QUESTION 20

Why is /etc/shadow not world readable if the passwords are stored in an encrypted fashion?

  • A. The encrypted passwords are still subject to brute force attacks.
  • B. This is just for historical reasons.
  • C. There is other information in the file that needs to be kept secret.
  • D. The passwords can be decrypted by anyone with root access.

Answer: A

NEW QUESTION 21

After adding a new email alias to the configuration, which command must be run in order to ensure the MTA knows about it? (Specify the command without any path but including all required parameters.)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
newaliases, sendmail -bi

NEW QUESTION 22

What output will the following command sequence produce? echo '1 2 3 4 5 6' | while read a b c; do
echo result: $c $b $a; done

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

Answer: A

NEW QUESTION 23

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: A

NEW QUESTION 24
......

100% Valid and Newest Version 102-500 Questions & Answers shared by Exambible, Get Full Dumps HERE: https://www.exambible.com/102-500-exam/ (New 194 Q&As)