Welcome to TestSimulate

Pass Your Next Certification Exam Fast!

Everything you need to prepare, learn & pass your certification exam easily.

365 days free updates. First attempt guaranteed success.

Lpi LPIC-2 Exam 201, Part 1 of 2, version 4.0 (201-400) Free Practice Test

Question 1
After installing a package using dpkg, you find that the package manager tools no longer function. You isolate the problem to a broken library and you have a copy of the fixed library in a Debian .deb file. How can you extract files from a .deb file without using the
Debian package manager?

Correct Answer: B
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 2
Which of the following commands will securely copy the directory ./fyf/to/var/tmp/ on the remote host deltaur using the remote user account kevin?

Correct Answer: B
Question 3
Which of the following commands can be used to access the content of a ramdisk file
(/boot/initrd) used by the kernel at boot time?

Correct Answer: A
Question 4
CORRECT TEXT
The diskquota has been reduced from 200 to 100 mb, besides mailing to all users, you have been asked to inform them about this change with every login.

Correct Answer: B
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 5
CORRECT TEXT
Many factors are taken into account when planning a backup strategy. The one most important one is how often does the file ______.
Correct Answer:
change
Explanation: The frequency of a file changing will determine the frequency of your backup. If the file changes often, you will need to back up the file often, otherwise the backed up version of the file will be an old version.
Question 6
Which of the following commands should be used in a bash script that needs a variable containing the IP address of the eth0 interface? The output from the command ifconfig eth0 is shown below:

Correct Answer: B
Question 7
What is the purpose of the command udevadm monitor?

Correct Answer: A
Question 8
CORRECT TEXT
Which command turns an existing ext2 filesystem non-destructively into an ext3 filesystem? (Specify ONLY the command without any path or parameters.)
Correct Answer:
/sbin/tune2fs, tune2fs
Question 9
The following is an excerpt from the output of tcpdump -nli eth1 'udp':
13:03:17.277327 IP 192.168.123.5.1065 > 192.168.5.112.53: 43653+ A? lpi.org. (25)
13:03:17.598624 IP 192.168.5.112.53 > 192.168.123.5.1065: 43653 1/0/0 A 24.215.7.109 (41)
Which network service or protocol was used?

Correct Answer: B
Question 10
CORRECT TEXT
Which option, when passed to the hostname command, will return the name of the DNS domain?
(Provide only the option)
Correct Answer:
-d
Question 11
You previously ran the find command to locate a particular file. You want to run that command again. What would be the quickest way to do this?
*
fc -l find <enter>
n
*
history -l find <enter>
history n

Correct Answer: B
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 12
CORRECT TEXT
You wish to notify all users that you have to take down a service on which they rely.
What command will allow you to send a message to all currently logged on users?(Enter the command not the path.)
Correct Answer:
WALL
Question 13
In the below example output, which columns detail the percent of time the CPU spent running non-kernel code and the percent of time the CPU spent running kernel code?
(Choose TWO correct answers.)
# vmstat 1 100
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 0 282120 134108 5797012 0 0 0 2 0 0 0 0 100 0
0 0 0 282120 134108 5797012 0 0 0 0 1007 359 0 0 100 0
0 0 0 282120 134108 5797012 0 0 0 0 1117 577 0 0 100 0
0 0 0 282120 134108 5797012 0 0 0 0 1007 366 0 0 100 0

Correct Answer: A,C
Question 14
Which command can be used to scan a specified network looking for IP addresses that appear to be in use?

Correct Answer: E