CPT260Test2 Flashcards

1
Q

This daemon acts as as a mediator of connection request for a series of services. It accepts the connection request then starts the service.

A

xinetd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Some of the services run traditionally by xinetd include Telnet and FTP

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

In the past the default super daemon on SUSE Linux was inetd not xinetd

A

true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Servuces can either run standalone, that means they listen on a port themselves or they can be run via the “super daemon” xinetd.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The configuration of xinetd is distributed acorss serval files. Which of the following files/directories are included in the configuration files.

A

/etc/xinetd.conf

/etc/xinetd.d

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which is NOT a default option in the xinetd configuration file?

A

documentRoot = /etc/xinetd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What keyword description can be set to stream, dgram, raw, or seqpacket?

A

socket_type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

This xinetd daemon parameter defines which host can use which service.

A

only_from

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

For the Telnet service: which of the following TWO parameters can be used for the flags key.

A

IDONLY

INTERCEPT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Logging through xinetd is controlled by which of the following keys.

A

log_type
log_on_success
log_on_failure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which keyword could have the parameter set to tcp or udp?

A

protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Generally, users logging in to FTP use anonymous or ftp as their user name and their ________ as the password.

A

email

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

The FTP protocol uses two TCP connections between the client and the server, one connection is for commands and the other is for ______.

A

data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which of the following are the two different types of mode for data transfer in FTP

A

Active data transfer

Passive data transfer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

When the Active data transfer type is used in FTP what port does the server offer for the data channel?

A

port 20

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

The following are all advantages of PureFTP server EXCEPT

A

port 99 is used for data transfer

18
Q

To start PureFTPd enter:

A

/etc/init.d/pure-ftpd start

19
Q

Which of the following are methods of running PureFTPd? (select 3)

A

From the command line
From a start script
From xinetd

20
Q

In the passive data transfer mode the server tells the client which port to use for the data channel connection?

A

True

21
Q

A Virtual FTP server only handles anonymous FTP users and not authorized users (users in /etc/passwd)

A

True

22
Q

The command:

pure-pw useradd joe -u ftpusers -d /home/ftpusers/joe

would add the user joe to the /etc/passwd file

A

False

23
Q

This clock runs independently of any control program running in the CPU. It runs when you turn the server off

A

Hardware clock

24
Q

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

25
Q

Which command would set the hardware clock time to the current system time?

A

hwclock -w

26
Q

To synchronize the system time of a server to a specific external time source such as pool.ntp.org use the command __________

A

netdate pool.ntp.org

27
Q

The hwclock tool can be be used to (select all that apply).

A

display current time
Set the hardware clock to the system time
Set the hardware clock to a specific time

28
Q

The disadvantage of using netdate is that the hwclock command cannot be used while the system is booted

A

False

29
Q

NTP is an industry standard protocol that uses UDP on port ____ to communicate between time servers and time clients.

A

123

30
Q

A time client can also, in turn, act as a time server for other servers and client workstations on the network

A

true

31
Q

NTP not only corrects the time, but it keeps track of consistent time variations and automatically adjust for system time drift on the client.

A

true

32
Q

_____ is designed for sharing files and directories over a network. It requires configuration of an NFS server and NFS clients

A

nfs

33
Q

The NFS server stores all configuration settings in the ___________ file.

A

/etc/exports

34
Q

The following are all advantages of using Java for web applications EXCEPT

A

Java is a proprietary product of Microsoft

35
Q

____ _____ are actual web applications that are developed according to the Java servlet specifications.

A

Java servlets

36
Q

________ is an extension to the Java servlet specification, which allows developers to separate HTML and application code.

A

JSP (Java Server Pages)

37
Q

Web applications that are developed in Java are usually distributed in _____ files located in the /usr/share/tomcat/webApps directory.

A

WAR (web archive)

38
Q

When an html file containing php code is requested. The webserver opens the file but instead of sending the php code directly bck to the browser it is passed through the PHP ________ first.

A

interpreter

39
Q

To run an Java servlet you need a servlet container such as ____________.

A

Tomcat

40
Q

The FTP client offers the FTP server an unprivileged TCP port for the data channel connection. The server initializes the data channel from its port 20 to the port offered by the client.
there is a pic of client “use port 12345” to server on port 21. The server responds on port 20.

A

Active Data Transfer

41
Q

Which of the following directories is NOT a good candidate for exporting with Network File System?

A

/etc

42
Q

Disallows the downloading of files which are owned by “ftp”, (files that were uploaded but not validated by a local admin

A

AntiWarez Yes