LPI 202-450 - LPIC-2 Exam 202 Exam

Page:    1 / 24   
Total 120 questions

On a Linux router, packet forwarding for IPv4 has been enabled. After a reboot, the machine no longer forwards IP packets from other hosts. The command: echo 1 > /proc/sys/net/ipv4/ip_forward temporarily resolves this issue.
Which one of the following options is the best way to ensure this setting is saved across system restarts?

  • A. Add echo 1 > /proc/sys/net/ipv4/ip_forward to the root user login script
  • B. Add echo 1 > /proc/sys/net/ipv4/ip_forward to any user login script
  • C. In /etc/sysct1.conf change net.ipv4.ip_forward to 1
  • D. In /etc/rc.local add net.ipv4.ip_forward = 1
  • E. In /etc/sysconfig/iptables-config add ipv4.ip_forward = 1


Answer : C

What information can be found in the file specified by the status parameter in an OpenVPN server configuration file? (Choose two.)

  • A. Errors and warnings generated by the openvpn daemon
  • B. Routing information
  • C. Statistical information regarding the currently running openvpn daemon
  • D. A list of currently connected clients
  • E. A history of all clients who have connected at some point


Answer : BD

Which of the following lines in the sshd configuration file should, if present, be changed in order to increase the security of the server? (Choose two.)

  • A. Protocol 2, 1
  • B. PermitEmptyPasswords no
  • C. Port 22
  • D. PermitRootLogin yes
  • E. IgnoreRhosts yes


Answer : AD

Which of the following nmap parameters scans a target for open TCP ports? (Choose two.)

  • A. -sO
  • B. -sZ
  • C. -sT
  • D. -sU
  • E. -sS


Answer : CE

Which of the statements below are correct regarding the following commands, which are executed on a Linux router? (Choose two.)

  • A. Packets with source or destination addresses from fe80::/64 will never occur in the FORWARD chain
  • B. The rules disable packet forwarding because network nodes always use addresses from fe80::/64 to identify routers in their routing tables
  • C. ip6tables returns an error for the second command because the affected network is already part of another rule
  • D. Both ip6tables commands complete without an error message or warning
  • E. The rules suppress any automatic configuration through router advertisements or DHCPv6


Answer : AD

Page:    1 / 24   
Total 120 questions