nerdexam
Linux_FoundationLinux_Foundation

LFCS · Question #482

LFCS Question #482: Real Exam Question with Answer & Explanation

The correct answer is C: /etc/services. The provided excerpt, listing service names, port numbers, and associated protocols, is characteristic of the /etc/services file.

Submitted by ravi_2018· Apr 18, 2026Networking

Question

The following excerpt is from what standard network configuration file? ftp 21/tcp fsp 21/udp fspd ssh 22/tcp # SSH Remote Login Protocol ssh 22/udp telnet 23/tcp smtp 25/tcp mail time 37/tcp timserver time 37/udp timserver rlp 39/udp resource # resource location nameserver 42/tcp name # IEN 116 whois 43/tcp nicname

Options

  • A/etc/hosts
  • B/etc/inetd.conf
  • C/etc/services
  • D/etc/syslog.conf

Explanation

The provided excerpt, listing service names, port numbers, and associated protocols, is characteristic of the /etc/services file.

Common mistakes.

  • A. The /etc/hosts file maps IP addresses to hostnames, which is a different format and purpose from the excerpt.
  • B. The /etc/inetd.conf file configures network services managed by the inetd superserver, defining how daemons are launched, which doesn't match the excerpt's format.
  • D. The /etc/syslog.conf file configures system logging behavior and message routing, which has a completely different syntax and function.

Concept tested. /etc/services file purpose and format

Topics

#Network services#Port mapping#Configuration files

Community Discussion

No community discussion yet for this question.

Full LFCS PracticeBrowse All LFCS Questions