Lpi LPIC-2 Exam 202, Part 2 of 2, version 4.0 - 202-400 Exam Practice Test
What does the following procmail configuration section do?
:0fw
* < 256000
I /usr/bin/foo
:0fw
* < 256000
I /usr/bin/foo
Correct Answer: B
Which of the following is true, when a server uses PAM authentication and both /etc/pam.conf &
/etc/pam.d/ exist?
/etc/pam.d/ exist?
Correct Answer: D
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?
Correct Answer: C
When the default policy for the netfilter INPUT chain is set to DROP, why should a rule allowing traffic to local host exist?
Correct Answer: D
Which command can be used to change the password for an LDAP entry?
Correct Answer:
ldappasswd
Please enter the complete command to create a new password file for HTIP basic authentication
(/home/http/data/web _passwd) for user john.
(/home/http/data/web _passwd) for user john.
Correct Answer:
htpasswd -c
/home/http/ data/web_passwd john
/home/http/ data/web_passwd john
Which file, in the local file-system, is presented when the client requests http://server/~joe/index.html and the following directive is present in server's Apache configuration file?
UserDir site/html
Given that all users have their home directory in /home, please type in the FULL file name including the path.
UserDir site/html
Given that all users have their home directory in /home, please type in the FULL file name including the path.
Correct Answer:
/home/joe/site/html/index.html
By default OpenLDAP logs via syslogd. What is the slapd.conf file directive to have the LDAP logs written to /var/log/ldap.log?
Correct Answer: B
Which of the following options are valid in the /etc/exports file? (Choose TWO correct answers.)
Correct Answer: B,C
Which of the following Samba configuration parameters is functionally identical to the parameter read only=yes?
Correct Answer: C
When configuring a PPP dial-in server, which option is used (in the pppd configuration file) to enable user authentication against the system password database?
Correct Answer: A
Which of the following are commonly used log file directives in Apache? (Choose TWO correct answers.)
Correct Answer: D,E
What does the testparm command confirm regarding Samba configuration?
Correct Answer: C
An SSH port-forwarded connection to the web server www.example.com was invoked using the command ssh -TL 80 :www.example.com:80 [email protected]. Which TWO of the following are correct?
Correct Answer: A,D