Exam 202: Tasks and Sample Questions
LPIC-2 or LPI Level 2 Exam 202 tests basic capabilities in these areas:
- Networking
- Mail & News
- DNS
- Web Services
- Network Client Management
- System Security
- Network Troubleshooting
Sample Questions
The following are sample questions relating to LPI Exam 202. None of these items actually appear on the real exam, but they were actual submissions and are representative of the types of questions and the content covered by the exam. Please note however that the items below are flawed in some way and have been rejected; they are presented only as an illustration.
Explanation:
FITB: Fill in the blank; the answer is entered into a text field
MCSA: Multiple answer, single choice; select one correct answer
MCMA: Multiple answer, multiple choice; select as many correct answers as asked in the question
OBJECTIVE: 1.3.1 TYPE: MCSA
If you wanted to turn off mail notification, what command would you use?
1. biff n
2. mesg n
3. mesg off
4. notify off
5. set notify=off
OBJECTIVE: 2.205.2 Advanced Network Configuration and Troubleshooting. TYPE: FITB
What command is typically used to manually change the default gateway used by your TCP/IP networking device? (Please write only the command without options, paths or arguments.)
1. Answer: route
OBJECTIVE: 2.206.3 Managing Mail Traffic. TYPE: FITB
What file would you edit to change your procmail recipes? (Please write only the filename without options, paths or arguments.)
1. Answer: .procmailrc
OBJECTIVE: 2.207.2 Create and maintain DNS zones. TYPE: MCSA
You have updated one of your bind zones, but none of your secondaries have picked up the change. What is most likely the problem?
1. A. You need to SIGHUP the secondary/slave servers.
2. B. You need to restart bind on the secondary servers.
3. C. You need to increment your Serial setting in the SOA.
4. D. You need to change the Expire setting in the SOA.
OBJECTIVE: 2.208.2 Maintaining a web server. TYPE: MCSA
When configuring name-based virtual hosts in Apache, which directive contains the name of the virtual host that is matched to the "Host:" request from the client?
1. NameVirtualHost
2. VirtualHost
3. ServerName
4. UseCanonicalName
5. ServerAlias
OBJECTIVE: 2.210.1 DHCP configuration. TYPE: FITB
What file typically determines the default lease time for an IP address? (Please include only the file name without the path)
1. dhcpd.conf
OBJECTIVE: 2.212.4 Secure shell (OpenSSH). TYPE: MCSA
Which file contains the settings that determine root login privileges via ssh?
1. ssh.config
2. ssh_config
3. sshd.config
4. sshd_config
OBJECTIVE: 2.214.7 Troubleshooting network issues. TYPE: FITB
You have a client machine that is receiving unknown host error messages, but you are able to ping the hosts IP address. What file should you examine?
1. /etc/hosts.conf
2. /etc/resolv
3. /etc/host
4. /etc/resolv.conf
5. /etc/nsswitch

