LX0-102 LX0-102 LX0-102 www.cert24.com
Exam Number/Code : LX0-102
Exam Name: CompTIA Linux+[Powered by LPI] Exam 2
Version : Demo
QUESTION NO: 1
In apache configuration which directives are used to restrict access based on host/domain name137and IP address?
A. restrict and allow
B. order, allow from and deny from
C. deny and accept
D. allow IP, deny IP, allow DOMAIN and deny DOMAIN
E. order, deny and accept
Answer: B
LX0-102 LX0-102 LX0-102 www.cert24.com
QUESTION NO: 2
The local system administrator has created a configuration entry for apache version 2 that isn’t working. What is wrong with the following configuration?
AuthName Members
AuthType Basic
AuthUserFile /www/passwd
A. The directive require validuser is missing.
B. Basic Authentication has been removed from Apache 2.x.
C. The format of the password file is not specified.
D. The AuthUserFile must be in the apache configuration directory.
Answer: A
LX0-102 LX0-102 LX0-102 www.cert24.com
QUESTION NO: 3
What does the following iptables rule accomplish:
iptables A INPUT s !127.0.0.0/8 p tcp dport 111 j DROP
A. Drops all packets from the LAN destined for port 111.
B. Drops all packets originating from the local machine unless they are destined for port 111.
C. Drops all packets destined for port 111 which originate from the local machine.
D. Drops all packets destined for port 111 unless they are from the local machine.
Answer: D