Verified 202-450 exam dumps Q&As with Correct 120 Questions and Answers
Lpi 202-450 Test Engine PDF - All Free Dumps from Exams-boost
NEW QUESTION # 29
Which statements about the Alias and Redirect directives in Apache HTTPD's configuration file are true? (Choose two.)
- A. Redirect works with regular expressions
- B. Alias is handled on the server side
- C. Alias is not a valid configuration directive
- D. Alias can only reference files under DocumentRoot
- E. Redirect is handled on the client side
Answer: B,E
NEW QUESTION # 30
What is the name of the Dovecot configuration variable that specifies the location of user mail?
- A. mail_location
- B. user_mail_dir
- C. mbox
- D. user_dir
- E. maildir
Answer: A
Explanation:
Explanation
The Dovecot configuration variable that specifies the location of user mail is mail_location. This variable defines the format and path of the mailboxes, and it can be overridden by userdb or namespace settings. The format of the mail_location specification is:
<mailbox-format>:<path>[:<key>=<value>[:<key2>=<value2>...]]
where <mailbox-format> is one of the supported mailbox formats, such as mbox, maildir, or dbox; <path> is the absolute path to the mail directory; and <key>=<value> are optional parameters that modify the behavior of the mailbox format.
For example, a mail_location setting for maildir format could look like this:
mail_location = maildir:~/Maildir
This means that the user's mail is stored in the Maildir subdirectory of their home directory.
References: You can find more information about the mail_location variable and its parameters in the following resources:
Mail Location Settings - Dovecot documentation
Config Variables - Dovecot documentation
NEW QUESTION # 31
Which option in the Postfix configuration makes Postfix pass email to external destinations to another SMTP-server? (Specify ONLY the option name without any values.)
Answer:
Explanation:
relay server
NEW QUESTION # 32
When the default policy for the netfilter INPUT chain is set to DROP, why should a rule allowing traffic to localhost exist?
- A. syslogd receives messages on localhost
- B. Some applications use the localhost interface to communicate with other applications
- C. All traffic to localhost must always be allowed
- D. The iptables command communicates with the netfilter management daemon netfilterd on localhost to create and change packet filter rules
- E. It doesn't matter; netfilter never affects packets addressed to localhost
Answer: B
NEW QUESTION # 33
What command displays NFC kernel statistics? (Specify ONLY the command without any path or parameters.)
Answer:
Explanation:
nfsstat
NEW QUESTION # 34
Which of the following types of IPv6 address assignments does DHCPv6 support? (Choose three.)
- A. Assignments of anonymous IPv6 addresses whose assignment is not logged by the DHCPv6 server.
- B. Assignments of blacklisted IPv6 addresses that should no longer be used.
- C. Assignments of temporary IPv6 addresses that cannot be renewed.
- D. Assignments of IPv6 prefixes that can be used for routing or further assignments.
- E. Assignments of normal IPv6 addresses that can be renewed.
Answer: C,D,E
NEW QUESTION # 35
To allow X connections to be forwarded from or through an SSH server, what configuration keyword must be set to yesin the sshdconfiguration file?
- A. XllForwarding
- B. XllForwardingAllow
- C. ForwardingAllow
- D. AllowForwarding
Answer: A
Explanation:
Explanation/Reference: https://help.ubuntu.com/community/SSH/OpenSSH/Configuring
NEW QUESTION # 36
CORRECT TEXT
What configuration directive of the Apache HTTPD server defines where log files are stored? (Specify ONE of the directives without any other options.)
Answer:
Explanation:
ErrorLog
NEW QUESTION # 37
What option in the sshd configuration file instructs sshd to permit only specific user names to log in to a system?
(Specify ONLY the option name without any values.)
Answer:
Explanation:
AllowUsers
Explanation:
The option in the sshd configuration file that instructs sshd to permit only specific user names to log in to a system is AllowUsers.
This option can be followed by a list of user name patterns, separated by spaces, that are allowed to log in.
For example:
AllowUsers alice bob
This will allow only alice and bob to log in via ssh. Any other user will be denied access. The AllowUsers option can also take the form USER@HOST to restrict logins to particular users from particular hosts. For example:
AllowUsers [email protected].* [email protected]
This will allow alice to log in from any host in the 192.168.1.0/24 network, and bob to log in from the host example.com. The AllowUsers option can be used in conjunction with the DenyUsers option, which does the opposite. The allow/deny directives are processed in the following order: DenyUsers, AllowUsers, DenyGroups, and finally AllowGroups.
References:
sshd_config - OpenSSH SSH daemon configuration file
Allow Or Deny SSH Access To A Particular User Or Group In Linux - OSTechNix
NEW QUESTION # 38
When using mod_authz_core, which of the following strings can be used as an argument to Require in an Apache HTTPD configuration file to specify the authentication provider? (Choose three.)
- A. expr
- B. regex
- C. header
- D. all
- E. method
Answer: A,D,E
NEW QUESTION # 39
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.)
Answer:
Explanation:
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?
NEW QUESTION # 40
Which netfilter table contains built-in chains called INPUT, OUTPUT and FORWARD?
- A. filter
- B. nat
- C. default
- D. masq
- E. ipconn
Answer: A
NEW QUESTION # 41
There is a restricted area in a site hosted by Apache HTTPD, which requires users to authenticate against the file /srv/www/security/site*passwd.
Which command is used to CHANGE the password of existing users, without losing data, when Basic authentication is being used?
- A. htpasswd -c /srv/www/security/site*passwd user
- B. htpasswd -D /srv/www/security/site*passwd user
- C. htpasswd -n /srv/www/security/site*passwd user
- D. htpasswd /srv/www/security/site*passwd user
Answer: A
NEW QUESTION # 42
After the installation of Dovecot, it is observed that the dovecot processes are shown in ps ax like this:
In order to associate the processes with users and peers, the username, IP address of the peer and the connection status, which of the following options must be set?
- A. verbose_proctitle = yes in the Dovecot configuration
- B. process_format = "%u %I %s" in the Dovecot configuration
- C. --with-linux-extprocnames for ./configure when building Dovecot
- D. sys.ps.allow_descriptions = 1 in sysct1.conf or /proc
- E. proc.all.show_status = 1 in sysctl.conf or /proc
Answer: A
NEW QUESTION # 43
After running ssh-keygen and accepting the default values, which of the following files are changed or created? (Choose two.)
- A. ~/.ssh/id_rsa.pub
- B. ~/.ssh/id_rsa.key
- C. ~/.ssh/id_rsa
- D. ~/.ssh/id_rsa.crt
- E. ~/.ssh/id_rsa.prv
Answer: A,C
NEW QUESTION # 44
Which doveadm sub-command displays a list of connections of Dovecot in the following format? (Specify ONLY the command without any parameters.)
Answer:
Explanation:
who
NEW QUESTION # 45
Which of the following commands displays an overview of the Postfix queue content to help identify remote sites that are causing excessive mail traffic?
- A. poststats
- B. queuequery
- C. mailtraf
- D. postmap
- E. qshape
Answer: E
NEW QUESTION # 46
Which doveadm sub-command displays a list of connections of Dovecot in the following format? (Specify ONLY the command without any parameters.)
Answer:
Explanation:
who
Explanation:
The doveadm who sub-command shows information about the currently connected users and their sessions.
The output includes the following columns:
user: The username of the connected user.
ip: The IP address of the client.
port: The port number of the client.
service: The name of the Dovecot service, such as imap, pop3, lmtp, etc.
protocol: The protocol version used by the client, such as IMAP4rev1, POP3, etc.
pid: The process ID of the Dovecot process that handles the connection.
type: The type of the connection, such as tcp, ssl, etc.
state: The state of the connection, such as running, idle, etc.
since: The time when the connection was established.
References:
doveadm-who - Dovecot Wiki
LPIC-2 exam 202 objectives, topic 211.3, "Managing Mailbox Access"
NEW QUESTION # 47
......
The Linux Professional Institute Certification (LPI) is a globally recognized certification program for Linux professionals. It offers a vendor-neutral examination that tests the skills and knowledge of individuals working with Linux operating systems. The LPI certification program is considered one of the most comprehensive and challenging certification programs in the IT industry. The LPIC-2 Exam 202, Part 2 of 2, version 4.5 is one of the certification exams offered by LPI.
100% Passing Guarantee - Brilliant 202-450 Exam Questions PDF: https://www.exams-boost.com/202-450-valid-materials.html
Get New 202-450 Certification – Valid Exam Dumps Questions: https://drive.google.com/open?id=1K7CtzfopPWKxHGsPHqKeBrC9XdE8lZ-I