LPIC-2 Exam 202 (Part 2 of 2), version 4.5 (202-450) Exam Prep
Free practice questions

Free LPIC-2 202-450 Practice Questions

10 exam-style questions with answers and explanations, straight from our 1,030-question bank. Tap an answer to check yourself. When you're ready, take the scored version in the free practice test.

Start the free practice test → ★★★★★4.9/5 from 2,400+ candidates · No signup

The LPIC-2 202-450 exam has 60 questions and runs 1 hours 30 minutes.

These 10 free LPIC-2 202-450 questions are organized by exam domain, so you can see how each part of the LPIC-2 Exam 202 (Part 2 of 2), version 4.5 (202-450) blueprint is tested. Reveal the answer and explanation under each question.

Domain 1: Domain Name Server

Question 1

A manually maintained BIND zone has just been edited and reloaded on its primary server. Direct queries to the primary return the new address, but direct queries to its secondary still return the old address. Both replies have the authoritative-answer flag set. The secondary has completed a refresh check, and both servers report SOA serial 2026102201. Which maintenance step was missed?

Show answer & explanation

Correct answer: C - Increase the SOA serial, validate the zone, and reload the primary.

Domain 2: Web Services

Question 2

An Apache 2.4 HTTPS site uses working Basic authentication. Its only authorization block is: <RequireAny> Require ip 10.24.8.0/24 Require valid-user </RequireAny> The policy requires BOTH a valid account and a connection from 10.24.8.0/24. At present, a client on that subnet can enter without a password. How should the authorization block be corrected?

Show answer & explanation

Correct answer: A - Replace <RequireAny> and </RequireAny> with <RequireAll> and </RequireAll>.

Question 3

After a certificate renewal on Apache 2.4, some clients connect successfully while fresh clients report unable to get local issuer certificate. A test using the correct SNI hostname shows that the server sends only its leaf certificate. That certificate is within its validity period, matches the hostname, and was issued by an intermediate CA. The affected clients already trust the root CA. Which fault best explains the difference between clients?

Show answer & explanation

Correct answer: A - Apache is omitting the issuing intermediate from the certificate chain.

Question 4

A Squid proxy must serve the corporate network except for the contractor subnet. Its complete http_access rules are: acl corporate src 10.18.0.0/16 acl contractors src 10.18.42.0/24 http_access allow corporate http_access deny contractors http_access deny all Contractors can still browse through the proxy. What correction blocks them while preserving access for every other client in 10.18.0.0/16?

Show answer & explanation

Correct answer: C - Move http_access deny contractors above http_access allow corporate.

Domain 3: File Sharing

Question 5

Alice authenticates to a Samba 4 share and can read its files, but creating a file returns Access denied. The relevant settings and directory permissions are: [reports] path = /srv/reports read only = no valid users = @analysts /srv/reports: drwxr-x--- root analysts Alice belongs to analysts. The filesystem is writable, parent directories are searchable, and no ACLs or other access controls alter these permissions. Select the change that lets analysts create files without giving other users access.

Show answer & explanation

Correct answer: D - Grant group write access with chmod g+w /srv/reports.

Question 6

A Linux file server is being configured as a Samba 4 member of an existing Active Directory domain, not as a domain controller. Domain user and group identities must map to Unix UIDs and GIDs for filesystem permission checks. Which Samba daemon provides that identity-mapping role?

Show answer & explanation

Correct answer: A - winbindd

Domain 4: Network Client Management

Question 7

A service has the following complete PAM authentication stack: auth required pam_listfile.so item=user sense=allow file=/etc/access-users onerr=fail auth sufficient pam_sss.so auth required pam_unix.so For one login attempt, pam_listfile fails, pam_sss succeeds, and pam_unix succeeds. What authentication result does PAM return to the service?

Show answer & explanation

Correct answer: B - Failure after pam_unix has been processed.

Question 8

An ISC DHCPv4 server has one dynamic pool on 192.0.2.0/24: range 192.0.2.80 192.0.2.159; The pool has 62 active leases; every other address in it is available. Twelve separate fixed-address reservations use 192.0.2.20 through 192.0.2.31. Another 24 clients without reservations must join before any lease expires. Addresses 192.0.2.160 through 192.0.2.199 are verified unused. Keeping the lower endpoint unchanged, which upper endpoint provides exactly enough dynamic addresses for all existing and new clients?

Show answer & explanation

Correct answer: D - 192.0.2.165

Domain 5: E-Mail Services

Question 9

For the past five minutes, Postfix has logged this response while delivering to one partner domain: status=deferred (host mx.partner.example said: 451 4.3.0 Temporary server error, in reply to RCPT TO command) Mail to other domains is being delivered, and the local queue filesystem has ample free space. What is the appropriate initial response to these deferred messages?

Show answer & explanation

Correct answer: C - Keep them queued and monitor Postfix's scheduled delivery retries.

Domain 6: System Security

Question 10

A Linux router translates incoming TCP connections on 203.0.113.10:443 to a web server at 10.20.0.10:443. IPv4 forwarding and the route to the server are correct. During a connection test, counters show: DNAT rule in PREROUTING: 12 packets TCP/443 ACCEPT rule in INPUT: 0 packets FORWARD policy DROP: 12 packets FORWARD already accepts ESTABLISHED,RELATED traffic; it has no other rules. Which additional rule permits the incoming connections to reach the web server?

Show answer & explanation

Correct answer: B - iptables -A FORWARD -p tcp -d 10.20.0.10 --dport 443 -j ACCEPT

That's 10 of 1,030

The full bank has 1,020 more LPIC-2 202-450 questions with explanations.

Continue in the free practice test →

View plans