LFCS Linux Networking Configuration Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Attempts: 13 | Questions: 20 | Updated: Aug 16, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. What does DHCP stand for?

Explanation

DHCP stands for Dynamic Host Configuration Protocol. It automatically assigns devices on a network essential settings, such as IP addresses, subnet masks, and default gateways, so they can communicate without requiring users to configure each device manually.

Submit
Please wait...
About This Quiz
LFCS Linux Networking Configuration Quiz - Quiz

This quiz evaluates your understanding of Linux networking configuration at the LFCS level. You'll demonstrate knowledge of network interfaces, IP addressing, routing, DNS, and network troubleshooting tools essential for Linux system administration. Ideal for candidates preparing for LFCS certification or deepening network administration skills.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. What is the loopback IP address used for testing local network stack?

Explanation

127.0.0.1 is the standard IPv4 loopback address, often called “localhost.” Traffic sent to it stays within the device, making it useful for testing the local network stack without communicating over an external network.

Submit

3. Which field in an ifcfg file specifies the IP address and subnet mask in CIDR notation?

Explanation

`IPADDR` specifies the interface’s IP address, while `PREFIX` specifies the subnet length in CIDR notation—for example, `PREFIX=24` represents a 24-bit network prefix. Together, they define the address and subnet in an ifcfg file.

Submit

4. The 'arp -a' command shows what information?

Explanation

`arp -a` displays the system’s active ARP cache entries, which associate local network IP addresses with their corresponding MAC addresses. These mappings help devices deliver data to the correct devices on the local network.

Submit

5. What does ARP stand for?

Explanation

ARP stands for Address Resolution Protocol. It helps devices on a local network find the hardware (MAC) address associated with an IP address, allowing data to be delivered to the correct device.

Submit

6. Which file on Debian systems defines persistent network configuration in netplan format?

Explanation

On Debian systems configured with Netplan, persistent network settings are stored in YAML files under `/etc/netplan/`. Netplan reads these files and applies the network configuration at startup. `/etc/network/interfaces` is used by the traditional ifupdown system instead.

Submit

7. The 'ip link set eth0 up' command does what?

Explanation

The `ip link set eth0 up` command changes the administrative state of the network interface named `eth0` to up, enabling it to send and receive traffic when connected and configured. It does not assign an IP address, delete the interface, or display its status; those actions require different commands.

Submit

8. Which command displays DNS query information for a domain?

Explanation

`nslookup` and `dig` query DNS servers to resolve a domain name and display details such as its IP address, DNS records, and the responding server. `ping` tests network reachability, while `traceroute` shows the route packets take to a destination.

Submit

9. What is the default port for SSH?

Explanation

SSH (Secure Shell) uses TCP port 22 by default for encrypted remote access and command execution.

Submit

10. Which configuration enables a network interface on boot in a Red Hat system?

Explanation

In traditional Red Hat network configuration files, `ONBOOT=yes` tells the system to activate the interface during startup. Setting it to `no` leaves the interface inactive after boot unless it is enabled manually or by another network-management service. The other options are not the standard ifcfg setting for controlling boot-time activation.

Submit

11. Which command displays the current network interface configuration and IP addresses on a Linux system?

Explanation

The `ip addr show` command displays network interfaces along with their current status and assigned IP addresses. It is part of Linux’s `ip` utility and is the modern, widely available alternative to the older `ifconfig` command.

Submit

12. The 'ss' command is a modern replacement for which legacy utility?

Explanation

The `ss` command displays information about network sockets, including active connections, listening ports, and socket statistics. It serves as a modern replacement for `netstat`, typically providing this information more quickly and with greater detail. Both utilities help diagnose and inspect network connections on Linux systems.

Submit

13. Which tool traces the route packets take to reach a destination host?

Explanation

`traceroute` shows the network hops packets pass through on their way to a destination host, helping identify the route and locate delays or connection problems.

Submit

14. What is the purpose of the /etc/resolv.conf file?

Explanation

The `/etc/resolv.conf` file specifies DNS servers and related settings used by the system to translate hostnames, such as `example.com`, into IP addresses. It may also define search domains that are appended to unqualified hostnames during lookup.

Submit

15. Which command is used to test connectivity to a remote host and measure latency?

Explanation

`ping` sends packets to a remote host and measures how long they take to return, helping test connectivity and estimate network latency.

Submit

16. What does the 'netstat -tulpn' command show?

Explanation

`netstat -tulpn` lists listening TCP and UDP sockets, along with the process ID and program name associated with each. Its options select TCP/UDP sockets, show listening ports, and display numeric addresses and process details.

Submit

17. Which file defines the default gateway on a Red Hat system?

Explanation

On traditional Red Hat systems, `/etc/sysconfig/network` stores system-wide network settings, including the default gateway, typically specified with a `GATEWAY=` entry. The other files serve different purposes: GRUB configuration controls boot settings, while route-specific files configure routes for particular interfaces. Modern Red Hat releases may manage networking differently.

Submit

18. The command 'ip route add 192.168.1.0/24 via 10.0.0.1' does what?

Explanation

The command adds a static route for the 192.168.1.0/24 network, directing traffic to that network through the gateway at 10.0.0.1. It does not display, delete, or flush routes.

Submit

19. Which utility is used to configure network interfaces on Debian-based systems using YAML syntax?

Explanation

Netplan is a network configuration utility used on many Debian-based systems, including Ubuntu. It defines network interfaces and their settings in YAML files, which are then applied by a backend such as NetworkManager or systemd-networkd.

Submit

20. What is the primary configuration file for static IP addresses on a Red Hat-based system?

Explanation

On traditional Red Hat-based systems, network interface configuration files are stored under `/etc/sysconfig/network-scripts/` and named `ifcfg-*`, with each file typically defining settings such as the interface’s IP address, gateway, and boot behavior.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
What does DHCP stand for?
What is the loopback IP address used for testing local network stack?
Which field in an ifcfg file specifies the IP address and subnet mask...
The 'arp -a' command shows what information?
What does ARP stand for?
Which file on Debian systems defines persistent network configuration...
The 'ip link set eth0 up' command does what?
Which command displays DNS query information for a domain?
What is the default port for SSH?
Which configuration enables a network interface on boot in a Red Hat...
Which command displays the current network interface configuration and...
The 'ss' command is a modern replacement for which legacy utility?
Which tool traces the route packets take to reach a destination host?
What is the purpose of the /etc/resolv.conf file?
Which command is used to test connectivity to a remote host and...
What does the 'netstat -tulpn' command show?
Which file defines the default gateway on a Red Hat system?
The command 'ip route add 192.168.1.0/24 via 10.0.0.1' does what?
Which utility is used to configure network interfaces on Debian-based...
What is the primary configuration file for static IP addresses on a...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!