easyMultiple Choice
220-1201 Practice Question: During a network upgrade, a technician needs to…
During a network upgrade, a technician needs to ensure that all devices on a small office LAN receive IP addresses automatically from a central server. Which protocol must be running on that server?
⚠ Common exam trap
CompTIA often tests the distinction between DHCP and DNS, as candidates may confuse name resolution with IP address assignment, especially when both services are commonly run on the same server.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
DHCP
The Dynamic Host Configuration Protocol (DHCP) is the correct answer because it is specifically designed to automatically assign IP addresses, subnet masks, default gateways, and other network configuration parameters to devices on a LAN. A DHCP server listens on UDP port 67 and responds to client requests on UDP port 68, enabling zero-touch IP configuration for all devices on the network.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
DNS
Why it's wrong here
DNS resolves hostnames to IP addresses; it maps names to existing addresses and never allocates them. The server must run DHCP to hand out addresses automatically. DNS would be correct when clients need to resolve server names rather than obtain their own IP configuration.
- ✗
HTTP
Why it's wrong here
HTTP serves web content and carries no address-assignment mechanism, so clients would never receive IP configuration. DHCP is the protocol that leases addresses automatically. HTTP would be correct for hosting a web-based management or configuration portal that technicians browse to.
- ✓
DHCP
Why this is correct
DHCP automatically assigns IP addresses, subnet masks, gateways and DNS settings from a central server, eliminating manual configuration. Running it on the server satisfies the requirement that all LAN devices receive addresses automatically, which static addressing or DNS alone cannot provide.
- ✗
FTP
Why it's wrong here
FTP transfers files between hosts; it has no mechanism for allocating IP addresses, gateways or lease times. The server needs DHCP, which dynamically assigns addresses to LAN clients. FTP would be correct when a technician must upload or download configuration files to a server.
Visual reference
Go deeper
Related to this question
Learn chapter
Printer Connection Types: USB, Network, Wireless
Key term
Subnet
A subnet is a logical subdivision of an IP network, created by partitioning a larger network address space using subnet masks.
Key term
DHCP
Dynamic Host Configuration Protocol (DHCP) automatically assigns IP addresses and network settings to devices on a network, so they can communicate without manual configuration.
About these practice questions
One of 871 original 220-1201 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 220-1201 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 220-1201 exam.