January 18, 2021 by admin Latest updated LPI 101-500 practice test Welcome to your Latest updated LPI 101-500 practice test QUESTION 1Which of the following commands can be used to search for the executable file foo when it has been placed in adirectory not included in $PATH?A. aproposB. whichC. findD. queryE. whereis QUESTION 2Which signal is sent by the kill command by default?A. SIGHUP(1)B. SIGQUIT(3)C. SIGKILL(9)D. SIGTERM(15) QUESTION 3What is the output of the following command? echo "Hello World" | tr -d aieouA. Hello WorldB. eooC. Hll WrldD. eoo Hll Wrld QUESTION 4Which of the following commands prints a list of available package updates when using an RPM-based packagemanagement?A. dpkg listB. yum listC. dpkg check-updateD. yum check-updateE. yum list-update QUESTION 5The system is having trouble and the engineer wants to bypass the usual /sbin/init start-up and run /bin/sh. What is the usual way to pass this change to the kernel from your boot loader?A. Start in runlevel 1.B. Pass init=/bin/sh on the kernel parameter line.C. Pass /bin/sh on the kernel parameter line.D. Pass start=/bin/sh on the kernel parameter line. QUESTION 6Which type of filesystem is created by mkfs when it is executed with the block device name only and without anyadditional parameters?A. ext2B. ext3C. ext4D. XFSE. VFAT QUESTION 7Which shell command is used to continue the background execution of a suspended command?A. andB. bgC. contD. execE. :and QUESTION 8What is the purpose of the Bash built-in export command?A. It allows disks to be mounted remotely.B. It runs a command as a process in a subshellC. It makes the command history available to subshells.D. It sets up environment variables for applications.. It shares NFS partitions for use by other systems on the network. QUESTION 9Which of the following commands can be used to display the inode number of a given file?A. inodeB. lsC. lnD. cp QUESTION 10Which of the following files, located in the user home directory, is used to store the Bash history?A. .bash_historyB. .bash_histfileC. .historyD. .bashrc_historyE. .history_bash QUESTION 11A user accidentally created the subdirectory \dir in his home directory. Which of the following commands will removethat directory?A. rmdir \\'~/\dir\\'B. rmdir "~/\dir"C. rmdir ~/\\'dir\\'D. rmdir ~/\dirE. rmdir ~/\\dir QUESTION 12Consider the following directory:drwxrwxr-x 2 root sales 4096 Jan 1 15:21 salesWhich command ensures new files created within the directory sales are owned by the group sales? (Choose two.) A. chmod g+s sales B. setpol newgroup=sales sales C. chgrp sales sales D. chown --persistent *.sales sales E. chmod 2775 sales Time is Up!