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

certleader.com

Precise of 102-500 exam guide materials and faq for LPI certification for candidates, 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!

Also have 102-500 free dumps questions for you:

NEW QUESTION 1

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 2

After issuing:
function myfunction { echo $1 $2 ; }
in Bash, which output does:
myfunction A B C
Produce?

  • A. A B
  • B. A B C
  • C. A C
  • D. B C
  • E. C B A

Answer: A

NEW QUESTION 3

Each entry in a crontab must end with what character?

  • A. Tab
  • B. Space
  • C. Backslash
  • D. Newline

Answer: D

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

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 6

What command should be used to print a listing of email in the system's mail queue?

  • A. lpq
  • B. mailq
  • C. mlq
  • D. sendmail –l

Answer: B

NEW QUESTION 7

What is the purpose of the Sticky Keys feature in X?

  • A. To assist users who have difficulty holding down multiple keys at once
  • B. To prevent repeated input of a single character if the key is held down
  • C. To ignore brief keystrokes according to a specified time limit
  • D. To repeat the input of a single character

Answer: A

NEW QUESTION 8

Which of the following words is used to restrict the records that are returned from a SELECT query based on a supplied criteria for the values in the records?

  • A. LIMIT
  • B. FROM
  • C. WHERE
  • D. IF

Answer: C

NEW QUESTION 9

The X11 configuration file xorg.conf is grouped into sections. How is the content of the section SectionName associated with that section?

  • A. It is placed in curly brackets as in Section SectionName { ... }.
  • B. It is placed between a line containing Section "SectionName" and a line containing EndSection.
  • C. It is placed between the tags <Section name="SectionName"> and </Section>
  • D. It is placed after the row [SectionName].
  • E. It is placed after an initial unindented Section "SectionName" and must be indented by exactly one tab character.

Answer: B

NEW QUESTION 10

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 11

Which directory in /etc is used to keep a sample copy of files and directories for when a new user has a home directory created? (Please provide the full path)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
/etc/skel, /etc/skel/

NEW QUESTION 12

With X11 forwarding in ssh, what environment variable is automatically set in the remote host shell that is not set when X11 forwarding is not enabled? (Specify only the environment variable without any additional commands or values.)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
DISPLAY, $DISPLAY

NEW QUESTION 13

Which of the following commands should be added to /etc/bash_profile in order to change the language of messages for an internationalized program to Portuguese (pt)?

  • A. export LANGUAGE="pt"
  • B. export MESSAGE="pt"
  • C. export UI_MESSAGES="pt"
  • D. export LC_MESSAGES="pt"
  • E. export ALL_MESSAGES="pt"

Answer: D

NEW QUESTION 14

In which file, if present, must all users be listed that are allowed to use the cron scheduling system? (Specify the full name of the file, including path.)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
/etc/cron.allow

NEW QUESTION 15

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 16

What is the purpose of the file /etc/profile?

  • A. It contains the welcome message that is displayed after login.
  • B. It contains security profiles defining which users are allowed to log in.
  • C. It contains environment variables that are set when a user logs in.
  • D. It contains default application profiles for users that run an application for the first time.

Answer: C

NEW QUESTION 17

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 18

A French user has installed the French language pack, but currencies are still being displayed with a leading '$' sign in his spreadsheets. What must be done to fix this?

  • A. Alter the locale.
  • B. Set the timezone correctly.
  • C. Edit /etc/currency.
  • D. Reinstall the French language pack.

Answer: A

NEW QUESTION 19

Which file contains a set of services and hosts that will be allowed to connect to the server by going through a TCP Wrapper program such as tcpd? (Specify the full name of the file, including path.)https://lh3.googleusercontent.com/-5cd-clmKnbk/AAAAAAAAAAI/AAAAAAAAADM/-SXesH19Ido/s4

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
/etc/hosts.allow

NEW QUESTION 20

What word is missing from the following SQL statement?
insert into tablename ________ (909, 'text');
(Please specify the missing word using lower-case letters only.)

  • A. Mastered
  • B. Not Mastered

Answer: A

Explanation:
VALUES, values

NEW QUESTION 21

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

NEW QUESTION 22

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

Thanks for reading the newest 102-500 exam dumps! We recommend you to try the PREMIUM Certshared 102-500 dumps in VCE and PDF here: https://www.certshared.com/exam/102-500/ (194 Q&As Dumps)