PHP/Java/xinetd/Test2 Flashcards
This daemon acts as a mediator of connection request for a series of services. It accepts the connection request then starts the service. A) ftp B) telnet C) xinetd D) samba
C) xinetd
If the connection between the server and the client is terminated, the server process started by xinetd is removed from memory thus saving resources.
A) True
B) False
A) True
Some of the services run traditionally by xinetd include Telnet and FTP
A) True
B) False
A) True
In the past the default super daemon on SUSE Linux was inetd not xinetd
A) True
B) False
A) True
Services can either run standalone, that means they listen on a port themselves or they can be run via the “super daemon” xinetd.
A) True
B) False
A) True
The configuration of xinetd is distributed acorss serval files. Which of the following files/directories are included in the configuration files. A) //etc/sambad B) /etc/apache2 C) /etc/xineted.conf D) /etc/xinetd.d
C) /etc/xineted.conf
D) /etc/xinetd.d
Which is NOT a default option in the xinetd configuration file?
A) log type = FILE /var/log/xinetd.log
B) instances = 10
C) only_from = localhost
D) documentRoot = /etc/xinetd
D) documentRoot = /etc/xinetd
What keyword description can be set to stream, dgram, raw, or seqpacket? A) protocol B) cps C) socket_type D) log_type
C) socket_type
This xinetd daemon parameter defines which host can use which service. A) echo B) only_from C) no_access D) disabled
B) only_from
For the Telnet service: which of the following TWO parameters can be used for the flags key. A) IDONLY B) INTERCEPT C) echo D) stomp
A) IDONLY
B) INTERCEPT
Logging through xinetd is controlled by which of the following keys. A) log_type B) log_on_success C) log_on_failure D) id_render
A) log_type
B) log_on_success
C) log_on_failure
Which keyword could have the parameter set to tcp or udp? A) server B) protocol C) instances D) log_type
B) protocol
Generally, users logging in to FTP use anonymous or ftp as their user name and their \_\_\_\_\_\_\_\_ as the password. A) ip address B) email C) home address D) full name
B) email
The FTP protocol uses two TCP connections between the client and the server, one connection is for commands and the other is for \_\_\_\_\_\_. A) Time Information B) data C) information about shares D) password information
B) data
Which of the following are the two different types of mode for data transfer in FTP A) Active data transfer B) Progressive data transfer C) Passive data transfer D) Stop and wait transfer
A) Active data transfer
C) Passive data transfer
When the Active data transfer type is used in FTP what port does the server offer for the data channel? A) port 20 B) port 90 C) port 80 D) none of the above
A) port 20
The following are all advantages of PureFTP server EXCEPT
A) Consistent user of chroot environments
B) Uncomplicated configuration of virtual FTP servers
C) Configuration via command line parameters or with a configuration file
D) Port 99 is used for data transfer.
D) Port 99 is used for data transfer.
To start PureFTPd enter: A) rcsmb start B) /etc/init.d/pure-ftpd start C) vsftpd >> pureftpd D) /srv/ftp/pure-ftp
B) /etc/init.d/pure-ftpd start
Which of the following are methods of running PureFTPd? (select 3) A) From the command line B) From a start script C) From xinetd D) as a samba client
A) From the command line
B) From a start script
C) From xinetd
In the passive data transfer mode the server tells the client which port to use for the data channel connection?
A) True
B) False
A) True
A Virtual FTP server only handles anonymous FTP users and not authorized users (users in /etc/passwd)
A) True
B) False
A) True
The command:
pure-pw useradd joe -u ftpusers -d /home/ftpusers/joe
would add the user joe to the /etc/passwd file
A) True
B) False
B) False
This clock runs independently of any control program running in the CPU. It runs when you turn the server off. A) System time clock B) Stratum Time Clock C) Hardware Clock D) Universal Clock
C) Hardware Clock
For a Linux server connected to the Internet (or equipped with a precision clock), the best way to regulate the system clock is using \_\_\_\_\_\_\_. A) ntpd B) Netclock C) nfsd D) The Tyme
A) ntpd