LPI 102-500 Torrent 2021
Exam Code: 102-500 (Practice Exam Latest Test Questions VCE PDF)
Exam Name: LPIC-1 Exam 102 - Part 2 of 2 - version 5.0
Certification Provider: LPI
Free Today! Guaranteed Training- Pass 102-500 Exam.
Online LPI 102-500 free dumps demo Below:
NEW QUESTION 1
Which of the following programs can be used to determine the routing path to a given destination?
- A. dig
- B. netstat
- C. ping
- D. route
- E. traceroute
Answer: E
NEW QUESTION 2
Please specify the top directory containing the configuration files for the CUPS printing system. (Specify the full path to the directory.)
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
/etc/cups, /etc/cups/
NEW QUESTION 3
What is true regarding TCP port 23?
- A. Port 23 is the well known port for the telnet service which is a plain text protocol that should no longer be used.
- B. Port 23 is the well known port for the SSH service which provides secure logins.
- C. Port 23 is the well known port for the rlogin service which is SSL secured by default.
- D. Port 23 is the well known port for the system login services which are encrypted when the user runs the starttls command in his login shell.
Answer: A
NEW QUESTION 4
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 5
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 6
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 7
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 8
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 9
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 10
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 11
How many IP-addresses can be used for unique hosts inside the IPv4 subnet 192.168.2.128/28? (Specify the number only without any additional information.)
- A. Mastered
- B. Not Mastered
Answer: A
Explanation:
14
NEW QUESTION 12
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 13
Which of the following configuration files should be modified to set default shell variables for all users?
- A. /etc/bashrc
- B. /etc/profile
- C. ~/.bash_profile
- D. /etc/.bashrc
Answer: B
NEW QUESTION 14
For accessibility assistance, which of the following programs is an on-screen keyboard?
- A. xkb
- B. atkb
- C. GOK
- D. xOSK
Answer: C
NEW QUESTION 15
Which of the following files assigns a user to its primary group?
- A. /etc/pgroup
- B. /etc/shadow
- C. /etc/group
- D. /etc/passwd
- E. /etc/gshadow
Answer: D
NEW QUESTION 16
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 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
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 19
Which configuration file would be edited to change the default options for outbound SSH sessions?
- A. /etc/ssh/sshd_config
- B. /etc/ssh/ssh
- C. /etc/ssh/client
- D. /etc/ssh/ssh_config
- E. /etc/ssh/ssh_client
Answer: D
NEW QUESTION 20
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 21
Why is the correct configuration of a system's time zone important?
- A. Because the conversion of Unix timestamps to local time relies on the time zone configuration.
- 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.
Answer: A
NEW QUESTION 22
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 23
What is true regarding the file ~/.forward?
- A. As it is owned by the MTA and not writable by the user, it must be edited using the editaliases command.
- B. After editing ~/.forward the user must run newaliases to make the mail server aware of the changes.
- C. Using ~/.forward, root may configure any email address whereas all other users may configure only their own addresses.
- D. When configured correctly, ~/.forward can be used to forward each incoming mail to more than one other recipient.
Answer: D
NEW QUESTION 24
Which of the following may occur as a consequence of using the command ifconfig? (Choose THREE correct answers.)
- A. New name servers may be added to the resolver configuration.
- B. Network interfaces may become active or inactive.
- C. The routing table may change.
- D. IP addresses may change.
- E. The system's host name may change.
Answer: BCD
NEW QUESTION 25
......
100% Valid and Newest Version 102-500 Questions & Answers shared by Passcertsure, Get Full Dumps HERE: https://www.passcertsure.com/102-500-test/ (New 194 Q&As)