Courseiva

LPIC-1 · topic practice

Essential System Services and Networking practice questions

This domain covers essential Linux system services and networking for LPIC-1. It tests DNS querying and BIND zone records, network configuration with Netplan and ip, firewall rules with iptables, and service management. Expect scenario-based questions requiring commands and configuration syntax.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Essential System Services and Networking

What the exam tests

What to know about Essential System Services and Networking

A candidate must configure and troubleshoot network interfaces, DNS resolution, and firewall rules using Netplan, dig, and iptables. The most important thing is to apply changes correctly and verify with tools like ip addr, dig, and iptables -L.

Querying DNS records using dig and host, including MX, A, and PTR lookups

Configuring network interfaces with Netplan YAML and applying changes via netplan apply

Writing iptables rules to filter traffic by source, destination, and port

Adding BIND zone resource records such as MX with priority and A records

Watch out for

Common Essential System Services and Networking exam traps

  • ▸Forgetting that Netplan requires 'netplan apply' or 'netplan try' to activate changes; editing YAML alone does not apply configuration.
  • ▸Confusing iptables chain order and default policies; rules are evaluated top-down, so a later ACCEPT will not override an earlier DROP.
  • ▸Miswriting BIND MX records by omitting the trailing dot in the mail server hostname, causing it to be relative to the zone.

Practice set

Essential System Services and Networking questions

20 questions · select your answer, then reveal the explanation

A web server running Apache on Linux is experiencing slow response times. The administrator runs 'netstat -tuln' and sees many connections in TIME_WAIT state. Which of the following is the best course of action to improve performance?

Question 2mediummultiple choice
Review the full routing breakdown →

A system administrator is configuring a Linux server to act as a router. The server has two network interfaces: eth0 (192.168.1.1/24) and eth1 (10.0.0.1/24). Which of the following commands enables IP forwarding on this server?

Which TWO of the following are valid methods to configure network interfaces on a Linux system? (Choose two.)

Which THREE of the following are true regarding the use of systemd-networkd for network configuration? (Choose three.)

Refer to the exhibit. The administrator wants to ensure that SSH service starts automatically after a system reboot. Based on the output, what is the current status of this setting?

Exhibit

Refer to the exhibit.

Output of 'systemctl status sshd':

sshd.service - OpenSSH server daemon
   Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2023-01-10 14:23:45 UTC; 2h 15min ago
   Main PID: 1234 (sshd)
   Tasks: 1 (limit: 512)
   Memory: 4.2M
   CGroup: /system.slice/sshd.service
           └─1234 /usr/sbin/sshd -D

Refer to the exhibit. The system has two network interfaces: eth0 and eth1. Which interface will be used to reach a host at IP address 10.10.10.10?

Exhibit

Refer to the exhibit.

Output of 'ip route show':

default via 192.168.1.1 dev eth0 proto static metric 100
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.10 metric 100
10.0.0.0/8 via 10.0.0.1 dev eth1 proto static metric 200
Question 7hardmultiple choice
Review the full routing breakdown →

A company runs a critical web application on a Linux server (Ubuntu 20.04) with Apache and MySQL. The server has two network interfaces: eth0 (public IP) and eth1 (private IP). Recently, the application has been experiencing intermittent connectivity issues. Users report that the web page sometimes loads slowly or times out. The administrator checks the network configuration and finds the following: eth0 is configured with a static IP 203.0.113.10/24, gateway 203.0.113.1; eth1 is configured with a static IP 10.0.0.10/24, no gateway. The administrator runs 'ip route show' and sees: default via 203.0.113.1 dev eth0, 10.0.0.0/24 dev eth1 proto kernel scope link src 10.0.0.10 metric 100. The administrator also notices that the system's /etc/resolv.conf contains nameserver 8.8.8.8 and nameserver 8.8.4.4. The MySQL server is configured to listen on 127.0.0.1. What is the most likely cause of the intermittent connectivity issues?

Question 8hardmultiple choice
Read the full DHCP explanation →

An administrator reviews the above DHCP server logs. Based on the output, which statement is correct about the DHCP transaction?

Exhibit

Refer to the exhibit.

$ cat /var/log/messages | grep -i "dhcp" | tail -5
Nov 12 08:22:15 server dhcpd: DHCPDISCOVER from 00:1a:2b:3c:4d:5e via eth0
Nov 12 08:22:15 server dhcpd: DHCPOFFER on 192.168.1.100 to 00:1a:2b:3c:4d:5e via eth0
Nov 12 08:22:18 server dhcpd: DHCPREQUEST for 192.168.1.100 (192.168.1.1) from 00:1a:2b:3c:4d:5e via eth0
Nov 12 08:22:18 server dhcpd: DHCPACK on 192.168.1.100 to 00:1a:2b:3c:4d:5e via eth0
Nov 12 08:22:20 server dhcpd: DHCPINFORM from 192.168.1.100 via eth0

A junior system administrator is tasked with setting up a new Linux server that will act as a network time client. The server must synchronize its clock with the external NTP pool servers 0.pool.ntp.org, 1.pool.ntp.org, and 2.pool.ntp.org. The administrator installs the ntp package and edits /etc/ntp.conf to include the following lines:

server 0.pool.ntp.org server 1.pool.ntp.org server 2.pool.ntp.org

However, after restarting the ntpd service, the administrator notices that the system time does not appear to be synchronized. The command 'ntpq -p' returns no output. The administrator checks the status of the ntpd service with 'systemctl status ntp' and sees that the service is active (running). What is the most likely reason for the synchronization failure?

An organization wants to implement a centralized logging solution for multiple Linux servers. Which service should run on the central server to receive syslog messages?

A Linux server running multiple virtual hosts on Apache suddenly becomes unresponsive to web requests. The administrator finds that the server still responds to ping. Which diagnostic command would best identify whether Apache is accepting connections?

Question 12hardmultiple choice
Read the full DHCP explanation →

A company's server administrator needs to replace an existing DNS server (192.168.1.10) with a new one (192.168.1.20). Which file must be updated on all DHCP clients to ensure they use the new DNS server?

After updating the SSH configuration, a sysadmin restarts the sshd service, but remote connections still use the old settings. Which command should be used to reload the configuration without dropping existing connections?

Which TWO commands can be used to display network interface statistics on a Linux system?

Which TWO configuration files are commonly associated with NTP client configuration?

Which THREE steps are required to configure a static IP address on a modern Linux system using systemd-networkd?

A host on the 192.168.1.0/24 network cannot reach the internet. Based on the exhibit, which is the most likely cause?

Exhibit

Refer to the exhibit.

# ip route show
default via 10.0.1.1 dev eth0
10.0.1.0/24 dev eth0 proto kernel scope link src 10.0.1.10
192.168.1.0/24 via 10.0.1.254 dev eth0

An administrator notices that SSH connections to a remote Linux server are timing out. After confirming network connectivity, which command should the administrator run on the server to check whether the SSH daemon is actively listening?

On a Linux server using systemd and Postfix for email service, an administrator needs to diagnose a delivery failure for a local user. Which command should be used to view the most recent mail-related system journal entries?

An administrator wants to combine two network interfaces into a single logical interface for redundancy and increased throughput. The system uses NetworkManager. Which method is currently recommended to achieve this?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Essential System Services and Networking sessions

Start a Essential System Services and Networking only practice session

Every question in these sessions is drawn from the Essential System Services and Networking domain — nothing else.

Related practice questions

Related LPIC-1 topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the LPIC-1 exam test about Essential System Services and Networking?
A candidate must configure and troubleshoot network interfaces, DNS resolution, and firewall rules using Netplan, dig, and iptables. The most important thing is to apply changes correctly and verify with tools like ip addr, dig, and iptables -L.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Essential System Services and Networking questions in a focused session?
Yes — the session launcher on this page draws every question from the Essential System Services and Networking domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other LPIC-1 topics?
Use the topic links above to move to related areas, or go back to the LPIC-1 question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the LPIC-1 exam covers. They are not copied from any real exam or dump site.