Which option to the yum command will update the entire system? (Specify ONLY the option
name without any additional parameters.)
Show answerHide answer
Explanation
Answer: update, upgrade
LPIC-1 Exam 101, Part 1 of 2, version 5.0
Free 101-500 mock exam questions 11–20, each with the answer and an explanation.
20 questions · 33 minutes · free, no sign-up
Which option to the yum command will update the entire system? (Specify ONLY the option
name without any additional parameters.)
Answer: update, upgrade
Which of the following commands can be used to perform a full text search on all available packages on a Debian system?
Correct answer: B
apt-cache
Which of the following is correct when talking about mount points?
Correct answer: A
Every existing directory can be used as a mount point.
Which of the following commands is used to update the list of available packages when using dpkg based package management?
Correct answer: A
apt-get update
You want to preview where the package file, apache-xml.i386.rpm, will install its files before
installing it. What command do you issue?
Correct answer: D
rpm -qpl apache-xml.i386.rpm
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: A
<<
Explanation:
QUESTIONNO: 16
Which of the following commands will NOT update the modify timestamp on the file
/tmp/myfile.txt?
A. file /tmp/myfile.txt
B. echo "Hello" >/tmp/myfile.txt
C. sed -ie "s/1/2/" /tmp/myfile.txt
D. echo -n "Hello" >>/tmp/myfile.txt
E. touch/tmp/myfile.txt
Answer: A
Which of the following commands kills the process with the PID 123 but allows the process to "clean up" before exiting?
Correct answer: D
kill -TERM 123
What is the default nice level when a process is started using the nice command?
Correct answer: B
10
What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?
Correct answer: B
19
You are trying to make a hard link to an ordinary file but ln returns an error. Which of the following could cause this?
Correct answer: E
The source and the target are on different filesystems.
Full-length mocks with the same number of questions and the same time limit as the real 101-500 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.
Get full 101-500 mock exam