Lpi LPIC-2 Exam 201, Part 1 of 2, version 4.5 - 201-450 Exam Practice Test
A DNS server has the IP address 192.168.0.1. Which TWO of the following need to be done on a client machine to use this DNS server?
Correct Answer: D,E
Which of the following commands displays the physical path of the kernel module named dummy?
Correct Answer: C
What information does the file modules.dep provide?
Correct Answer: D
In the following output, what percentage of time was the CPU waiting for pending I/O?
# 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
# 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: E
Which chkconfig command will display whether or not the service ldap is configured to start in each runlevel? (Provide the command and any options or parameters)
Correct Answer:
chkconfig --list ldap
In which directory is the Linux kernel documentation be found?
Correct Answer:
/usr/src/linux/Documentation
For interpreting system rc scripts a shell is most commonly used. Please enter the first line found in such scripts.
Correct Answer:
#!/bin/sh
The following is an excerpt from the output of tcpdump -nli eth1:
13:03:17.277327 IP 192.168.123.5.1065 > 192.168.5.112.21: Flags [.],
ack 1 (truncated)
13:03:17.598624 IP 192.168.5.112.21 > 192.168.123.5.1065: Flags [P.],
seq (truncated)
Which network service or protocol was used?
13:03:17.277327 IP 192.168.123.5.1065 > 192.168.5.112.21: Flags [.],
ack 1 (truncated)
13:03:17.598624 IP 192.168.5.112.21 > 192.168.123.5.1065: Flags [P.],
seq (truncated)
Which network service or protocol was used?
Correct Answer: B
Which program lists information about files opened by processes and produces output that can be parsed by other programs?
Correct Answer:
lsof
Which command is used to install a GRUB boot loader into the master boot record?
Correct Answer: A
A new kernel version needs to be compiled to use a new feature. If the old kernel configuration file is available, which make target will only update the configuration file for the new kernel version? (Please enter only the make target.)
Correct Answer:
oldconfig
Which option, when passed to the hostname command, will return the name of the DNS domain?
(Provide only the option)
(Provide only the option)
Correct Answer:
-d
Which of the following commands erases the contents of the /dev/sdb3 partition?
Correct Answer: C
Please enter the complete path to the main configuration file for syslogd, which logs system messages on Linux systems?
Correct Answer:
/etc/syslog.conf
What is the correct parameter to pass to the kernel at boot time to force it to use only one of the available processors?
Correct Answer:
nosmp