102-500 LPIC-1 Exam 102, Part 2 of 2, version 5.0 Free Practice Exam Questions (2025 Updated)
Prepare effectively for your LPI 102-500 LPIC-1 Exam 102, Part 2 of 2, version 5.0 certification with our extensive collection of free, high-quality practice questions. Each question is designed to mirror the actual exam format and objectives, complete with comprehensive answers and detailed explanations. Our materials are regularly updated for 2025, ensuring you have the most current resources to build confidence and succeed on your first attempt.
Which of the following commands can be used to display the local routing table? (Choose TWO correct answers.)
Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)
Which of the following commands will help identify a broken router between the local and the remote machine?
Given the following routing table:
How would an outgoing packet to the destination 192.168.2.150 be handled?
Which of the following lines are valid in the file /etc/hosts? (Choose TWO correct answers.)
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.)
Which port is the default server port for the HTTPS protocol? (Specify the port number using digits.)
What of the following can be done by the command ifconfig? (Choose TWO correct answers.)
Which directory in /etc is used to keep a sample copy of files and directories for when a new user has a home directory created? (Please provide the full path)
Which of the following words is used to restrict the records that are returned from a SELECT SQL query based on a supplied criteria for the values in the records?
After issuing:
function myfunction { echo $1 $2 ; }
in Bash, which output does:
myfunction A B C
Produce?
Which of the following commands puts the output of the command date into the shell variable mydate?
Which of the following SQL statements will select the fields name and address from the contacts table?
What keyword is missing from this code sample of a shell script?
____ i in *.txt; do
echo $i
done
What benefit does an alias in bash provide?
Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)
Which of the following commands lists all defined variables and functions within Bash?
When the command echo $ outputs 1, which of the following statements is true?
Which of the following configuration files should be modified to set default shell variables for all users?
Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem? (Choose THREE correct answers.)