aiotestking uk

102-500 Exam Questions - Online Test


102-500 Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

Guaranteed of 102-500 brain dumps materials and bundle for LPI certification for IT specialist, Real Success Guaranteed with Updated 102-500 pdf dumps vce Materials. 100% PASS LPIC-1 Exam 102 - Part 2 of 2 - version 5.0 exam Today!

Free demo questions for LPI 102-500 Exam Dumps Below:

NEW QUESTION 1

What is the default name of the configuration file for the Xorg X11 server? (Specify the file name only without any path.)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
xorg.conf

NEW QUESTION 2

Which file used by XDM specifies the default wallpaper?

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

Answer: A

NEW QUESTION 3

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 4

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 5

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 6

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 7

Which commands can you use to change a user's account aging information? (Choose THREE correct answers.)

  • A. usermod
  • B. passwd
  • C. chattr
  • D. chage
  • E. chsh

Answer: ABD

NEW QUESTION 8

Of the ways listed, which is the best method to temporarily suspend a user's ability to interactively login?

  • A. Use passwd -d username to give the user an empty password.
  • B. Use chage to expire the user account.
  • C. Change the user's password.
  • D. Add the command exit to the user's .login file.

Answer: B

NEW QUESTION 9

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 10

The presence of what file will temporarily prevent all users except root from logging into the system? (Specify the full name of the file, including path.)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
/etc/nologin

NEW QUESTION 11

Given the following routing table:
102-500 dumps exhibit
How would an outgoing packet to the destination 192.168.2.150 be handled?

  • A. It would be passed to the default router 192.168.178.1 on wlan0.
  • B. It would be directly transmitted on the device eth0.
  • C. It would be passed to the default router 255.255.255.0 on eth0.
  • D. It would be directly transmitted on the device wlan0.
  • E. It would be passed to the router 192.168.1.1 on eth0.

Answer: E

NEW QUESTION 12

Which of the following SQL statements will select the fields name and address from the contacts table?

  • A. SELECT (name, address) FROM contacts;
  • B. SELECT (name address) FROM contacts;
  • C. SELECT name, address FROM contacts;
  • D. SELECT name address FROM contacts;

Answer: C

NEW QUESTION 13

Which command is used to set the hostname of the local system? (Specify ONLY the command without any path or parameters.)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
hostname

NEW QUESTION 14

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 15

What is true about the ntpdate command?

  • A. It is the primary management command for the NTP time server.
  • B. It updates the local system's date (i.
  • C. day, month and year) but not the time (i.
  • D. hours, minutes, seconds).
  • E. It queries one or more NTP time servers and adjusts the system time accordingly.
  • F. It sends the local system time to one or many remote NTP time servers for redistribution.
  • G. It can be used by any user to set the user clock independently of the system clock.

Answer: C

NEW QUESTION 16

Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?

  • A. sshd
  • B. ssh-agent
  • C. ssh-keygen
  • D. ssh-add

Answer: B

NEW QUESTION 17

Which configuration file would be edited to change default options for the OpenSSH server?

  • A. /etc/ssh/sshd_config
  • B. /etc/ssh/ssh
  • C. /etc/ssh/server
  • D. /etc/ssh/ssh_config
  • E. /etc/ssh/ssh_server

Answer: A

NEW QUESTION 18

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 19

How is a display manager started?

  • A. It is started by a user using the command startx.
  • B. It is started like any other system service by the init system.
  • C. It is started by inetd when a remote hosts connects to the X11 port.
  • D. It is started automatically when a X11 user logs in to the system console.

Answer: B

NEW QUESTION 20

On a system using shadowed passwords, the most correct permissions for /etc/passwd are _____ and the most correct permissions for /etc/shadow are ____.

  • A. -rw-r-----, -r--------
  • B. -rw-r--r--, -r--r--r--
  • C. -rw-r--r--, -r--------
  • D. -rw-r--rw-, -r-----r--
  • E. -rw-------, -r--------

Answer: C

NEW QUESTION 21

In an xinetd configuration file, which attribute specifies the network address that will be used to provide the service?

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
bind, interface

NEW QUESTION 22
......

P.S. Certstest now are offering 100% pass ensure 102-500 dumps! All 102-500 exam questions have been updated with correct answers: https://www.certstest.com/dumps/102-500/ (194 New Questions)