January 18, 2021 by admin Latest updated LPI 101-500 practice test Welcome to your Latest updated LPI 101-500 practice test QUESTION 1 Which 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. apropos B. which C. find D. query E. whereis None QUESTION 2 Which signal is sent by the kill command by default? A. SIGHUP(1) B. SIGQUIT(3) C. SIGKILL(9) D. SIGTERM(15) None QUESTION 3 What is the output of the following command? echo "Hello World" | tr -d aieou A. Hello World B. eoo C. Hll Wrld D. eoo Hll Wrld None QUESTION 4 Which of the following commands prints a list of available package updates when using an RPM-based packagemanagement? A. dpkg list B. yum list C. dpkg check-update D. yum check-update E. yum list-update None QUESTION 5 The 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. None QUESTION 6 Which type of filesystem is created by mkfs when it is executed with the block device name only and without anyadditional parameters? A. ext2 B. ext3 C. ext4 D. XFS E. VFAT None QUESTION 7 Which shell command is used to continue the background execution of a suspended command? A. and B. bg C. cont D. exec E. :and None QUESTION 8 What 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 subshell C. 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. None QUESTION 9 Which of the following commands can be used to display the inode number of a given file? A. inode B. ls C. ln D. cp None QUESTION 10 Which of the following files, located in the user home directory, is used to store the Bash history? A. .bash_history B. .bash_histfile C. .history D. .bashrc_history E. .history_bash None QUESTION 11 A 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 ~/\dir E. rmdir ~/\\dir None QUESTION 12 Consider 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's up