
[2022] Pass Lpi 102-500 Exam Updated 195 Questions
Get 2022 Updated Free Lpi 102-500 Exam Questions and Answer
NEW QUESTION 76
To exclude all log messages of a given logging facility, you should use a logging priority of _____ .
Answer:
Explanation:
none
NEW QUESTION 77
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.)
Answer:
Explanation:
l
NEW QUESTION 78
What is true regarding the file ~/.forward?
- A. Using ~/.forward, root may configure any email address whereas all other users may configure only their own addresses.
- B. By default, only ~/.forward files of users in the group mailq are processed while all other user's ~/
.forward files are ignored. - C. After editing ~/.forward the user must run newaliases to make the mail server aware of the changes.
- D. When configured correctly ~/.forward can be used to forward each incoming mail to one or more other recipients.
- E. As ~/.forward is owned by the MTA and not writable by the user, it must be edited using the editaliases command.
Answer: D
NEW QUESTION 79
Which of the following tasks can the date command accomplish? (Choose two.)
- A. Calculate the time span between two dates.
- B. Set the system's date and time.
- C. Set the system's date but not the time.
- D. Print a calendar for a month or a year.
- E. Display time in a specific format.
Answer: B,E
NEW QUESTION 80
Which of the following statements is valid in the file /etc/nsswitch.conf?
- A. 192.168.168.4 dns-server
- B. multi on
- C. include /etc/nsswitch.d/
- D. hosts: files dns
Answer: D
NEW QUESTION 81
What is true regarding TCP port 23?
- A. Port 23 is the well known port for the SSH service which provides secure logins.
- B. Port 23 is the well known port for the telnet service which is a plain text protocol that should no longer be used.
- C. 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.
- D. Port 23 is the well known port for the rlogin service which is SSL secured by default.
Answer: B
NEW QUESTION 82
If an alias ls exists, which of the following commands updates the alias to point to the command ls -l instead of the alias's current target?
- A. alias --update ls ls='ls -l'
- B. set ls='ls -l'
- C. alias ls='ls -l'
- D. alias --force ls='ls -l'
- E. realias ls='ls -l'
Answer: C
NEW QUESTION 83
Which command makes the shell variable named VARIABLE visible to subshells?
- A. set VARIABLE
- B. export VARIABLE
- C. export $VARIABLE
- D. set $VARIABLE
- E. env VARIABLE
Answer: B
NEW QUESTION 84
Which configuration file contains the default options for SSH clients?
- A. /etc/ssh/ssh
- B. /etc/ssh/ssh_client
- C. /etc/ssh/client
- D. /etc/ssh/ssh_config
- E. /etc/ssh/sshd_config
Answer: D
NEW QUESTION 85
What is NOT contained in the locale setting of the operating system?
- A. timezone
- B. thousands separator
- C. language
- D. currency symbol
Answer: A
NEW QUESTION 86
What is true about the file /etc/localtime?
- A. It is a symlink to /sys/device/clock/ltime and always contains the current local time.
- B. It is either a symlink to or a copy of a timezone information file such as
/usr/share/zoneinfo/Europe/Berlin. - C. It is a plain text file containing a string such as Europe/Berlin.
- D. It is created and maintained by the NTP service based on the geolocation of the system's IP address.
Answer: B
NEW QUESTION 87
Depending on a system's configuration, which of the following files can be used to enable and disable network services running on this host?
- A. /etc/services
- B. /etc/ports
- C. /etc/xinetd.conf
- D. /etc/host.conf
- E. /etc/profile
Answer: A
NEW QUESTION 88
FILL BLANK
The presence of what file will temporarily prevent all users except root from logging into a system? (Specify the full name of the file, including path.)
Answer:
Explanation:
/sbin/nologin
NEW QUESTION 89
You are looking into a new script you received from your senior administrator. In the very first line you notice a #! followed by a file path. This indicates that:
- A. The file at that location was used to make the script.
- B. This script provides identical functionality as the file at that location.
- C. This script will self-extract into a file at that location.
- D. The program at that location will be used to process the script.
Answer: D
NEW QUESTION 90
Which of the following SQL queries counts the number of occurrences for each value of the field order_type in the table orders?
- A. SELECT order_type,COUNT(*) FROM orders GROUP BY order_type;
- B. SELECT COUNT(*) FROM orders ORDER BY order_type;
- C. COUNT(SELECT order_type FROM orders);
- D. SELECT AUTO_COUNT FROM orders COUNT order_type;
- E. SELECT order_type,COUNT(*) FROM orders WHERE order_type=order_type;
Answer: A
NEW QUESTION 91
Which of the following commands shows the current color depth of the X Server?
- A. xcdepth
- B. xcd
- C. xwininfo
- D. cat /etc/X11
- E. xcolordepth
Answer: C
NEW QUESTION 92
Which of the following commands can be used to limit the amount of memory a user may use?
- A. chage
- B. umask
- C. usermod
- D. passwd
- E. ulimit
Answer: E
Explanation:
Explanation/Reference:
NEW QUESTION 93
FILL BLANK
What option to useradd creates a new user's home directory and provisions it with a set of standard files?
(Specify only the option name without any values or parameters.)
Answer:
Explanation:
-D
NEW QUESTION 94
What the echo $$ command?
- A. The process ID of the current shell.
- B. The process ID for the following command.
- C. The process ID of the echo command.
- D. The process ID of the last command which has been placed in the background.
- E. The process ID of the last command executed.
Answer: A
NEW QUESTION 95
Which file inside the CUPS configuration directory contains the settings of the printers?
- A. printers.conf
- B. cups-devices.conf
- C. cupsd.conf
- D. printcap.conf
- E. snmp.conf
Answer: A
NEW QUESTION 96
Which command is used to set the hostname of the local system? (Specify ONLY the command without any path or parameters.)
Answer:
Explanation:
hostname
NEW QUESTION 97
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.)
Answer:
Explanation:
TZ
NEW QUESTION 98
What is the purpose of the iconv command?
- A. It verifies that the root directory tree complies to all conventions from the Filesystem Hierarchy Standard (FHS).
- B. It changes the mode of an inode in the ext4 file system.
- C. It converts bitmap images from one format to another such as PNG to JPEG.
- D. It displays additional meta information from icon files ending in .ico.
- E. It converts files from one character encoding to another.
Answer: E
NEW QUESTION 99
FILL BLANK
Which file is processed by newaliases? (Specify the full name of the file, including path.)
Answer:
Explanation:
/etc/mail/aliases
NEW QUESTION 100
......
Verified 102-500 exam dumps Q&As with Correct 195 Questions and Answers: https://www.exams4collection.com/102-500-latest-braindumps.html
102-500 Dumps PDF and Test Engine Exam Questions: https://drive.google.com/open?id=1-kfy9a7jPOv8aDaBFkhXxsI3qQ-m16MV
