
Best Preparations of 102-500 Exam 2021 LPIC Level1 Unlimited 195 Questions
Focus on 102-500 All-in-One Exam Guide For Quick Preparation.
NEW QUESTION 98
Which of the following comparison operators for testwork on elements in the file system? (Choose two.)
- A. -eq
- B. -
- C. -z
- D. -f
- E. -lt
Answer: B,D
NEW QUESTION 99
What is the default name of the configuration file for the Xorg X11 server? (Specify the file name only without any path.)
Answer:
Explanation:
xorg.conf
NEW QUESTION 100
Which of the following environment variables can be defined in locale.conf? (Choose two.)
- A. LC_GEOGRAPHY
- B. LC_UTF8
- C. LC_TIME
- D. LC_ALL
- E. LC_USERNAME
Answer: C,D
NEW QUESTION 101
Which of the following connection types, as seen in nmcli connection show, may exist in NetworkManager? (Choose three.)
- A. ethernet
- B. ipv6
- C. tcp
- D. wifi
- E. bridge
Answer: A,D,E
NEW QUESTION 102
Given the following excerpt of the sudoconfiguration:
jane ANY=NOPASSWD: /bin/kill, /bin/id, PASSWD: /sbin/fdisk
Which of the following statements are true? (Choose three.)
- A. Jane can run /bin/killwithout specifying a password.
- B. Jane can run /bin/idonly after specifying her password.
- C. Jane can run /sbin/fdiskafter specifying her password.
- D. Jane can run /sbin/fdisk after specifying root's password.
- E. Jane can run /bin/idwithout specifying her password.
Answer: A,C,E
NEW QUESTION 103
Which of the following files assigns a user to its primary group?
- A. /etc/shadow
- B. /etc/gshadow
- C. /etc/passwd
- D. /etc/group
- E. /etc/pgroup
Answer: C
NEW QUESTION 104
Which of the following sections exists in a systemd timer unit?
- A. [cron]
- B. [Schedule]
- C. [Timer]
- D. [Trigger]
- E. [Events]
Answer: C
NEW QUESTION 105
Which file inside the CUPS configuration directory contains the definition of the printers?
- A. printers.conf
- B. printcap.conf
- C. cupsd.conf
- D. snmp.conf
- E. cups-devices.conf
Answer: A
NEW QUESTION 106
Which of the following are syslog facilities? (Choose two.)
- A. local5
- B. mail
- C. remote
- D. accounting
- E. postmaster
Answer: A,B
NEW QUESTION 107
Which of the following is true regarding the command sendmail?
- A. With any MTA, the sendmail command must be run periodically by the cron daemon.
- B. The sendmail command prints the MTA's queue history of which mails have been sent successfully.
- C. When using systemd, sendmail is an alias to relayctl.
- D. All common MTAs, including Postfix and Exim, provide a sendmail command.
- E. It is only available when the sendmail MTA is installed.
Answer: D
NEW QUESTION 108
What of the following can be done by the command ifconfig? (Choose TWO correct answers.)
- A. Specify the kernel module to be used with a network interface.
- B. Specify which network services are available on a network interface.
- C. Set a network interface active or inactive.
- D. Allow regular users to change the network configuration of a network interface.
- E. Change the netmask used on a network interface.
Answer: C,E
NEW QUESTION 109
Which of the following getent invocations lists all existing users?
- A. getent homes
- B. getent uids
- C. getent passwd
- D. getent users
- E. getent logins
Answer: C
NEW QUESTION 110
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: B,D
NEW QUESTION 111
Which of the following configuration files should be modified to set default shell variables for all users?
- A. /etc/profile
- B. /etc/bashrc
- C. ~/.bash_profile
- D. /etc/.bashrc
Answer: A
NEW QUESTION 112
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 MESSAGE="pt"
- B. export ALL_MESSAGES="pt"
- C. export UI_MESSAGES="pt"
- D. export LC_MESSAGES="pt"
- E. export LANGUAGE="pt"
Answer: D
NEW QUESTION 113
What is the purpose of a screen reader?
- A. It manages and displays files that contain e-books.
- B. It displays lines and markers to help people use speed reading techniques.
- C. It manages virtual keyboards on touch screen displays.
- D. It reads the parameters of the attached monitors and creates an appropriate X11 configuration.
- E. It reads displayed text to accommodate the needs of blind or visually impaired people.
Answer: E
Explanation:
Explanation
NEW QUESTION 114
Which of the following commands shows the current color depth of the X Server?
- A. cat /etc/X11
- B. xwininfo
- C. xcd
- D. xcolordepth
- E. xcdepth
Answer: B
NEW QUESTION 115
FILL BLANK
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 116
What is true regarding the file ~/.forward?
- A. As ~/.forward 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. By default, only ~/.forward files of users in the group mailq are processed while all other user's ~/
.forward files are ignored. - D. When configured correctly ~/.forward can be used to forward each incoming mail to one or more other recipients.
- E. Using ~/.forward, root may configure any email address whereas all other users may configure only their own addresses.
Answer: D
NEW QUESTION 117
Which of the following are commonly used Mail Transfer Agent (MTA) applications? (Choose THREE correct answers.)
- A. Sendmail
- B. SMTPd
- C. Exim
- D. Postfix
- E. Procmail
Answer: A,C,D
NEW QUESTION 118
Please specify the top directory containing the configuration files for the CUPS printing system. (Specify the full path to the directory.)
Answer:
Explanation:
/etc/cups, /etc/cups/
NEW QUESTION 119
Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?
- A. 0 * * * 30 myscript
- B. 30 0-23 * * 0 myscript
- C. 30 * * * 6 myscript
- D. 30 0 * * 0 myscript
- E. 0 0-23 * * 30 myscript
Answer: B
NEW QUESTION 120
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. This script provides identical functionality as the file at that location.
- B. The program at that location will be used to process the script.
- C. This script will self-extract into a file at that location.
- D. The file at that location was used to make the script.
Answer: B
NEW QUESTION 121
Which command, available with all MTAs, is used to list the contents of the MTA's mail queue? (Specify ONLY the command without any path or parameters.)
Answer:
Explanation:
mailq, /usr/bin/mailq, sendmail -bp, /usr/sbin/sendmail -bp, /usr/lib/sendmail -bp, sendmail,
/usr/sbin/sendmail, /usr/lib/sendmail
NEW QUESTION 122
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 converts bitmap images from one format to another such as PNG to JPEG.
- C. It displays additional meta information from icon files ending in .ico.
- D. It converts files from one character encoding to another.
- E. It changes the mode of an inode in the ext4 file system.
Answer: D
NEW QUESTION 123
......
Guaranteed Success with 102-500 Dumps: https://www.testsimulate.com/102-500-study-materials.html