117-202 - LPI Level 2 Exam 202
Go back to LPI
Which of the following can the program tripwire NOT check?
Considering the following excerpt from the httpd.conf file, select the correct answer below: <Location> AllowOverride AuthConfig Indexes </Location>
The excerpt is incorrect, because AllowOverride cannot be used inside a Location section
Which server program will understand and can reply to NetBIOS name service requests?
Which of these tools, without any options, provides the most information when performing DNS queries?
What does the following procmail configuration section do? :0fw * < 256000 | /usr/bin/foo
If the email smaller than 256000 Bytes, procmail will process it with the program foo
When bash is invoked as an interactive login shell, which of the following sentences is true?
It reads and executes commands in ~/.bashrc only if /etc/profile or another initialization script calls it.
The internal network (192.168.1.0-192.168.1.255) needs to be able to relay email through the site's sendmail server. What line must be added to /etc/mail/access to allow this?
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?
Add nameserver 192.168.0.1 to /etc/resolv.conf
Run echo "nameserver 192.168.1.1" >> /etc/resolv.conf
Which of the following commands can be used to connect and interact with remote services? (Choose TWO correct answers.)
Why is the root file system mounted read-only during boot and remounted with write permission later on?
Because if problems with the root file system are detected during the boot, fsck can be run, without risk of damage.
What command would be used to configure the interface eth1:1 with the IP address 10 10.34 and the netmask 255.255.255.0?
ifconfig eth1:1 10.10.3.4 netmask 255.255.255.0 up
Which is a valid Squid option to define a listening port?
Which daemon is required on the client if an ethernet device gets its IP address from a central server?
Given that all users have their home directory in /home and the following directive is present in the Apache HTTPD Server configuration file, what is the full filesystem path to the file referenced by the URL http://server/~joe/index.html? UserDir public_html
LDAP-based authentication against a newly-installed LDAP server does not work as expected. The file /etc/pam.d/login includes the following configuration parameters. Which of them is NOT correct?
auth required /lib/security/pam_ldap.so
When connecting to an SSH server for the first time, its fingerprint is received and stored in a file, which is located at:
In what mode is your FTP session when the client side makes the connections to both the data and command ports of the FTP server?
A correctly-formatted entry has been added to /etc/hosts.allow to allow certain clients to connect to a service, but this is having no effect. What would be the cause of this?
The service does not support tcpwrappers
Which of the following is NOT included in a Snort rule header?
packet byte offset
The Internet gateway connects the clients with the Internet by using a Squid proxy. Only the clients from the network 192.168.1.0/24 should be able to use the proxy. Which of the following configuration sections is correct?
acl local src 192.168.1.0/24 http_access allow local
Which of the following commands can be used to list all exported file systems from a remote NFS server?
Journalling doesn't appear to be working on an ext3 file-system. When booting, the following line appears: VFS: Mounted root (ext2 filesystem) readonly. What could be causing the problem?
The kernel does not contain ext3 support.
Which of the following configuration lines will export /usr/local/share/ to nfsclient with read-write access, ensuring that all changes are straight to the disk?
What of the following is NOT a valid ACL type, when configuring squid?
Which dhcpd.conf option defines the DNS server address(es) to be sent to the DHCP clients?
Which Squid configuration directive defines the authentication method to use?
A web server is expected to handle approximately 200 simultaneous requests during normal use with an occasional spike in activity and is performing slowly. Which directives in httpd.conf need to be adjusted?
MinSpareServers, MaxSpareServers, StartServers & MaxClients.
What does the testparm command confirm regarding Samba configuration?
The configuration file will load successfully.
Which Apache directive is used to specify the RSA private key that was used in the generation of the SSL certificate for the server?
What security precautions must be taken when creating a directory into which files can be uploaded anonymously using FTP?
The directory must not have the read permission set.
Which of the following options can be passed to a DHCP client machine using configuration options on the DHCP server?
The NIS domain name
Which of the following actions should be considered when a FTP chroot jail is created? (Choose THREE correct answers.)
Create /dev/ and /etc/ in the chroot enviroment.
Create /etc/passwd in the chroot enviroment.
Create the user ftp in the chroot enviroment.
Which setting in the Courier IMAP configuration file will tell the IMAP daemon to listen only on the localhost interface?
During which stage of the boot process would this message be seen? ide_setup:hdc=ide-scsi
Which of the following is needed, to synchronize the Unix password with the SMB password, when the encrypted SMB password in the smbpasswd file is changed?
Add unix password sync = yes to smb.conf.
What command can be used to check the Samba configuration file?
For an LDAP client configuration, the LDAP base needs to be set. Which TWO of the following actions would achieve that?
Edit ldap.conf and add "BASE dc=linuxfoo,dc=com".
What is the name of the network security scanner project which, at the core, is a server with a set of network vulnerability tests (NVTs)?
Which statements about the Alias and Redirect directives in Apache's configuration file are true?
Redirect is handled on the client side
Alias is handled on the server side
What option for BIND is required in the global options to disable recursive queries on the DNS server by default?
Which configuration parameter on a Postfix server modifies only the sender address and not the recipient address?
Which setting in the Courier IMAP configuration file will tell the IMAP daemon to only listen on the localhost interface?
What must be done on a host to allow a user to log in to that host using an SSH key?
Add their public key to ~/. ssh/authorized_keys
What is the standard port number for the unencrypted IMAP service?
Which Squid configuration keyword is used to define networks and times that the service may be accessed?
Where should the LILO code reside, on a system with only one installation of Linux and no other operating systems?
In the master boot record
Which option is used to configure pppd to use up to two DNS server addresses provided by the remote server?
None of the above
Which of the following are Samba security modes or levels? (Choose TWO correct answers.)
An administrator wants to issue the command echo 1 >/var/log/boater.log once all of the scripts in /etc/rc2.d have been executed. What is the best way to accomplish this?
Add the command to /etc/rc.local
Running sysctl has the same effect as:
Writing to files inside /proc