exam questions

Exam LX0-104 All Questions

View all questions & answers for the LX0-104 exam

Exam LX0-104 topic 5 question 3 discussion

Actual exam question from CompTIA's LX0-104
Question #: 3
Topic #: 5
[All LX0-104 Questions]

Which of the following files is consulted when programs like netstat try to match port numbers to names?

  • A. /etc/networks
  • B. /etc/portmapper
  • C. /etc/protocols
  • D. /etc/resolv.conf
  • E. /etc/services
Show Suggested Answer Hide Answer
Suggested Answer: E 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
linux_admin
2 years, 2 months ago
The file that is consulted when programs like netstat try to match port numbers to names is /etc/services. The /etc/services file is a database of well-known port numbers and their associated service names. The port numbers are used by Internet servers to identify the type of service being requested by a client. For example, when a client connects to a web server, it typically connects to port 80. The /etc/services file maps the port number 80 to the service name http. When programs like netstat display network connections, they use the information in /etc/services to display the service name instead of just the port number.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago