Advance Server Lesson 5 Quiz

¡Supera tus tareas y exámenes ahora con Quizwiz!

A Web server in Apache is limited to 100 aliases.

False

SMB is typically used in Linux environments.

False

When connecting to the vsftpd daemon using an FTP client utility as the user "anonymous", you will be placed in the root user's home directory.

False

What does the smbclient -h command do?

It displays a summary of valid options for the smbclient command.

After you have installed Apache, you need to start the ____ service.

apache2

A standard Samba configuration file is divided into three sections enclosed by ____.

brackets

After modifying the /etc/aliases file, what command must be run in order to rebuild the aliases database?

newaliases

Which share definition parameter in the Samba configuration file prevents users of a service from modifying files in the service's directory?

read only

By default, Apache is configured with no default host and no virtual host.

False

In markup language, the ____ indicates the ending tag.

forward slash (/)

What FTP command runs a shell on the local computer?

!

A virtual host configuration file must have a ____ extension.

.conf

You can configure an Apache Web server manually by editing configuration files in the ____ directory.

/etc/apache2/

Linux clients access shares via the ____ file.

/etc/samba/smb.conf

Samba uses the ____ configuration file to provide services.

/etc/samba/smb.conf

​Where is the default document root directory for the Apache web server?

/var/www/html

1. Contains instructions for serving Web pages over an HTTPS connection. 2. Contains error response messages that can be modified for all virtual hosts. 3. This global configurations file applies to all virtual hosts. 4. Contains configuration files that are created automatically during startup when the /usr/sbin/rcapache2 start command is issued. 5. Contains general configuration options for controlling Apache's performance. 6. Used to associate Apache with IP addresses and ports. 7. The main Apache configuration file. 8. Defines the character sets for each language. 9. Defines which user and group ID Apache runs.

1. ssl-global.conf 2. errors.conf 3. default-server.conf 4. sysconfig.d/ 5. server-tuning.conf 6. listen.conf 7. httpd.conf 8. charset.conv 9. uid.conf

What is the maximum number of characters that can be used in a NetBIOS name?

15

Port ____ is a well-known port used by the Web server (HTTP).

80

Which markup tags are considered the container holding all your HTML code?

<html> and </html>

What kind of servers resolve fully qualified domain names to IP addresses for a certain namespace on the Internet?

DNS

Select the SQL statement below that can be used to delete a database:

DROP DATABASE

____ processes refer to child processes that have spawned while the server is running.

Forked

What does the smbclient -L windows01 command do?

It lists available shares on the windows01 host.

Windows clients access shares through the ____.

Network window

The Apache daemon listens for HTTP requests on what port by default?

TCP 80

By default, the smb.conf file shares all printers and home directories for recognized Windows users.

True

Samba is an open-source tool developed under the GNU General Public License.

True

The Very Secure FTP daemon is a stand-alone daemon.

True

The email command is an example of a Mail User Agent (MUA).​

True

To access the Samba server from a Windows machine, you must have a Samba user account that matches a regular Linux user account.

True

You can choose the network interface and ports on which Apache listens.

True

How can you bypass the default option to prompt for a password when using the smbclient command?

You can use the smbclient command -N option.

Which section of the Samba configuration file is mandatory?

[global]

Which command below can be used at a BASH command prompt to obtain a web page?

curl

An Apache Web server's ____ host is the first declared virtual host in the configuration file.

default

Samba handles authentication and authorization of users in both Linux and Windows by using passwords and ____.

domains

To use the smbpasswd password file with newer Windows versions, you have to enable encrypted passwords by modifying the smb.conf file to include the global parameter ____.

encrypt passwords = yes

The ____ file is the main Web page that's served by Apache.

index.html

What ftp command uploads the filename from the current directory on the local computer to the current directory on the remote computer, and allows the use of wildcard metacharacters to specify the filename.

mput filename

What PostgreSQL command-line utility backs up PostgreSQL database settings?

pg_dump

What two FTP commands below can be used to close the ftp utility?​

quit bye

A ____ host makes it possible to run multiple domains on one physical machine.

virtual

What two resource record types map FQDNs to IPv4 and IPv6 addresses respectively?​

​AAAA A

1. Samba configuration global setting whereby setting this value to zero disables rescanning for new or removed printers. 2. Samba configuration global setting that defines the directory where roaming profiles are stored. 3. Samba configuration global setting that is used only by NT workstations and defines the local path the home directory is connected to. 4. Samba configuration global setting that is used to include one configuration file inside another. 5. Samba configuration global setting used to override the printcap name. 6. Samba configuration global setting that defines how printer status information is interpreted. 7. Samba configuration global setting that defines the home directory location for Windows 95/98 or NT Workstation users logging in to a Samba primary domain controller. 8. Samba configuration global setting that specifies whether user-defined shares can be accessed by unauthenticated users. 9. Samba configuration global setting that specifies what the Samba server daemon does with user login requests that don't match a valid UNIX user in some way.3.7.

1. printcap cache time 2. logon path 3. logon drive 4. include 5. printcap name 6. printing 7. logon home 8. usershare allow guests 9. map to guest

____ provides a means of sharing files on a server.

SMB

What is NFS? How do you access files using a configured NFS Server?

Network File System (NFS) allows UNIX, Linux, and Macintosh OS X computers to share files transparently. In NFS, one computer shares (or exports) a directory in the directory tree by placing the name of that directory in the /etc/exports file. The other computer can then access that directory across the network by using the mount command to mount the remote directory on the local computer. To access files using NFS, you mount a directory from a remote NFS server on the network to a directory on your local computer. That is, you specify the NFS filesystem type, server name or IP address, remote directory, and local directory as arguments to the mount command. After running the mount command, you can use the /mnt directory as any other local directory, with all file operations performed in the /var directory on the remote computer. You can then dismount the NFS filesystem using the umount command.

If you want to share information from a Linux machine to a Windows machine, you use ____.

Samba

Which default setting for a Web server in Apache defines the URL that users enter to reach your Web page?

Server Name

You can use the ____ directive to define multiple names for a virtual host.

ServerAlias


Conjuntos de estudio relacionados

Lesson 1: X-ray Production And Safety

View Set

HA - PrepU - Ch. 29 - Hospitalized Adult Assessment

View Set

Spanish Countries Geography Facts

View Set

NURS 345 Family Centered Care Test 1

View Set

PHARM chapter 11 Integumentary system Medications

View Set

Med-Surg Endocrine Disorders EAQs

View Set

Macroecon Chap 16: Fiscal vs Monetary

View Set