
Lpi LPIC-1 Exam 101, Part 1 of 2, version 5.0 - 101-500 Exam Questions
QUESTION NO: 1
Which of the following protocols is designed to access the video card output of a virtual machine?
Which of the following protocols is designed to access the video card output of a virtual machine?
Correct Answer: E
QUESTION NO: 2
Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?
Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?
Correct Answer: E
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 3
The dpkg-____ command will ask configuration questions for a specified package, just as if the package were being installed for the first time.
The dpkg-____ command will ask configuration questions for a specified package, just as if the package were being installed for the first time.
Correct Answer:
dpkg-reconfigure
Explanation:
The dpkg-reconfigure command is used to reconfigure an already installed package. It asks configuration questions for the package, just as if the package were being installed for the first time. This can be useful if the user wants to change some settings or options for the package without reinstalling it. The dpkg- reconfigure command can also be used to fix a broken package configuration or to restore the default settings.
References:
* dpkg-reconfigure(8) - Linux man page
* Linux Professional Institute: Exam 101 Objectives
Explanation:
The dpkg-reconfigure command is used to reconfigure an already installed package. It asks configuration questions for the package, just as if the package were being installed for the first time. This can be useful if the user wants to change some settings or options for the package without reinstalling it. The dpkg- reconfigure command can also be used to fix a broken package configuration or to restore the default settings.
References:
* dpkg-reconfigure(8) - Linux man page
* Linux Professional Institute: Exam 101 Objectives
QUESTION NO: 4
Which permissions and ownership should the file /etc/passwd have?
Which permissions and ownership should the file /etc/passwd have?
Correct Answer: D
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 5
What happens after issuing the command vi without any additional parameters?
What happens after issuing the command vi without any additional parameters?
Correct Answer: D
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 6
Which of the following explanations are valid reasons to run a command in the background of your shell?
Which of the following explanations are valid reasons to run a command in the background of your shell?
Correct Answer: D
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 7
Which type of filesystem is created by mkfs when it is executed with the block device name only and without any additional parameters?
Which type of filesystem is created by mkfs when it is executed with the block device name only and without any additional parameters?
Correct Answer: B
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 8
How is a symbolic link called bar.conf pointing to foo.conf created?
How is a symbolic link called bar.conf pointing to foo.conf created?
Correct Answer: A
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 9
Which command displays a list of all background tasks running in the current shell? (Specify ONLY the command without any path or parameters.)
Which command displays a list of all background tasks running in the current shell? (Specify ONLY the command without any path or parameters.)
Correct Answer:
jobs
Explanation:
The jobs command displays a list of all background tasks running in the current shell.
A background task is a process that is started with the & operator or suspended with Ctrl+Z and resumed with the bg command. The jobs command shows the job number, the status, and the command name of each background task. For example, the following output shows two background tasks: one is running (sleep 10) and one is stopped (ping www.howtogeek.com).
1- Running sleep 10 & 2+ Stopped ping www.howtogeek.com
References:
[LPI Exam 101 Detailed Objectives], Topic 103: GNU and Unix Commands, Objective 103.5: Create, monitor and kill processes, Weight: 4, Key Knowledge Areas: Use of jobs, fg and bg commands.
How to Run and Control Background Processes on Linux, Topic: The jobs Command.
Explanation:
The jobs command displays a list of all background tasks running in the current shell.
A background task is a process that is started with the & operator or suspended with Ctrl+Z and resumed with the bg command. The jobs command shows the job number, the status, and the command name of each background task. For example, the following output shows two background tasks: one is running (sleep 10) and one is stopped (ping www.howtogeek.com).
1- Running sleep 10 & 2+ Stopped ping www.howtogeek.com
References:
[LPI Exam 101 Detailed Objectives], Topic 103: GNU and Unix Commands, Objective 103.5: Create, monitor and kill processes, Weight: 4, Key Knowledge Areas: Use of jobs, fg and bg commands.
How to Run and Control Background Processes on Linux, Topic: The jobs Command.
QUESTION NO: 10
Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Choose TWO correct answers.)
Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Choose TWO correct answers.)
Correct Answer: A,C
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).




