Updated Oct-2021 Test Engine to Practice Test for 102-500 Exam Questions and Answers! [Q107-Q122]

Share

Updated Oct-2021 Test Engine to Practice Test for 102-500 Exam Questions and Answers!

LPIC-1 Exam 102, Part 2 of 2, version 5.0 Certification Sample Questions and Practice Exam

NEW QUESTION 107
FILL BLANK
Which option in the /etc/ntp.conf file specifies an external NTP source to be queried for time information?
(Specify only the option without any values or parameters.)

Answer:

Explanation:
server

 

NEW QUESTION 108
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 109
Which file inside the CUPS configuration directory contains the settings of the printers?

  • A. printers.conf
  • B. printcap.conf
  • C. cupsd.conf
  • D. snmp.conf
  • E. cups-devices.conf

Answer: A

 

NEW QUESTION 110
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 111
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 112
What is NOT contained in the locale setting of the operating system?

  • A. language
  • B. currency symbol
  • C. timezone
  • D. thousands separator

Answer: C

 

NEW QUESTION 113
If neither cron.allow nor cron.deny exist in /etc/, which of the following is true?

  • A. The cron daemon will refuse to start and report missing files in the system's logfile.
  • B. The default settings of /etc/crond.conf define whether or not user specific crontabs are generally allowed or not.
  • C. Without additional configuration, only root may create user specific crontabs.
  • D. When a user creates a user specific crontab the system administrator must approve it explicitly.
  • E. Without additional configuration, all users may create user specific crontabs.

Answer: B

 

NEW QUESTION 114
Which of the following configuration files should be modified to globally set shell variables for all users?

  • A. ~/.bash_profil
  • B. /etc/profile
  • C. /etc/bashrc
  • D. /etc/shellenv
  • E. /etc/.bashrc

Answer: B

 

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

Answer:

Explanation:
VALUES, values

 

NEW QUESTION 116
On a machine running several X servers, how do programs identify the different instances of the X11 server?

  • A. By a device name like /dev/X11/xservers/1.
  • B. By the name of the user that runs the X server like x11:bob.
  • C. By a display name like: 1.
  • D. By a fixed UUID that is defined in the X11 configuration file.
  • E. By a unique IPv6 address from the fe80::/64subnet.

Answer: C

Explanation:
Explanation

 

NEW QUESTION 117
What is true regarding public and private SSH keys? (Choose two.)

  • A. To maintain the private key's confidentiality, the SSH key pair must be created by its owner.
  • B. To allow remote logins, the user's private key must be copied to the remote server.
  • C. The private key must never be revealed to anyone.
  • D. For each user account, there is exactly one key pair that can be used to log into that account.
  • E. Several different public keys may be generated for the same private key.

Answer: A,C

 

NEW QUESTION 118
What is true regarding the statement beginning with #! that is found in the first line of script? (Choose two.)

  • A. It prevents the scripts from being executed until the ! is removed.
  • B. It specifies the path and the arguments of the interpreter used to run the script.
  • C. it triggers the installation of the script's interpreter.
  • D. It defines the character encoding of the script.
  • E. It is a comment that is ignored by the script interpreter.

Answer: B,C

 

NEW QUESTION 119
Each entry in a crontab must end with what character?

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

Answer: D

 

NEW QUESTION 120
FILL BLANK
Which parameter is missing in the command
ip link set ____ dev eth0
to activate the previously inactive network interface eth0? (Specify the parameter only without any command, path or additional options.)

Answer:

Explanation:
up

 

NEW QUESTION 121
What information related to a user account is modified using the chage command?

  • A. Default ownership for new files
  • B. Set of commands available to the user
  • C. Group membership
  • D. Default permissions for new files
  • E. Password expiry information

Answer: E

 

NEW QUESTION 122
......

Certification dumps LPIC Level1 102-500 guides - 100% valid: https://www.topexamcollection.com/102-500-vce-collection.html

100% Pass Your 102-500 LPIC-1 Exam 102, Part 2 of 2, version 5.0 at First Attempt with TopExamCollection: https://drive.google.com/open?id=1aQn4GxS7-8btmlAHT4brKLFnrMFaiuxn