ExamGecko
Home / LPI / 202-450 / List of questions
Ask Question

LPI 202-450 Practice Test - Questions Answers

List of questions

Question 1

Report Export Collapse

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?

Add echo 1 > /proc/sys/net/ipv4/ip_forward to the root user login script
Add echo 1 > /proc/sys/net/ipv4/ip_forward to the root user login script
Add echo 1 > /proc/sys/net/ipv4/ip_forward to any user login script
Add echo 1 > /proc/sys/net/ipv4/ip_forward to any user login script
In /etc/sysct1.conf change net.ipv4.ip_forward to 1
In /etc/sysct1.conf change net.ipv4.ip_forward to 1
In /etc/rc.local add net.ipv4.ip_forward = 1
In /etc/rc.local add net.ipv4.ip_forward = 1
In /etc/sysconfig/iptables-config add ipv4.ip_forward = 1
In /etc/sysconfig/iptables-config add ipv4.ip_forward = 1
Suggested answer: C
asked 18/09/2024
Donald Geddis
45 questions

Question 2

Report Export Collapse

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

Errors and warnings generated by the openvpn daemon
Errors and warnings generated by the openvpn daemon
Routing information
Routing information
Statistical information regarding the currently running openvpn daemon
Statistical information regarding the currently running openvpn daemon
A list of currently connected clients
A list of currently connected clients
A history of all clients who have connected at some point
A history of all clients who have connected at some point
Suggested answer: B, D
asked 18/09/2024
Mariusz Szczubelek
35 questions

Question 3

Report Export Collapse

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.)

Protocol 2, 1
Protocol 2, 1
PermitEmptyPasswords no
PermitEmptyPasswords no
Port 22
Port 22
PermitRootLogin yes
PermitRootLogin yes
IgnoreRhosts yes
IgnoreRhosts yes
Suggested answer: A, D
asked 18/09/2024
Edwin Lebron
38 questions

Question 4

Report Export Collapse

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

-sO
-sO
-sZ
-sZ
-sT
-sT
-sU
-sU
-sS
-sS
Suggested answer: C, E
asked 18/09/2024
CRISTIAN FONSECA
38 questions

Question 5

Report Export Collapse

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

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

Question 6

Report Export Collapse

What option in the client configuration file would tell OpenVPN to use a dynamic source port when making a connection to a peer?

src-port
src-port
remote
remote
source-port
source-port
nobind
nobind
dynamic-bind
dynamic-bind
Suggested answer: D
asked 18/09/2024
Edward Eric
36 questions

Question 7

Report Export Collapse

Which Linux user is used by vsftpd to perform file system operations for anonymous FTP users?

The Linux user which runs the vsftpd process
The Linux user which runs the vsftpd process
The Linux user that owns the root FTP directory served by vsftpd
The Linux user that owns the root FTP directory served by vsftpd
The Linux user with the same user name that was used to anonymously log into the FTP server
The Linux user with the same user name that was used to anonymously log into the FTP server
The Linux user root, but vsftpd grants access to anonymous users only to globally read-/writeable files
The Linux user root, but vsftpd grants access to anonymous users only to globally read-/writeable files
The Linux user specified in the configuration option ftp_username
The Linux user specified in the configuration option ftp_username
Suggested answer: E
asked 18/09/2024
DATA 7 DATA7
41 questions

Question 8

Report Export Collapse

Which of the following sshd configuration should be set to no in order to fully disable password based logins? (Choose two.)

PAMAuthentication
PAMAuthentication
ChallengegeResponseAuthentication
ChallengegeResponseAuthentication
PermitPlaintextLogin
PermitPlaintextLogin
UsePasswords
UsePasswords
PasswordAuthentication
PasswordAuthentication
Suggested answer: B, E
asked 18/09/2024
Stefan Lundmark
44 questions

Question 9

Report Export Collapse

When the default policy for the netfilter INPUT chain is set to DROP, why should a rule allowing traffic to localhost exist?

All traffic to localhost must always be allowed
All traffic to localhost must always be allowed
It doesn't matter; netfilter never affects packets addressed to localhost
It doesn't matter; netfilter never affects packets addressed to localhost
Some applications use the localhost interface to communicate with other applications
Some applications use the localhost interface to communicate with other applications
syslogd receives messages on localhost
syslogd receives messages on localhost
The iptables command communicates with the netfilter management daemon netfilterd on localhost to create and change packet filter rules
The iptables command communicates with the netfilter management daemon netfilterd on localhost to create and change packet filter rules
Suggested answer: C
asked 18/09/2024
Jaime GONCALVES
45 questions

Question 10

Report Export Collapse

FILL BLANK

What command creates a SSH key pair? (Specify ONLY the command without any path or parameters)

ssh-keygen
ssh-keygen
Suggested answer: A
asked 18/09/2024
Benvindo Almeida
41 questions
Total 119 questions
Go to page: of 12

Related questions