Free Lpi 101-500 Practice Test & Real Exam Questions
To prevent users from being able to fill up the / partition, the ____________ directory should be on a separate partition if possible because it is world writeable.
Correct Answer: A
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Which of the following examples for Bash file globbing matches a file named root-can-do-this.txt when used in the directory holding that file? (Choose three correct answers.)
Correct Answer: A,B,E
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Which of the following commands will load a kernel module along with any required dependency modules?
Correct Answer: A
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Which of the following apt-get commands will install the newest versions of all currently installed packages without removing any packages or installing new packages that are not already installed?
Correct Answer: B
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Which of the following characters can be combined with a separator string in order to read from the current input source until the separator string, which is on a separate line and without any trailing spaces, is reached?
Correct Answer: B
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Which of the following files exist in a standard GRUB 2 installation? (Choose two.)
Correct Answer: A,E
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
When running the command
sed -e "s/a/b/" /tmp/file >/tmp/file
While /tmp/file contains data, why is /tmp/file empty afterwards?
sed -e "s/a/b/" /tmp/file >/tmp/file
While /tmp/file contains data, why is /tmp/file empty afterwards?
Correct Answer: C
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Which command is used to start another command with a given nice level? (Specify ONLY the command without any path or parameters.)
Correct Answer:
nice
Explanation:
The nice command is used to start another command with a given nice level. The nice level is a value that affects the scheduling priority of a process. A lower nice level means a higher priority, and a higher nice level means a lower priority. The default nice level is 0, and the range is from -20 to 19. Only the superuser can assign a negative nice level to a process. The nice command can also be used to display the current nice level of a process by using the -n option. References:
* LPI 101-500 Exam Objectives, Topic 103.3, Weight 3
* LPI Learning Materials, Chapter 3.3, Process Management
* Web Search Results, 1
Explanation:
The nice command is used to start another command with a given nice level. The nice level is a value that affects the scheduling priority of a process. A lower nice level means a higher priority, and a higher nice level means a lower priority. The default nice level is 0, and the range is from -20 to 19. Only the superuser can assign a negative nice level to a process. The nice command can also be used to display the current nice level of a process by using the -n option. References:
* LPI 101-500 Exam Objectives, Topic 103.3, Weight 3
* LPI Learning Materials, Chapter 3.3, Process Management
* Web Search Results, 1
