102-500 Premium Bundle

102-500 Premium Bundle

LPIC-1 Exam 102 - Part 2 of 2 - version 5.0 Certification Exam

4.5 
(48915 ratings)
0 QuestionsPractice Tests
0 PDFPrint version
December 4, 2024Last update

LPI 102-500 Free Practice Questions

Act now and download your LPI 102-500 test today! Do not waste time for the worthless LPI 102-500 tutorials. Download Replace LPI LPIC-1 Exam 102 - Part 2 of 2 - version 5.0 exam with real questions and answers and begin to learn LPI 102-500 with a classic professional.

Free 102-500 Demo Online For LPI Certifitcation:

NEW QUESTION 1

Which of the following commands will help identify a broken router between the local and the remote machine?

  • A. ps
  • B. netstat
  • C. nslookup
  • D. ifconfig
  • E. traceroute

Answer: E

NEW QUESTION 2

What argument to the -type option of find will match files that are symbolic links? (Specify only the argument and no other options or words.)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
l

NEW QUESTION 3

What entry can you add to syslog.conf file to have all syslog messages generated by your system go to virtual console 12?

  • A. *.* /dev/tty12
  • B. /var/log/messages | /dev/tty12
  • C. | /dev/tty12
  • D. syslog tty12
  • E. mail.* /dev/tty12

Answer: A

NEW QUESTION 4

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 5

Which of the following keywords can be used in the file /etc/nsswitch.conf to specify a source for host name lookups? (Choose TWO correct answers.)

  • A. resolv
  • B. dns
  • C. remote
  • D. files
  • E. hosts

Answer: BD

NEW QUESTION 6

What entry can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12?

  • A. *.* /dev/tty12
  • B. /var/log/messages | /dev/tty12
  • C. | /dev/tty12
  • D. syslog tty12
  • E. mail.* /dev/tty12

Answer: A

NEW QUESTION 7

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 8

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

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
server

NEW QUESTION 9

Which file specifies the user accounts that can NOT submit jobs via at or batch? (Provide the full path and filename)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
/etc/at.deny

NEW QUESTION 10

Which of the following commands can be used to limit the amount of memory a user may use?

  • A. umask
  • B. usermod
  • C. ulimit
  • D. passwd
  • E. chage

Answer: C

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

What benefit does an alias in bash provide?

  • A. It provides faster lookups for commands in the system directory.
  • B. It creates a local copy of a file from another directory.
  • C. It hides what command you are running from others.
  • D. It allows a string to be substituted for the first word of a simple command.

Answer: D

NEW QUESTION 13

Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)

  • A. ~/.bashconf
  • B. ~/.bashrc
  • C. ~/.bashdefaults
  • D. ~/.bash_etc
  • E. ~/.bash_profile

Answer: BE

NEW QUESTION 14

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 15

Which command is used to add an empty group to the system? (Specify ONLY the command without any path or parameters.)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
groupadd, /usr/sbin/groupadd

NEW QUESTION 16

Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?

  • A. 0 * * * 30 myscript
  • B. 30 * * * 6 myscript
  • C. 30 0 * * 0 myscript
  • D. 30 0-23 * * 0 myscript
  • E. 0 0-23 * * 30 myscript

Answer: D

NEW QUESTION 17

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

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

Answer: B

NEW QUESTION 18

What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)

  • A. The user bob is removed from the system's user database.
  • B. The user bob's home directory is removed.
  • C. The locate database is updated to drop files owned by bob.
  • D. All files owned by bob are remove from all mounted filesystems.
  • E. In case bob was the last member of a group, that group is deleted.

Answer: AB

NEW QUESTION 19

Which keyword must be listed in the hosts option of the Name Service Switch configuration file in order to make host lookups consult the /etc/hosts file?

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
files

NEW QUESTION 20

By default, the contents of which directory will be copied to a new user's home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
/etc/skel

NEW QUESTION 21

What output will the following command produce? seq 1 5 20

  • A. 161116
  • B. 151015
  • C. 1234
  • D. 2345
  • E. 5101520

Answer: A

NEW QUESTION 22

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 23

With IPv6, how many bits have been used for the interface identifier of an unicast address? (Specify the number using digits only.)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
64

NEW QUESTION 24

Which command can be used to delete a group from a Linux system?

  • A. groupdel
  • B. groupmod
  • C. groups
  • D. groupedit

Answer: A

NEW QUESTION 25

Which of the following are tasks handled by a display manager like XDM or KDM? (Choose TWO correct answers.)

  • A. Start and prepare the desktop environment for the user.
  • B. Configure additional devices like new monitors or projectors when they are attached.
  • C. Handle the login of a user.
  • D. Lock the screen when the user was inactive for a configurable amount of time.
  • E. Create an X11 configuration file for the current graphic devices and monitors.

Answer: AC

NEW QUESTION 26
......

Recommend!! Get the Full 102-500 dumps in VCE and PDF From Simply pass, Welcome to Download: https://www.simply-pass.com/LPI-exam/102-500-dumps.html (New 194 Q&As Version)


START 102-500 EXAM