LPIC-2 Network Client Management Practice Question
Which TWO statements about the DHCP client on Linux are correct?
⚠ Common exam trap
Many candidates confuse the DHCP client configuration file (`/etc/dhcp/dhclient.conf`) with the DHCP server configuration file (`/etc/dhcp/dhcpd.conf`), and assuming that `dhcpcd` is universal across all Linux distributions when it is not.
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
✓
The dhclient command can be used to release and renew a DHCP lease.
The `dhclient` command, when invoked with the `-r` flag, releases the current DHCP lease, and with the `-v` flag (or without flags on many systems), it requests a new lease from the DHCP server. This is a standard method for manually managing DHCP leases on Linux systems using the ISC DHCP client.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
The dhclient command can be used to release and renew a DHCP lease.
Why this is correct
Correct. dhclient can release and renew leases via commands like dhclient -r and dhclient.
- ✓
The /etc/dhcp/dhclient.conf file can specify the hostname the client sends to the server.
Why this is correct
Correct. The send host-name option in dhclient.conf sets the hostname.
- ✗
The dhclient-script is used to parse the /etc/resolv.conf file.
Why it's wrong here
Incorrect. dhclient-script is used to configure network interfaces after a lease is obtained, not to parse resolv.conf.
- ✗
The dhcpcd daemon is the standard DHCP client on all Linux distributions.
Why it's wrong here
Incorrect. dhcpcd is used in some distributions, but not all; other clients like dhclient or systemd-networkd are common.
- ✗
The /etc/dhcpd.conf file configures the DHCP client.
Why it's wrong here
Incorrect. /etc/dhcpd.conf is the configuration file for the DHCP server, not the client.
Visual reference
Go deeper
Related to this question
About these practice questions
One of 507 original LPIC-2 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 LPIC-2 practice question is part of Courseiva's free LPI 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 LPIC-2 exam.