Courseiva
Administrative TaskshardMultiple SelectObjective-mapped

LPIC-1 Administrative Tasks Practice Question

Which THREE steps are necessary to configure a static IP address using ifcfg files on a RHEL-based system? (Choose THREE.)

⚠ Common exam trap

Test-takers frequently confuse runtime commands (like `ip addr add`) with persistent configuration steps, or they mistakenly think restarting the network service is a configuration step rather than an activation step.

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

Edit /etc/sysconfig/network-scripts/ifcfg-eth0

On RHEL-based systems, persistent network interface configuration is stored in files named `/etc/sysconfig/network-scripts/ifcfg-<interface>`. Editing this file allows you to define static IP parameters that survive reboots. This is the standard method for configuring static IP addresses using ifcfg files.

Answer analysis

Option-by-option breakdown

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

  • Edit /etc/sysconfig/network-scripts/ifcfg-eth0

    Why this is correct

    Correct: the ifcfg file must be edited.

  • Set ONBOOT=yes

    Why this is correct

    Correct: ensures the interface starts at boot.

  • Run 'systemctl restart network'

    Why it's wrong here

    This applies the configuration but is not a configuration step itself.

  • Run 'ip addr add 192.168.1.10/24 dev eth0'

    Why it's wrong here

    This is a temporary change, not persistent.

  • Set BOOTPROTO=static

    Why this is correct

    Correct: indicates static IP configuration.

About these practice questions

Courseiva writes every LPIC-1 question from scratch — 527 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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-1 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-1 exam.