Lpi LPIC-2 - Exam 202 (part 2 of 2), version 4.5 - 202-450 FREE EXAM DUMPS QUESTIONS & ANSWERS

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?
Correct Answer: C Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
A zone file contains the following lines:

and is included in the BIND configuration using this configuration stanza:

Which problem is contained in this configuration?
Correct Answer: E Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
What is the standard port used by OpenVPN?
Correct Answer: D Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
Which of the following PAM modules allows the system administrator to use an arbitrary file containing a list of user and group names with restrictions on the system resources available to them?
Correct Answer: B Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
Which OpenLDAP client command can be used to change the password for an LDAP entry?
(Specify ONLY the command without any path or parameters.)
Correct Answer:
ldappasswd
Explanation:
The ldappasswd command is an OpenLDAP client tool that can be used to change the password for an LDAP entry. It can be used to change the password of the user who is binding to the LDAP server, or the password of another user if the bind user has sufficient privileges. The ldappasswd command requires the user to specify the LDAP server location, the bind DN and password, the old password, and the new password. The old and new passwords can be given on the command line, through prompts, or from files. The ldappasswd command can also use SASL authentication mechanisms instead of simple authentication. The ldappasswd command follows the general syntax of:
ldappasswd [options] [user]
where user is the DN of the entry whose password is to be changed. If omitted, the bind DN is used.
References:
LPIC-2 Exam 202 Objectives, Objective 207.3: LDAP Operations
How To Change Account Passwords on an OpenLDAP Server, DigitalOcean
ldappasswd: change the password of an LDAP entry, openldap-clients Manual Page How To Change an OpenLDAP Password, Tyler's Guides
Which directive in a Nginx server configuration block defines the TCP ports on which the virtual host will be available, and which protocols it will use? (Specify ONLY the option name without any values.)
Correct Answer:
listen
Explanation:
The listen directive in a Nginx server configuration block defines the TCP ports on which the virtual host will be available, and which protocols it will use. The listen directive takes one or more parameters, such as the port number, the IP address, and the protocol name. For example, the following directive tells Nginx to listen for HTTP requests on port 80 on all network interfaces:
listen 80;
The following directive tells Nginx to listen for HTTPS requests on port 443 on the 192.0.2.1 IP address:
listen 192.0.2.1:443 ssl;
The following directive tells Nginx to listen for both TCP and UDP traffic on port 53 on the 192.0.2.2 IP address:
listen 192.0.2.2:53 udp tcp;
The listen directive can also take some options, such as default_server, which specifies that the server block should act as the default server for the given port, or backlog, which sets the maximum number of pending connections for the socket.
References:
Server Block Examples | NGINX
NGINX Docs | Configuring HTTP Servers
Which directive in a Nginx server configuration block defines the TCP ports on which the virtual host will be available, and which protocols it will use?
What does the samba-tool testparm command confirm regarding the Samba configuration?
Correct Answer: E Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
What command creates a SSH key pair? (Specify ONLY the command without any path or parameters)
Correct Answer:
ssh-keygen
Explanation:
The command that creates a SSH key pair is ssh-keygen. This command generates a public and a private key file that can be used for SSH authentication. The command can take various options to specify the algorithm, the file name, the passphrase, and other parameters for the key pair. For more information, see the web search results below or the man page of ssh-keygen.
How to Use ssh-keygen to Generate a New SSH Key?
Which of the following statements is INCORRECT regarding the LDIF file format?
Correct Answer: D Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
0
0
0
10