LFCE Linux Network Services 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: 11 | Questions: 20 | Updated: Aug 16, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. Which command tests DNS resolution from the command line?

Explanation

`nslookup` queries DNS servers to resolve a domain name to its IP address and can display related DNS records. The other commands are used for network interface configuration (`ifconfig`), routing (`route`), and firewall management (`iptables`).

Submit
Please wait...
About This Quiz
LFCE Linux Network Services Quiz - Quiz

This quiz evaluates your understanding of Linux network services essential for the LFCE certification. You'll test your knowledge of DNS, DHCP, HTTP\/HTTPS, mail services, and network configuration tools. Master these services to effectively manage and troubleshoot Linux network infrastructure in production environments.

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 primary function of a proxy server in network services?

Explanation

A proxy server sits between a client and another server, forwarding requests and returning responses. This intermediary can also help control access, cache frequently requested content, and conceal a client’s network address, but its primary role is handling requests on the client’s behalf.

Submit

3. Which tool displays active network connections and listening ports?

Explanation

`netstat` displays active network connections and listening ports, along with related network statistics. It helps identify which services are accepting connections and which remote systems are connected.

Submit

4. What protocol does Postfix use to relay outgoing mail?

Explanation

Postfix relays outgoing email using Simple Mail Transfer Protocol (SMTP), the standard protocol for sending messages between mail servers and from clients to mail servers. IMAP and POP3 are primarily used to retrieve email, while SNMP is used to monitor and manage network devices.

Submit

5. Which configuration file stores Apache virtual host definitions?

Explanation

On Debian- and Ubuntu-based systems, Apache virtual host configuration files are typically stored in `/etc/apache2/sites-available/`. Administrators can keep multiple site definitions there and enable selected ones by creating links in `/etc/apache2/sites-enabled/`. The main Apache configuration file includes the enabled configurations when the server starts or reloads.

Submit

6. What does NTP stand for?

Explanation

NTP stands for Network Time Protocol. It synchronizes the clocks of computers and other devices over a network, helping them maintain accurate and consistent time.

Submit

7. Which service manages dynamic IP address allocation on a network?

Explanation

DHCP (Dynamic Host Configuration Protocol) automatically assigns IP addresses and other network settings to devices when they join a network. It typically provides each address as a temporary lease, which can be renewed or reassigned. DNS resolves domain names, NTP synchronizes clocks, and SNMP monitors and manages network devices.

Submit

8. What is the purpose of a reverse DNS lookup?

Explanation

A reverse DNS lookup uses an IP address to find the associated hostname. It queries DNS records designed for reverse lookups, helping identify which domain or host is linked to a given IP address.

Submit

9. Which file contains the local hostname in Linux?

Explanation

Linux systems typically store the machine’s local hostname in `/etc/hostname`, usually as a single line. The `/etc/hosts` file serves a different purpose: it maps hostnames to IP addresses. `/etc/domain` and `/etc/network` are not the standard files for storing the local hostname.

Submit

10. What does HTTPS use to encrypt web traffic?

Explanation

HTTPS uses TLS (historically called SSL) to encrypt data exchanged between a browser and a web server. TLS also helps verify the server’s identity and protect transmitted data from tampering. SSH, VPNs, and IPsec serve different purposes and are not the standard encryption protocol for HTTPS.

Submit

11. Which DNS record type maps a domain name to an IPv6 address?

Explanation

An AAAA record maps a domain name to an IPv6 address. By comparison, an A record maps a name to an IPv4 address, CNAME specifies an alias, and MX identifies mail servers for a domain.

Submit

12. What is the standard LDAP port for unencrypted connections?

Explanation

LDAP uses TCP port 389 for standard, unencrypted connections. Encrypted LDAP connections commonly use port 636 for LDAPS, while ports 3306 and 5432 are typically associated with MySQL and PostgreSQL databases, respectively.

Submit

13. Which Apache module enables URL rewriting?

Explanation

Apache’s mod_rewrite allows administrators to transform or redirect request URLs using rules based on patterns and conditions. It is commonly used for clean URLs, redirects, canonicalization, and routing requests to different resources. mod_ssl handles HTTPS, mod_proxy forwards requests, and mod_auth provides authentication; these modules do not provide URL rewriting.

Submit

14. What does the MX DNS record specify?

Explanation

An MX (Mail Exchange) DNS record identifies the mail server responsible for receiving email for a domain. It points to the server’s hostname, allowing other mail servers to route messages to the right destination.

Submit

15. Which protocol is used to securely retrieve email from a mail server?

Explanation

IMAP (Internet Message Access Protocol) lets an email client retrieve and manage messages stored on a mail server. It can be secured with TLS, commonly called IMAPS, to encrypt the connection. SMTP is mainly used to send email, while SNMP and LDAP serve other purposes.

Submit

16. What is the default HTTP port number?

Explanation

HTTP uses port 80 by default for unencrypted web traffic. Secure HTTPS traffic typically uses port 443, while ports 8080 and 3000 are often used for development or alternative services.

Submit

17. Which configuration file defines DHCP server scopes and parameters?

Explanation

`/etc/dhcpd.conf` is typically used by the ISC DHCP server to define subnet scopes, address ranges, lease durations, and options such as gateways and DNS servers. The other files serve different purposes: `/etc/hosts` maps hostnames to addresses, `/etc/resolv.conf` configures DNS resolution, and `/etc/network/interfaces` configures network interfaces.

Submit

18. What does BIND stand for in the context of DNS services?

Explanation

BIND stands for Berkeley Internet Name Domain. It is widely used DNS software that helps resolve human-readable domain names to IP addresses and can provide authoritative or caching DNS services.

Submit

19. Which port does SMTP typically use for mail transmission?

Explanation

SMTP typically uses port 25 to transmit email between mail servers. Ports 110 and 143 are commonly used for retrieving email via POP3 and IMAP, respectively. Port 465 is associated with SMTP over implicit TLS, rather than the traditional default SMTP port.

Submit

20. What is the primary purpose of DHCP in a network environment?

Explanation

DHCP (Dynamic Host Configuration Protocol) automatically provides devices joining a network with IP addresses and other settings, such as the default gateway and DNS servers. This reduces manual configuration, helps prevent address conflicts, and allows clients to connect and communicate on the network more easily.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Which command tests DNS resolution from the command line?
What is the primary function of a proxy server in network services?
Which tool displays active network connections and listening ports?
What protocol does Postfix use to relay outgoing mail?
Which configuration file stores Apache virtual host definitions?
What does NTP stand for?
Which service manages dynamic IP address allocation on a network?
What is the purpose of a reverse DNS lookup?
Which file contains the local hostname in Linux?
What does HTTPS use to encrypt web traffic?
Which DNS record type maps a domain name to an IPv6 address?
What is the standard LDAP port for unencrypted connections?
Which Apache module enables URL rewriting?
What does the MX DNS record specify?
Which protocol is used to securely retrieve email from a mail server?
What is the default HTTP port number?
Which configuration file defines DHCP server scopes and parameters?
What does BIND stand for in the context of DNS services?
Which port does SMTP typically use for mail transmission?
What is the primary purpose of DHCP in a network environment?
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!