Vcehome > Lpi > LPI Other Certification > 102-500 > 102-500 Online Practice Questions and Answers

102-500 Online Practice Questions and Answers

Questions 4

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

Browse 199 Q&As
Questions 5

Which of the following steps prevents a user from obtaining an interactive login session?

A. Run the command chsh -s /bin/false with the user name.

B. Set the UID for the user to 0.

C. Remove the user from the group staff.

D. Add the user to /etc/noaccess.

E. Create a .nologin file in the user's home directory.

Browse 199 Q&As
Questions 6

Which of the following commands can be used to convert text files in one character encoding to another character encoding?

A. cat

B. convert

C. dd

D. iconv

E. utf2utf

Browse 199 Q&As
Questions 7

Each entry in a crontab must end with what character?

A. Tab

B. Space

C. Backslash

D. Newline

Browse 199 Q&As
Questions 8

What is the purpose of the command mailq?

A. It fetches new emails from a remote server using POP3 or IMAP.

B. It is a multi-user mailing list manager.

C. It is a proprietary tool contained only in the qmail MTA.

D. It queries the mail queue of the local MTA.

E. It is a command-line based tool for reading and writing emails.

Browse 199 Q&As
Questions 9

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

Browse 199 Q&As
Questions 10

What of the following can be done by the command ifconfig? (Choose TWO correct answers.)

A. Set a network interface active or inactive.

B. Specify the kernel module to be used with a network interface.

C. Allow regular users to change the network configuration of a network interface.

D. Change the netmask used on a network interface.

E. Specify which network services are available on a network interface.

Browse 199 Q&As
Questions 11

Which of the following commands configure network interfaces based on the system's existing distribution-specific configuration files? (Choose two.)

A. ifconf

B. ifdown

C. ifpause

D. ifstart

E. ifup

Browse 199 Q&As
Questions 12

To exclude all log messages of a given logging facility, you should use a logging priority of _____ .

A. none

B. PlaceHolder

C. PlaceHolder

D. PlaceHolder

Browse 199 Q&As
Questions 13

Which command, depending on its options, can display the open network connections, the routing tables, as well as network interface statistics. (Specify ONLY the command without any path or parameters.)

A. netstat

B. /bin/netstat

C. ss

D. /usr/bin/ss

E. PlaceHolder

Browse 199 Q&As
Exam Code: 102-500
Exam Name: LPIC-1 Exam 102 - Part 2 of 2 - version 5.0
Last Update: May 13, 2024
Questions: 199 Q&As

PDF

$49.99

VCE

$59.99

PDF + VCE

$67.99