Courseiva
Knowledge + Practice
CertificationsVendorsCareer RoadmapsLabs & ToolsStudy GuidesGlossaryPractice Questions
C
Courseiva

Free IT certification practice questions with explained answers for CCNA, CompTIA, AWS, Azure, Google Cloud, and more.

Certification Practice Questions

CCNA practice questionsSecurity+ SY0-701 practice questionsAWS SAA-C03 practice questionsAZ-104 practice questionsAZ-900 practice questionsCLF-C02 practice questionsA+ Core 1 practice questionsGoogle Cloud ACE practice questionsCySA+ CS0-003 practice questionsNetwork+ N10-009 practice questions
View all certifications →

Product

CertificationsCertification PathsExam TopicsPractice TestsExam Dumps vs Practice TestsStudy HubComparisons

Company

AboutContactEditorial PolicyQuestion Writing PolicyTrust Center

Legal

Privacy PolicyTerms of Service

Courseiva is a free IT certification practice platform offering original exam-style practice questions, detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics for Cisco, CompTIA, Microsoft, AWS, and other technology certifications.

© 2026 Courseiva. Courseiva is operated by JTNetSolutions Ltd. All rights reserved.

Courseiva is an independent certification practice platform and is not affiliated with, endorsed by, or sponsored by Cisco, Microsoft, AWS, CompTIA, Google, ISC2, ISACA, or any other certification vendor. Vendor names and certification marks are used only to identify the exams learners are preparing for.

← DNS, Web and Mail Services practice sets

LPIC-2 DNS, Web and Mail Services • Complete Question Bank

LPIC-2 DNS, Web and Mail Services — All Questions With Answers

Complete LPIC-2 DNS, Web and Mail Services question bank — all 0 questions with answers and detailed explanations.

39
Questions
Free
No signup
Certifications/LPIC-2/Practice Test/DNS, Web and Mail Services/All Questions
Question 1mediummultiple choice
Read the full DNS explanation →

A company's mail server (Postfix) is rejecting incoming emails from a trusted partner with the error '550 5.7.1 Service unavailable; Client host [203.0.113.50] blocked using zen.spamhaus.org'. The partner's IP is not listed on any public DNSBL. What is the most likely cause?

Question 2hardmultiple choice
Read the full DNS explanation →

An administrator needs to configure a BIND DNS server to allow dynamic updates from a specific subnet (192.168.1.0/24) for the zone 'example.com'. The administrator must also ensure that the zone file is updated immediately after a dynamic update. Which configuration accomplishes this?

Question 3easymultiple choice
Read the full DNS explanation →

A web server running Apache httpd is experiencing high load. The administrator suspects that many requests are for non-existent virtual hosts. Which configuration change would reduce the load caused by these requests?

Question 4mediummultiple choice
Read the full DNS explanation →

A company runs a Postfix mail server that relays mail for internal clients. Users report that emails to a specific external domain 'example.org' are delayed by several hours. The administrator checks the mail logs and sees entries like: 'status=deferred (connect to mx.example.org[203.0.113.10]:25: Connection timed out)'. What is the most likely cause?

Question 5hardmulti select
Read the full DNS explanation →

Which TWO statements are true regarding BIND DNS server security? (Choose two.)

Question 6mediummultiple choice
Read the full DNS explanation →

You are the administrator of a medium-sized company that runs its own authoritative DNS servers for the domain 'company.com'. The primary DNS server is a BIND9 master, and there are two slaves. Recently, you updated the zone file on the master to add a new subdomain 'lab.company.com' with an A record pointing to 10.0.0.10. After the update, you increased the serial number and ran 'rndc reload'. However, after several hours, some external clients report that they cannot resolve 'lab.company.com'. You check the master server and find that the zone file contains the new record. You also check the slave servers and find that they still have the old zone data. The serial number on the master is 2025011501, while the slaves show 2025011400. The master's syslog shows no errors. The slaves' syslogs show 'zone company.com/IN: Transfer started.' but no completion messages. Firewall rules allow TCP and UDP port 53 between all DNS servers. What should you do to resolve the issue?

Question 7hardmulti select
Read the full DNS explanation →

An administrator is configuring a BIND 9 DNS server to support DNSSEC for the zone 'example.com'. The zone is signed using the NSEC3 algorithm. Which TWO statements are correct regarding the configuration and operation of NSEC3?

Question 8easymultiple choice
Read the full DNS explanation →

A small company runs a LAMP stack web server with Postfix mail server on a single Ubuntu 22.04 instance. The web server hosts a PHP application that sends password reset emails via the local mail server using PHP's mail() function. Recently, users report that password reset emails are not arriving. The administrator checks the mail log and finds that messages are being accepted by Postfix but are not being delivered. The mail queue shows messages with the status 'deferred'. There are no obvious errors in the mail log. The server has sufficient disk space and memory. The administrator suspects a DNS resolution issue. Which of the following is the most likely cause of the deferred mail?

Question 9mediumdrag order
Read the full DNS explanation →

Order the steps to configure a Linux system to use LDAP for authentication.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
Question 10mediummatching
Read the full DNS explanation →

Match each kernel parameter to its effect.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Enables IP forwarding between interfaces

Sets the system's hostname

Controls tendency to swap memory pages

Maximum receive socket buffer size

Maximum number of open file descriptors

Question 11mediummultiple choice
Read the full DNS explanation →

A company uses BIND9 as the authoritative name server for its public zone example.com. External users report that they cannot resolve the MX record for the domain, but internal users can. What is the most likely cause?

Question 12hardmultiple choice
Read the full DNS explanation →

A mail server running Postfix is deferring messages for a local user. The mail log shows 'status=deferred (mailbox is locked)'. What is the most likely cause?

Question 13easymultiple choice
Read the full DNS explanation →

Which Apache module is used to rewrite URLs based on rules?

Question 14mediummulti select
Read the full DNS explanation →

A DNS administrator wants to implement DNSSEC on an authoritative zone. Which TWO resource records are essential for DNSSEC?

Question 15hardmulti select
Read the full DNS explanation →

A mail administrator is configuring Postfix to use SASL authentication for incoming connections. Which THREE parameters must be set in main.cf?

Question 16mediummultiple choice
Read the full DNS explanation →

Refer to the exhibit. A DNS query for 'ftp.example.com' returns NXDOMAIN. What configuration change would best resolve this?

Exhibit

$ORIGIN example.com.
@       IN      SOA     ns1.example.com. admin.example.com. (
                        2023100101      ; serial
                        3600            ; refresh
                        900             ; retry
                        604800          ; expire
                        86400 )         ; minimum
        IN      NS      ns1
        IN      MX      10 mail
ns1     IN      A       192.0.2.1
mail    IN      A       192.0.2.10
www     IN      A       192.0.2.20
Question 17hardmultiple choice
Read the full DNS explanation →

Refer to the exhibit. What is the most likely cause of this Apache error?

Exhibit

[crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Question 18easymultiple choice
Read the full DNS explanation →

Refer to the exhibit. What is wrong with the reverse DNS resolution for 192.0.2.1?

Exhibit

; <<>> DiG 9.16.1 <<>> -x 192.0.2.1
;; QUESTION SECTION:
;1.2.0.192.in-addr.arpa.       IN      PTR

;; AUTHORITY SECTION:
2.0.192.in-addr.arpa.  3600    IN      SOA     ns1.example.com. admin.example.com. 2023100101 3600 900 604800 86400

;; Query time: 1 msec
;; SERVER: 192.0.2.1#53(192.0.2.1)
;; WHEN: Sat Oct 01 12:00:00 2023
;; MSG SIZE  rcvd: 80
Question 19easymultiple choice
Read the full DNS explanation →

Which Postfix configuration parameter specifies the domain that is appended to unqualified email addresses?

Question 20mediummultiple choice
Read the full DNS explanation →

A company wants to host multiple websites on a single Apache server with different domain names. Which approach is most appropriate?

Question 21hardmultiple choice
Read the full DNS explanation →

A DNS server returns SERVFAIL for queries to a zone that is configured as a slave. The master server is reachable. What should the administrator check?

Question 22easymulti select
Read the full DNS explanation →

Which TWO tools can be used to send test email messages from the command line?

Question 23mediummulti select
Read the full DNS explanation →

An Apache administrator is troubleshooting a slow website. Which THREE modules could be causing performance issues if misconfigured?

Question 24hardmultiple choice
Read the full DNS explanation →

A BIND9 nameserver is configured with 'allow-transfer { none; };' but a secondary nameserver needs to receive zone transfers. What change must be made on the master?

Question 25easymultiple choice
Read the full DNS explanation →

Which of the following is a mail delivery agent (MDA)?

Question 26mediummultiple choice
Read the full DNS explanation →

A system administrator notices that clients on the internal network can resolve the company's web server's hostname (www.example.com) using the internal DNS server (192.168.1.10), but external clients are unable to resolve it. The company uses BIND9 on an Ubuntu server. Which of the following configuration changes should be made on the DNS server to allow external resolution?

Question 27hardmultiple choice
Read the full DNS explanation →

A company is migrating from Apache HTTPD 2.2 to 2.4 and needs to configure SSL for a virtual host. The administrator wants to use modern security practices. Which of the following configurations is the most secure and recommended for Apache 2.4?

Question 28mediummultiple choice
Read the full DNS explanation →

A Postfix mail server is configured to use Dovecot SASL for authentication. Users report that they can send emails but are prompted for password repeatedly and see "SASL authentication failed" in the logs. The Dovecot SASL socket is configured correctly. What is the most likely cause?

Question 29easymultiple choice
Read the full DNS explanation →

A company has two BIND DNS servers, a primary and a secondary. The secondary fails to receive zone updates. Which command can be used to check if the primary allows zone transfers to the secondary?

Question 30easymultiple choice
Read the full DNS explanation →

An Apache web server is experiencing high memory usage under heavy load. The administrator wants to reduce the number of idle child processes. Which configuration directive should be adjusted?

Question 31hardmultiple choice
Read the full DNS explanation →

An organization's Postfix mail server is being used as an open relay. The administrator wants to restrict relaying to only authenticated users from the internal network. Which combination of settings is correct?

Question 32mediummultiple choice
Read the full DNS explanation →

Refer to the exhibit. The DNS server at 192.0.2.1 is the primary for example.com. What does the 'lame server' message indicate?

Exhibit

12-Jan-2025 14:32:10.123 client @0x7f2c00000808 192.0.2.50#54321 (example.com): query: example.com IN A + (192.0.2.1)
12-Jan-2025 14:32:10.124 lame server resolving 'example.com' (in 'example.com'?): 192.0.2.1#53
Question 33easymulti select
Read the full DNS explanation →

Which two commands can be used to trace the delegation path of a DNS domain? (Choose two.)

Question 34hardmulti select
Read the full DNS explanation →

A Postfix administrator wants to restrict which clients can relay mail through the server. Which three smtpd restriction lists are typically used for this purpose? (Choose three.)

Question 35mediummultiple choice
Read the full DNS explanation →

A company runs a DNS server using BIND9 on a Linux server. The server is configured with two network interfaces: one internal (192.168.1.10) and one external (203.0.113.10). The server is configured to be authoritative for example.com. Internal clients can resolve example.com, but external clients receive "SERVFAIL" responses. The host command from an external client returns "Host not found". The administrator checks the named configuration and finds the following in /etc/bind/named.conf.options:

options { directory "/var/cache/bind"; listen-on { 127.0.0.1; 192.168.1.10; 203.0.113.10; }; allow-query { 192.168.1.0/24; }; recursion no; dnssec-validation auto;

};

The zone configuration for example.com has proper allow-transfer and allow-update settings. What change should be made to resolve external queries?

Question 36easymultiple choice
Read the full DNS explanation →

A web administrator has installed Apache httpd 2.4 on a Linux server. The default configuration serves files from /var/www/html. When accessing http://server/, the browser shows a directory listing of /var/www/html instead of the index.html file that exists in that directory. The administrator confirms that the user has read permissions on the file and that the file is named index.html. Which directive is most likely missing from the Apache configuration?

Question 37hardmultiple choice
Read the full DNS explanation →

A systems administrator is configuring a Postfix mail server to use Dovecot for SASL authentication. The authentication method is set to PLAIN in Dovecot, and Postfix has smtpd_sasl_auth_enable=yes and smtpd_sasl_type=dovecot. Dovecot's auth socket is at /var/run/dovecot/auth-client. The mail logs show repeated "SASL authentication failed" errors for known good credentials. The administrator checks that the socket exists and that Dovecot is running. What is the most likely cause?

Question 38easymultiple choice
Read the full DNS explanation →

A system administrator notices that external clients cannot resolve the company's primary website (www.example.com) but internal clients can. What is the most likely cause?

Question 39mediummulti select
Read the full DNS explanation →

Which TWO are best practices for securing an Apache web server?

Practice tests

Scored 10-question sessions with instant feedback and explanations.

LPIC-2 Practice Test 1 — 10 Questions→LPIC-2 Practice Test 2 — 10 Questions→LPIC-2 Practice Test 3 — 10 Questions→LPIC-2 Practice Test 4 — 10 Questions→LPIC-2 Practice Test 5 — 10 Questions→LPIC-2 Practice Exam 1 — 20 Questions→LPIC-2 Practice Exam 2 — 20 Questions→LPIC-2 Practice Exam 3 — 20 Questions→LPIC-2 Practice Exam 4 — 20 Questions→Free LPIC-2 Practice Test 1 — 30 Questions→Free LPIC-2 Practice Test 2 — 30 Questions→Free LPIC-2 Practice Test 3 — 30 Questions→LPIC-2 Practice Questions 1 — 50 Questions→LPIC-2 Practice Questions 2 — 50 Questions→LPIC-2 Exam Simulation 1 — 100 Questions→

Practice by domain

Each domain maps to a weighted exam section. Focus on the domain where you are weakest.

Linux Kernel and System StartupBlock Devices, Filesystems and Advanced StorageAdvanced Networking ConfigurationDNS, Web and Mail ServicesFile Sharing and SambaSystem SecurityNetwork Client Management

Practice by scenario

Filter questions by type — troubleshooting, exhibit, drag-and-drop, PBQ, ACLs, OSPF, and more.

Browse scenarios→

Continue studying

All DNS, Web and Mail Services setsAll DNS, Web and Mail Services questionsLPIC-2 Practice Hub