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.
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/hostsfile maps IP addresses to hostnames, which is a different format and purpose from the excerpt. - B. The
/etc/inetd.conffile configures network services managed by theinetdsuperserver, defining how daemons are launched, which doesn't match the excerpt's format. - D. The
/etc/syslog.conffile configures system logging behavior and message routing, which has a completely different syntax and function.
Concept tested. /etc/services file purpose and format
Topics
Community Discussion
No community discussion yet for this question.