QUESTION 31
What file should be edited to make the route command show human-readable names for networks? (Please enter the full path)
Answer: /etc/networks
QUESTION 32
What is the command to add another IP address to an interface that already has (at least) one IP address?
A. ifconfig eth0:1 192.168.1.2
B. ifconfig eth0 192.168.1.2
C. ipconfig eth0:1 192.168.1.2
D. ipconfig eth0 192.168.1.2
Answer: A
QUESTION 33
route shows the following output:
Which of the following statements is correct?
A. The network 169.254.0.0 is not a valid route.
B. The host 194.168.123.5 is temporarily down.
C. The host route 194.168.123.5 is rejected by the kernel.
D. The “!H” signals that traffic to the host 194.168.123.5 is dropped.
E. The network path to the host 194.168.123.5 is not available.
Answer: C
QUESTION 34
A network client has an ethernet interface configured with an IP address in the subnet 192.168.0.0/24. This subnet has a router, with the IP address 192.168.0.1, that connects this
subnet to the Internet. What needs to be done on the client to enable it to use the router as its default gateway?
A. Run route add default gw 192.168.0.1 eth1.
B. Run route add gw 192.168.0.1 eth1.
C. Run ifconfig eth0 defaultroute 192.168.0.1.
D. Add “defaultroute 192.168.0.1” to /etc/resolv.conf.
E. Run route add defaultgw=192.168.0.1 if=eth0.
Answer: A
QUESTION 35
A server with 2 network interfaces, eth0 and eth1, should act as a router. eth0 has the IP address 192.168.0.1 in the subnet 192.168.0.1/24 and eth1 has the IP address 10.0.0.1 in the subnet 10.0.0.0/16. The routing table looks fine, but no data is traversing the networks. Which TWO of the following need to be done?
A. Enable IP forwarding with echo “1” > /proc/sys/net/ipv4/ip_forward
B. Add new firewall chains to handle inbound & outbound traffic on both interfaces.
C. Reconfigure the firewall rules to allow traffic to traverse the networks.
D. The routing table needs to be restarted, for the changes to take effect.
E. The server needs to be restarted, for the changes to take effect.
Answer: AC
QUESTION 36
What command is used to add a route to the 192.168.4.0/24 network via 192.168.0.2?
A. route add – network 192.168.4.0 netmask 255.255.255.0 gw 192.168.0.2
B. route add – net 192.168.4.0/24 gw 192.168.0.2
C. route add – network 192.168.4.0/24 192.168.0.2
D. route add – net 192.168.4.0 netmask 255.255.255.0 192.168.0.2
E. route add – net 192.168.4.0 netmask 255.255.255.0 gw 192.168.0.2
Answer: E
QUESTION 37
Considering the following kernel IP routing table now, which of the following commands must be emove the route to the network 10.10.1.0/24?
A. route del 10.10.1.0
B. route del 10.10.1.0/24
C. route del -net 10.10.1.0/24
D. route del 10.10.1.0/24 gw 192.168.246.11
E. route del -net 10.10.1.0
Answer: C
QUESTION 38
Which of the following sentences is true, when using the following /etc/pam.d/login file?
#%PAM-l.0
auth required /lib/security/pam_securetty.so
auth required /lib/security/pam_nologin.so
auth sufficient /lib/security/pam_unix.so shadow nullok md5 use_authtok
auth required /lib/security/pam_ldap.so use_first_pass
account sufficient /lib/security/pam_unix.so
account required /lib/security/pam_ldap.so
password required /lib/security/pam_cracklib.so
password sufficient /lib/security/pam_unix.so nullok use_authtok md5 shadow
password required /lib/security/pam_ldap.so use_first_pass
session optional /lib/security/pam_console.so
session sufficient /lib/security/pam_unix.so
session required /lib/security/pam_ldap.so
A. All users will be authenticated against the LDAP directory
B. This is the only file needed to configure LDAP authentication on Linux
C. Only local users will be able to log in, when the file/etc/nologin exists
D. Ordinary users will be able to change their password to be blank
E. If the control flags for auth were changed to required, local users wouldn’t be able to log in
Answer: D
QUESTION 39
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?
A. password required /lib/security/pam_ldap.so
B. auth sufficient /lib/security/pam_ldap.so use_first_pass
C. account sufficient /lib/security/pam_ldap.so
D. password required /lib/security/pam_pwdb.so
E. auth required /lib/security/pam_ldap.so
Answer: E
QUESTION 40
What is the advantage of using SASL authentication with OpenLDAP?
A. It can prevent the transmission of plain text passwords over the network.
B. It disables anonymous access to the LDAP server.
C. It enables the use of Access Control Lists.
D. It allows the use of LDAP to authenticate system users over the network.
E. All of the above.
Answer: A
If you want to pass the LPI 117-202 Exam sucessfully, recommend to read latest LPI 117-202 Exam full version.
http://www.lead2pass.com/117-202.html