Courseiva

LPIC-2 Practice Question: Block Devices, Filesystems and Advanced Storage

Order the steps to configure a Linux system as a DHCP client using dhclient.

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

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

Configure the interface for DHCP, then run dhclient, then check the IP address, then verify the default route, then test connectivity.

First configure the interface for DHCP, then run dhclient, check address, verify route, and test.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Configure the interface for DHCP, then run dhclient, then check the IP address, then verify the default route, then test connectivity.

    Why this is correct

    This order ensures the interface is set to obtain an IP automatically before dhclient requests one, then verifies the obtained address and route, and finally tests that the configuration works.

  • Run dhclient first, then configure the interface for DHCP, then check the IP address, then verify the default route, then test connectivity.

    Why it's wrong here

    Running dhclient before configuring the interface for DHCP will fail because the interface is not set to use DHCP, so no lease will be obtained.

  • Check the IP address first, then configure the interface for DHCP, then run dhclient, then verify the default route, then test connectivity.

    Why it's wrong here

    Checking the IP address before running dhclient is premature because no DHCP has been performed yet, so the address will be either missing or a static one.

  • Configure the interface for DHCP, then check the IP address, then run dhclient, then verify the default route, then test connectivity.

    Why it's wrong here

    Checking the IP address before running dhclient will show no DHCP-assigned address (or a stale one), as dhclient has not yet been executed to obtain a lease.

Visual reference

Client DHCP Server 1 Discover (broadcast) 2 Offer (IP: 192.168.1.10) 3 Request (I accept) 4 Acknowledge (lease confirmed) DORA — the four-step DHCP lease process

About these practice questions

This LPIC-2 question is part of Courseiva's 507-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.