102-500 Exam QuestionsBrowse all questions from this exam

102-500 Exam - Question 52


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

Show Answer
Correct Answer: BD

The file /etc/xinetd.conf is used to configure the xinetd daemon, which acts as a super-server daemon on many Unix-like systems. This file can be used to enable or disable network services on the host by specifying configuration details for those services. Each service configuration typically includes options like 'disable = yes/no' which directly control whether the service should be started by xinetd. In contrast, other files like /etc/services only list standard service ports and do not enable or disable services.

Discussion

13 comments
Sign in to comment
serbalOption: B
Mar 24, 2020

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.

3glag
Mar 28, 2020

yes you right

CuriousLinuxCat
Aug 6, 2021

Agreed, the TCP Wrapper of xinetd should be used to enable and disable network services that are running on the host.

AdminguiOption: B
Jun 21, 2020

yes cat /etc/services its just a port list. in the xinetd.conf there are disable yes/no options. B is the right answer

edgarchaaOption: B
Jul 28, 2020

can confirm B is correct

Thi_86Option: B
Aug 31, 2020

"B" is correct.

anhcqOption: B
Dec 3, 2021

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/

med01947Option: B
Dec 17, 2021

B IS CORRECT !

drliu1202Option: B
Jul 26, 2022

/etc/services is a file to define TCP/IP ports.

drliu1202
Aug 11, 2022

"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.

serlanOption: B
Feb 3, 2022

B IS CORRECT

amindiashviliOption: D
Apr 24, 2022

Answer is D. /etc/services

drliu1202
Aug 11, 2022

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

LazylinuxOption: B
Apr 27, 2022

Is correct

kleverOption: B
Jan 10, 2023

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

MchoetiOption: B
Apr 17, 2023

It is B use /etc/xinetd.conf.

fdatOption: B
May 8, 2023

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/