exam questions

Exam 102-500 All Questions

View all questions & answers for the 102-500 exam

Exam 102-500 topic 1 question 52 discussion

Actual exam question from LPI's 102-500
Question #: 52
Topic #: 1
[All 102-500 Questions]

Depending on a system's configuration, which of the following files can be used to enable and disable network services running on this host?

  • A. /etc/profile
  • B. /etc/xinetd.conf
  • C. /etc/ports
  • D. /etc/services
  • E. /etc/host.conf
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
serbal
Highly Voted 3 years, 3 months ago
D is wrong answer, /etc/services just has port mapping and that it is, to disable or enable network services I think in Linux we should use /etc/xinetd.conf.
upvoted 39 times
3glag
3 years, 3 months ago
yes you right
upvoted 6 times
...
CuriousLinuxCat
1 year, 11 months ago
Agreed, the TCP Wrapper of xinetd should be used to enable and disable network services that are running on the host.
upvoted 6 times
...
...
Admingui
Highly Voted 3 years ago
yes cat /etc/services its just a port list. in the xinetd.conf there are disable yes/no options. B is the right answer
upvoted 15 times
...
fdat
Most Recent 2 months, 1 week ago
Selected Answer: B
xinetd is one of superdaemon which listen for incoming network connections and start the appropriate service on demand ref: https://learning.lpi.org/en/learning-materials/102-500/110/110.2/110.2_01/
upvoted 2 times
...
Mchoeti
3 months ago
Selected Answer: B
It is B use /etc/xinetd.conf.
upvoted 2 times
...
klever
6 months, 1 week ago
This file is not present on any modern distro, I checked CentOS 7 which is not that modern anymore and ubuntu 18.02 and there is only the xinetd.conf directory present with some telent file inside
upvoted 2 times
...
drliu1202
11 months, 3 weeks ago
Selected Answer: B
/etc/services is a file to define TCP/IP ports.
upvoted 4 times
drliu1202
11 months, 1 week ago
"In this section we will use xinetd to intercept connections to the sshd daemon and start this daemon on request to demonstrate how the superdaemon was used." https://learning.lpi.org/en/learning-materials/102-500/110/110.2/110.2_01/#:~:text=In%20this%20section%20we%20will%20use%20xinetd%20to%20intercept%20connections%20to%20the%20sshd%20daemon%20and%20start%20this%20daemon%20on%20request%20to%20demonstrate%20how%20the%20superdaemon%20was%20used.
upvoted 2 times
...
...
Lazylinux
1 year, 2 months ago
Selected Answer: B
Is correct
upvoted 2 times
...
amindiashvili
1 year, 2 months ago
Selected Answer: D
Answer is D. /etc/services
upvoted 2 times
drliu1202
11 months, 1 week ago
Option D is wrong. "On a Linux system, standard service ports are listed in the /etc/services file" https://learning.lpi.org/en/learning-materials/102-500/109/109.1/109.1_02/#:~:text=On%20a%20Linux%20system%2C%20standard%20service%20ports%20are%20listed%20in%20the%20/etc/services%20file
upvoted 3 times
...
...
serlan
1 year, 5 months ago
Selected Answer: B
B IS CORRECT
upvoted 3 times
...
med01947
1 year, 7 months ago
Selected Answer: B
B IS CORRECT !
upvoted 4 times
...
anhcq
1 year, 7 months ago
Selected Answer: B
xinetd is one of superdaemon which listen for incoming network connections and start the appropriate service on demand ref: https://learning.lpi.org/en/learning-materials/102-500/110/110.2/110.2_01/
upvoted 7 times
...
Thi_86
2 years, 10 months ago
"B" is correct.
upvoted 8 times
...
edgarchaa
2 years, 11 months ago
can confirm B is correct
upvoted 9 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