CompTIA Network+ Network Services Practice Questions 2026

Master DNS, DHCP, NTP, email protocols, and core network services for the Network+ exam

18%
of Exam
50+
Questions
Start Network Services Practice Test

What Are Network Services on the Network+ Exam?

Network Services is a critical component of the CompTIA Network+ exam, testing your understanding of the essential services that every network depends on for daily operations. This domain covers DNS for name resolution, DHCP for automatic IP address assignment, NTP for time synchronization, and email protocols for messaging infrastructure.

The exam expects you to understand how each service works at a detailed level. For DNS, you must know the resolution process, record types, and zone transfers. For DHCP, understand the DORA process, lease management, scopes, and relay agents. You should also understand how these services interact — for example, DHCP often provides DNS server addresses to clients as part of the lease.

Troubleshooting service failures is a common exam scenario. When users cannot access websites by name, you need to diagnose DNS issues. When workstations receive APIPA addresses, you must identify DHCP problems. Understanding these services deeply allows you to quickly identify root causes and implement solutions.

Common DNS Record Types

RecordPurposeExample
AMaps hostname to IPv4 addresswww → 93.184.216.34
AAAAMaps hostname to IPv6 addresswww → 2606:2800:220:1::248
CNAMECreates an alias for another recordblog → server1.example.com
MXSpecifies mail server (with priority)Priority 10 → mail.example.com
PTRReverse lookup (IP to hostname)34.216.184.93 → www.example.com
NSIdentifies authoritative name serversns1.example.com, ns2.example.com
TXTStores text data (SPF, DKIM, DMARC)"v=spf1 include:_spf.google.com ~all"
SOAStart of authority for a DNS zonePrimary NS, admin email, serial number

Key Network Services Concepts

DNS Resolution Process

Client checks local cache → hosts file → recursive resolver → root server (.com) → TLD server (example.com) → authoritative server (www.example.com). Caching at each level reduces query load. TTL (Time to Live) controls how long records are cached. Know iterative vs recursive queries.

DHCP Operations

DORA: Discover (broadcast), Offer (server proposes IP), Request (client accepts), Acknowledge (server confirms). Scopes define available IP ranges. Exclusions reserve IPs for static assignment. Reservations bind specific IPs to MAC addresses. Lease duration controls how long clients keep addresses.

NTP Time Synchronization

NTP (UDP 123) synchronizes clocks using a stratum hierarchy. Stratum 0 = atomic clocks. Stratum 1 = servers directly connected to stratum 0. Each hop adds a stratum level. Accurate time is critical for authentication (Kerberos requires <5 minutes skew), logging, and certificate validation.

Email Protocols

SMTP (25/587) sends email. POP3 (110/995) downloads email, usually deleting from server. IMAP (143/993) syncs email across multiple devices. Use STARTTLS or implicit TLS for encryption. Know MX records for mail routing and SPF/DKIM/DMARC for email authentication.

Web and File Services

HTTP (80) and HTTPS (443) serve web content. FTP (20/21) transfers files but is insecure. SFTP (22) uses SSH for secure file transfer. FTPS uses TLS. SMB/CIFS (445) provides Windows file sharing. NFS is used in Unix/Linux environments. Know when to recommend each protocol.

Directory Services

LDAP (389) and LDAPS (636) provide directory services for centralized authentication and user management. Active Directory uses LDAP internally. Kerberos (88) provides ticket-based authentication. Know how these services integrate for enterprise single sign-on (SSO).

Sample Network Services Questions

Question 1

A company's email is being rejected by external servers with SPF validation failures. Which DNS record type needs to be updated?

A) MX
B) A
C) TXT
D) CNAME

Answer: C) TXT — SPF (Sender Policy Framework) records are stored as TXT records in DNS. They specify which mail servers are authorized to send email on behalf of a domain. An incorrect or missing SPF record causes receiving servers to reject or flag email as spam.

Question 2

A network has a single DHCP server on VLAN 10. Clients on VLAN 20 are receiving 169.254.x.x addresses. What should be configured to resolve this?

A) A second DHCP server on VLAN 20
B) A DHCP relay agent on the VLAN 20 router interface
C) A trunk port between the VLANs
D) A static route to the DHCP server

Answer: B) A DHCP relay agent on the VLAN 20 router interface — DHCP Discover is a broadcast that doesn't cross routers/VLANs. A relay agent (ip helper-address) on the VLAN 20 gateway converts the broadcast to a unicast directed at the DHCP server, allowing clients in other VLANs to obtain addresses from a centralized server.

Question 3

A user wants to access email on their phone, tablet, and laptop while keeping messages synchronized across all devices. Which protocol should be configured?

A) SMTP
B) POP3
C) IMAP
D) FTP

Answer: C) IMAP — IMAP (Internet Message Access Protocol) keeps email on the server and synchronizes across multiple devices. Changes made on one device (read, delete, organize) are reflected on all others. POP3 typically downloads and removes messages from the server, which doesn't support multi-device access.

Study Tips for Network Services

Frequently Asked Questions

How does DNS work?

DNS resolves domain names to IP addresses. The process: client checks local cache → queries recursive DNS server → server checks root servers → TLD servers → authoritative servers. Record types: A (IPv4), AAAA (IPv6), CNAME (alias), MX (mail), PTR (reverse lookup), NS (name server), SOA (start of authority), TXT (text/SPF). DNS uses UDP port 53 for queries, TCP 53 for zone transfers.

How does DHCP assign IP addresses?

DHCP uses the DORA process: Discover (client broadcasts to find server), Offer (server proposes an IP), Request (client accepts the offer), Acknowledge (server confirms the lease). DHCP provides IP address, subnet mask, default gateway, and DNS server. Leases expire and must be renewed. DHCP relay agents forward requests across subnets.

What is NTP and why is it important?

NTP (Network Time Protocol) synchronizes clocks across network devices using UDP port 123. Accurate time is critical for log correlation, authentication (Kerberos), certificate validation, and troubleshooting. NTP uses a stratum hierarchy — stratum 0 are atomic clocks, stratum 1 connects directly to them, and so on.

What DNS record types should I know?

A records map hostnames to IPv4 addresses. AAAA records map to IPv6. CNAME creates an alias. MX records specify mail servers with priority values. PTR records enable reverse DNS lookups. NS records identify authoritative name servers. TXT records store arbitrary text (used for SPF, DKIM, DMARC).

What email protocols are tested?

SMTP (port 25/587) sends email between servers and from clients. POP3 (port 110/995) downloads email and typically deletes from server. IMAP (port 143/993) syncs email across devices, keeping messages on server. Know secure versions: SMTPS (587 with STARTTLS), POP3S (995), IMAPS (993).

What is a DHCP relay agent?

A DHCP relay agent forwards DHCP broadcast messages between subnets. Since DHCP Discover is a broadcast that doesn't cross routers, a relay agent on the local subnet converts the broadcast to unicast and forwards it to the DHCP server on another subnet. This eliminates the need for a DHCP server on every subnet.