Free 202-450 Sample Questions — LPIC-2 Exam 202

Free 202-450 sample questions for the LPIC-2 Exam 202 exam. No account required: study at your own pace.

Want an interactive quiz? Take the full 202-450 practice test

Looking for more? Click here to get the full PDF with 98+ practice questions for $10 for offline study and deeper preparation.

Question 1

What is the name of the Dovecot configuration variable that specifies the location of user mail?

  • A. mbox
  • B. mail_location
  • C. user_dir
  • D. maildir
  • E. user_mail_dir
Show Answer
Correct Answer:
B. mail_location
Question 2

Which of the following OpenVPN configuration options makes OpenVPN forward network packets between VPN clients itself instead of passing the packets on to the Linux host which runs the OpenVPN server for further processing?

  • A. inter-client-traffic
  • B. client-to-client
  • C. client-router
  • D. client-pass
  • E. grant-client-traffic
Show Answer
Correct Answer:
B. client-to-client
Question 3

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
Show Answer
Correct Answer:
  • A. Protocol 2, 1
  • D. PermitRootLogin yes
Question 4

Which of the following values can be used in the OpenLDAP attribute olcBackend for any object of the class olcBackendConfig to specify a backend? (Choose three.)

  • A. xml
  • B. bdb
  • C. passwd
  • D. ldap
  • E. text
Show Answer
Correct Answer:
  • B. bdb
  • C. passwd
  • D. ldap
Question 5

Which of the following commands can be used to connect and interact with remote TCP network services? (Choose two.)

  • A. nettalk
  • B. nc
  • C. telnet
  • D. cat
  • E. netmap
Show Answer
Correct Answer:
  • B. nc
  • C. telnet
Question 6

Which of these tools, without any options, provides the most information when performing DNS queries?

  • A. dig
  • B. nslookup
  • C. host
  • D. named-checkconf
  • E. named-checkzone
Show Answer
Correct Answer:
A. dig
Question 7

Which option within the ISC DHCPD configuration file defines the IPv4 DNS server address(es) to be sent to the DHCP clients?

  • A. domain-name-servers
  • B. domain-server
  • C. name-server
  • D. servers
Show Answer
Correct Answer:
A. domain-name-servers
Question 8

Which statements about the Alias and Redirect directives in Apache HTTPD's configuration file are true? (Choose two.)

  • A. Alias can only reference files under DocumentRoot
  • B. Redirect works with regular expressions
  • C. Redirect is handled on the client side
  • D. Alias is handled on the server side
  • E. Alias is not a valid configuration directive
Show Answer
Correct Answer:
  • B. Redirect works with regular expressions
  • D. Alias is handled on the server side
Question 9

Which Apache HTTPD directive enables HTTPS protocol support?

  • A. HTTPSEngine on
  • B. SSLEngine on
  • C. SSLEnable on
  • D. HTTPSEnable on
  • E. StartTLS on
Show Answer
Correct Answer:
B. SSLEngine on
Question 10

Which of the following options are valid in /etc/exports? (Choose two.)

  • A. rw
  • B. ro
  • C. rootsquash
  • D. norootsquash
  • E. uid
Show Answer
Correct Answer:
  • A. rw
  • B. ro
Question 11

Which command is used to configure which file systems a NFS server makes available to clients?

  • A. exportfs
  • B. mkfs.nfs
  • C. mount
  • D. nfsservct1
  • E. telinit
Show Answer
Correct Answer:
A. exportfs
Question 12

In the main Postfix configuration file, how are service definitions continued on the next line?

  • A. It isn't possible. The service definition must fit on one line
  • B. The initial line must end with a backslash character (\)
  • C. The following line must begin with a plus character (+)
  • D. The following line must begin with white space indentation
  • E. The service definition continues on the following lines until all of the required fields are specified
Show Answer
Correct Answer:
D. The following line must begin with white space indentation
Question 13

What does the samba-tool testparm command confirm regarding the Samba configuration?

  • A. The configuration loads successfully
  • B. The service operates as expected
  • C. The Samba services are started automatically when the system boots
  • D. The netfilter configuration on the Samba server does not block any access to the services defined in the configuration
  • E. All running Samba processes use the most recent configuration version
Show Answer
Correct Answer:
A. The configuration loads successfully
Question 14

Which of the following are logging directives in Apache HTTPD? (Choose two.)

  • A. TransferLog
  • B. CustomLog
  • C. ErrorLog
  • D. ServerLog
  • E. VHostLog
Show Answer
Correct Answer:
  • A. TransferLog
  • C. ErrorLog
Question 15

Which command is used to administer IPv6 netfilter rules?

  • A. iptables
  • B. iptablesv6
  • C. iptables6
  • D. ip6tables
  • E. ipv6tables
Show Answer
Correct Answer:
D. ip6tables
Question 16

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?

  • A. pam_filter
  • B. pam_limits
  • C. pam_listfile
  • D. pam_unix
Show Answer
Correct Answer:
B. pam_limits
Question 17

Which of the following DNS records could be a glue record?

  • A. ns1.lab A 198.51.100.53
  • B. lab NS 198.51.100.53
  • C. ns1.lab NS 198.51.100.53
  • D. ns1. A 198.51.100.53
  • E. ns1.lab GLUE 198.51.100.53
Show Answer
Correct Answer:
A. ns1.lab A 198.51.100.53
Question 18

In response to a certificate signing request, a certification authority sent a web server certificate along with the certificate of an intermediate certification authority that signed the web server certificate. What should be done with the intermediate certificate in order to use the web server certificate with Apache HTTPD?

  • A. The intermediate certificate should be merged with the web server's certificate into one file that is specified in SSLCertificateFile
  • B. The intermediate certificate should be used to verify the certificate before its deployment on the web server and can be deleted
  • C. The intermediate certificate should be stored in its own file which is referenced in SSLCaCertificateFile
  • D. The intermediate certificate should be improved into the certificate store of the web browser used to test the correct operation of the web server
  • E. The intermediate certificate should be archived and resent to the certification authority in order to request a renewal of the certificate
Show Answer
Correct Answer:
A. The intermediate certificate should be merged with the web server's certificate into one file that is specified in SSLCertificateFile
Question 19

Which Apache HTTPD configuration directive specifies the RSA private key that was used in the generation of the SSL certificate for the server?

  • A. SSLCertificateKeyFile
  • B. SSLKeyFile
  • C. SSLPrivateKeyFile
  • D. SSLRSAKeyFile
Show Answer
Correct Answer:
A. SSLCertificateKeyFile
Question 20

When are Sieve filters usually applied to an email?

  • A. When the email is delivered to a mailbox
  • B. When the email is relayed by an SMTP server
  • C. When the email is received by an SMTP smarthost
  • D. When the email is sent to the first server by an MUA
  • E. When the email is retrieved by an MUA
Show Answer
Correct Answer:
A. When the email is delivered to a mailbox

Aced these? Get the Full Exam

Download the complete 202-450 study bundle with 98+ questions in a single printable PDF.